org.netbeans.modules.xml.xam.dom
Class DomAccess

java.lang.Object
  extended by org.netbeans.modules.xml.xam.ModelAccess
      extended by org.netbeans.modules.xml.xam.dom.DocumentModelAccess
          extended by org.netbeans.modules.xml.xam.dom.ReadOnlyAccess
              extended by org.netbeans.modules.xml.xam.dom.DomAccess

public class DomAccess
extends ReadOnlyAccess


Nested Class Summary
 
Nested classes/interfaces inherited from class org.netbeans.modules.xml.xam.dom.ReadOnlyAccess
ReadOnlyAccess.Provider
 
Nested classes/interfaces inherited from class org.netbeans.modules.xml.xam.dom.DocumentModelAccess
DocumentModelAccess.NodeUpdater
 
Field Summary
(package private)  AbstractDocumentModel model
           
 
Constructor Summary
DomAccess(AbstractDocumentModel model)
           
 
Method Summary
 void appendChild(org.w3c.dom.Node node, org.w3c.dom.Node newChild, DocumentModelAccess.NodeUpdater updater)
           
 void insertBefore(org.w3c.dom.Node node, org.w3c.dom.Node newChild, org.w3c.dom.Node refChild, DocumentModelAccess.NodeUpdater updater)
           
 void removeAttribute(org.w3c.dom.Element element, java.lang.String name, DocumentModelAccess.NodeUpdater updater)
           
 void removeChild(org.w3c.dom.Node node, org.w3c.dom.Node child, DocumentModelAccess.NodeUpdater updater)
           
 void setAttribute(org.w3c.dom.Element element, java.lang.String name, java.lang.String value, DocumentModelAccess.NodeUpdater updater)
           
 
Methods inherited from class org.netbeans.modules.xml.xam.dom.ReadOnlyAccess
addMergeEventHandler, addUndoableEditListener, areSameNodes, duplicate, findElement, findNode, findNodes, findPosition, finishUndoRedo, flush, getAttributeMap, getContainingElement, getDocumentRoot, getElementIdentity, getElementIndexOf, getModel, getNewEventNode, getNewEventParentNode, getOldEventNode, getOldEventParentNode, getPathFromRoot, getXmlFragment, getXPath, isXmlnsAttribute, normalizeUndefinedAttributeValue, prepareForUndoRedo, removeMergeEventHandler, removeUndoableEditListener, replaceChild, setPrefix, setText, setXmlFragment, sync
 
Methods inherited from class org.netbeans.modules.xml.xam.dom.DocumentModelAccess
addQNameValuedAttributes, dirtyIntervalMillis, getCurrentDocumentText, getXmlFragmentInclusive, lookupNamespaceURI, removeChildren, reorderChildren, setDirty, unsetDirty
 
Methods inherited from class org.netbeans.modules.xml.xam.ModelAccess
isAutoSync, prepareSync, setAutoSync
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

AbstractDocumentModel model
Constructor Detail

DomAccess

public DomAccess(AbstractDocumentModel model)
Method Detail

setAttribute

public void setAttribute(org.w3c.dom.Element element,
                         java.lang.String name,
                         java.lang.String value,
                         DocumentModelAccess.NodeUpdater updater)
Overrides:
setAttribute in class ReadOnlyAccess

removeAttribute

public void removeAttribute(org.w3c.dom.Element element,
                            java.lang.String name,
                            DocumentModelAccess.NodeUpdater updater)
Overrides:
removeAttribute in class ReadOnlyAccess

removeChild

public void removeChild(org.w3c.dom.Node node,
                        org.w3c.dom.Node child,
                        DocumentModelAccess.NodeUpdater updater)
Overrides:
removeChild in class ReadOnlyAccess

insertBefore

public void insertBefore(org.w3c.dom.Node node,
                         org.w3c.dom.Node newChild,
                         org.w3c.dom.Node refChild,
                         DocumentModelAccess.NodeUpdater updater)
Overrides:
insertBefore in class ReadOnlyAccess

appendChild

public void appendChild(org.w3c.dom.Node node,
                        org.w3c.dom.Node newChild,
                        DocumentModelAccess.NodeUpdater updater)
Overrides:
appendChild in class ReadOnlyAccess