| java.lang.Object org.apache.xerces.dom.NodeImpl org.apache.xerces.dom.ChildNode org.apache.xerces.dom.ParentNode org.apache.xerces.dom.CoreDocumentImpl org.apache.xerces.dom.DocumentImpl
All known Subclasses: org.apache.xerces.dom.PSVIDocumentImpl, org.apache.wml.dom.WMLDocumentImpl, org.apache.xerces.dom.DeferredDocumentImpl, org.apache.html.dom.HTMLDocumentImpl,
DocumentImpl | public class DocumentImpl extends CoreDocumentImpl implements DocumentTraversal,DocumentEvent,DocumentRange(Code) | | The Document interface represents the entire HTML or XML document.
Conceptually, it is the root of the document tree, and provides the
primary access to the document's data.
Since elements, text nodes, comments, processing instructions,
etc. cannot exist outside the context of a Document, the Document
interface also contains the factory methods needed to create these
objects. The Node objects created have a ownerDocument attribute
which associates them with the Document within whose context they
were created.
The DocumentImpl class also implements the DOM Level 2 DocumentTraversal
interface. This interface is comprised of factory methods needed to
create NodeIterators and TreeWalkers. The process of creating NodeIterator
objects also adds these references to this document.
After finishing with an iterator it is important to remove the object
using the remove methods in this implementation. This allows the release of
the references from the iterator objects to the DOM Nodes.
Note: When any node in the document is serialized, the
entire document is serialized along with it.
author: Arnaud Le Hors, IBM author: Joe Kesselman, IBM author: Andy Clark, IBM author: Ralf Pfeiffer, IBM version: $Id: DocumentImpl.java 542096 2007-05-28 03:18:11Z mrglavas $ since: PR-DOM-Level-1-19980818. |
Constructor Summary | |
public | DocumentImpl() NON-DOM: Actually creating a Document is outside the DOM's spec,
since it has to operate in terms of a particular implementation. | public | DocumentImpl(boolean grammarAccess) Constructor. | public | DocumentImpl(DocumentType doctype) For DOM2 support. | public | DocumentImpl(DocumentType doctype, boolean grammarAccess) For DOM2 support. |
Method Summary | |
protected void | addEventListener(NodeImpl node, String type, EventListener listener, boolean useCapture) Introduced in DOM Level 2. | public Node | cloneNode(boolean deep) Deep-clone a document, including fixing ownerDoc for the cloned
children. | protected void | copyEventListeners(NodeImpl src, NodeImpl tgt) | public Event | createEvent(String type) Introduced in DOM Level 2. | public NodeIterator | createNodeIterator(Node root, short whatToShow, NodeFilter filter) NON-DOM extension:
Create and return a NodeIterator. | public NodeIterator | createNodeIterator(Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion) Create and return a NodeIterator. | public Range | createRange() | public TreeWalker | createTreeWalker(Node root, short whatToShow, NodeFilter filter) NON-DOM extension:
Create and return a TreeWalker.
Parameters: root - The root of the iterator. Parameters: whatToShow - The whatToShow mask. Parameters: filter - The NodeFilter installed. | public TreeWalker | createTreeWalker(Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion) Create and return a TreeWalker.
Parameters: root - The root of the iterator. Parameters: whatToShow - The whatToShow mask. Parameters: filter - The NodeFilter installed. | void | deletedText(CharacterDataImpl node, int offset, int count) A method to be called when some text was deleted from a text node,
so that live objects can be notified. | protected void | dispatchAggregateEvents(NodeImpl node, EnclosingAttr ea) NON-DOM INTERNAL: Convenience wrapper for calling
dispatchAggregateEvents when the context was established
by savedEnclosingAttr . | protected void | dispatchAggregateEvents(NodeImpl node, AttrImpl enclosingAttr, String oldvalue, short change) NON-DOM INTERNAL: Generate the "aggregated" post-mutation events
DOMAttrModified and DOMSubtreeModified.
Both of these should be issued only once for each user-requested
mutation operation, even if that involves multiple changes to
the DOM.
For example, if a DOM operation makes multiple changes to a single
Attr before returning, it would be nice to generate only one
DOMAttrModified, and multiple changes over larger scope but within
a recognizable single subtree might want to generate only one
DOMSubtreeModified, sent to their lowest common ancestor. | protected boolean | dispatchEvent(NodeImpl node, Event event) Introduced in DOM Level 2. | protected void | dispatchEventToSubtree(Node n, Event e) NON-DOM INTERNAL: DOMNodeInsertedIntoDocument and ...RemovedFrom...
are dispatched to an entire subtree. | protected void | dispatchingEventToSubtree(Node n, Event e) | protected Vector | getEventListeners(NodeImpl n) | public DOMImplementation | getImplementation() Retrieve information describing the abilities of this particular
DOM implementation. | boolean | getMutationEvents() Returns true if the DOM implementation generates mutation events. | void | insertedNode(NodeImpl node, NodeImpl newInternal, boolean replace) A method to be called when a node has been inserted in the tree. | void | insertedText(CharacterDataImpl node, int offset, int count) A method to be called when some text was inserted into a text node,
so that live objects can be notified. | void | insertingNode(NodeImpl node, boolean replace) A method to be called when a node is about to be inserted in the tree. | void | modifiedAttrValue(AttrImpl attr, String oldvalue) | void | modifiedCharacterData(NodeImpl node, String oldvalue, String value, boolean replace) | void | modifyingCharacterData(NodeImpl node, boolean replace) | protected void | removeEventListener(NodeImpl node, String type, EventListener listener, boolean useCapture) Introduced in DOM Level 2. | void | removeNodeIterator(NodeIterator nodeIterator) This is not called by the developer client. | void | removeRange(Range range) Not a client function. | void | removedAttrNode(AttrImpl attr, NodeImpl oldOwner, String name) | void | removedNode(NodeImpl node, boolean replace) A method to be called when a node has been removed from the tree. | void | removingNode(NodeImpl node, NodeImpl oldChild, boolean replace) A method to be called when a node is about to be removed from the tree. | void | renamedAttrNode(Attr oldAt, Attr newAt) | void | renamedElement(Element oldEl, Element newEl) | void | replacedCharacterData(NodeImpl node, String oldvalue, String value) | void | replacedNode(NodeImpl node) A method to be called when a node has been replaced in the tree. | void | replacedText(CharacterDataImpl node) A method to be called when some text was changed in a text node,
so that live objects can be notified. | void | replacingData(NodeImpl node) A method to be called when character data is about to be replaced in the tree. | void | replacingNode(NodeImpl node) A method to be called when a node is about to be replaced in the tree. | protected void | saveEnclosingAttr(NodeImpl node) NON-DOM INTERNAL: Pre-mutation context check, in
preparation for later generating DOMAttrModified events. | void | setAttrNode(AttrImpl attr, AttrImpl previous) | protected void | setEventListeners(NodeImpl n, Vector listeners) Store event listener registered on a given node
This is another place where we could use weak references! Indeed, the
node here won't be GC'ed as long as some listener is registered on it,
since the eventsListeners table will have a reference to the node. | void | setMutationEvents(boolean set) Sets whether the DOM implementation generates mutation events
upon operations. | void | splitData(Node node, Node newNode, int offset) A method to be called when a text node has been split,
so that live objects can be notified. |
eventListeners | protected Hashtable eventListeners(Code) | | Table for event listeners registered to this document nodes.
|
mutationEvents | protected boolean mutationEvents(Code) | | Bypass mutation events firing.
|
savedEnclosingAttr | EnclosingAttr savedEnclosingAttr(Code) | | |
serialVersionUID | final static long serialVersionUID(Code) | | Serialization version.
|
DocumentImpl | public DocumentImpl()(Code) | | NON-DOM: Actually creating a Document is outside the DOM's spec,
since it has to operate in terms of a particular implementation.
|
DocumentImpl | public DocumentImpl(boolean grammarAccess)(Code) | | Constructor.
|
DocumentImpl | public DocumentImpl(DocumentType doctype)(Code) | | For DOM2 support.
The createDocument factory method is in DOMImplementation.
|
DocumentImpl | public DocumentImpl(DocumentType doctype, boolean grammarAccess)(Code) | | For DOM2 support.
|
addEventListener | protected void addEventListener(NodeImpl node, String type, EventListener listener, boolean useCapture)(Code) | | Introduced in DOM Level 2. Register an event listener with this
Node. A listener may be independently registered as both Capturing and
Bubbling, but may only be registered once per role; redundant
registrations are ignored.
Parameters: node - node to add listener to Parameters: type - Event name (NOT event group!) to listen for. Parameters: listener - Who gets called when event is dispatched Parameters: useCapture - True iff listener is registered oncapturing phase rather than at-target or bubbling |
cloneNode | public Node cloneNode(boolean deep)(Code) | | Deep-clone a document, including fixing ownerDoc for the cloned
children. Note that this requires bypassing the WRONG_DOCUMENT_ERR
protection. I've chosen to implement it by calling importNode
which is DOM Level 2.
org.w3c.dom.Node Parameters: deep - boolean, iff true replicate children |
createEvent | public Event createEvent(String type) throws DOMException(Code) | | Introduced in DOM Level 2. Optional.
Create and return Event objects.
Parameters: type - The eventType parameter specifies the type of Eventinterface to be created. If the Event interface specified is supportedby the implementation this method will return a new Event of theinterface type requested. If the Event is to be dispatched via thedispatchEvent method the appropriate event init method must be calledafter creation in order to initialize the Event's values. As anexample, a user wishing to synthesize some kind of Event would callcreateEvent with the parameter "Events". The initEvent method could thenbe called on the newly created Event to set the specific type of Eventto be dispatched and set its context information. Newly created Event exception: DOMException - NOT_SUPPORTED_ERR: Raised if the implementationdoes not support the type of Event interface requested since: WD-DOM-Level-2-19990923 |
createNodeIterator | public NodeIterator createNodeIterator(Node root, short whatToShow, NodeFilter filter)(Code) | | NON-DOM extension:
Create and return a NodeIterator. The NodeIterator is
added to a list of NodeIterators so that it can be
removed to free up the DOM Nodes it references.
Parameters: root - The root of the iterator. Parameters: whatToShow - The whatToShow mask. Parameters: filter - The NodeFilter installed. Null means no filter. |
createNodeIterator | public NodeIterator createNodeIterator(Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion)(Code) | | Create and return a NodeIterator. The NodeIterator is
added to a list of NodeIterators so that it can be
removed to free up the DOM Nodes it references.
Parameters: root - The root of the iterator. Parameters: whatToShow - The whatToShow mask. Parameters: filter - The NodeFilter installed. Null means no filter. Parameters: entityReferenceExpansion - true to expand the contents ofEntityReference nodes since: WD-DOM-Level-2-19990923 |
createTreeWalker | public TreeWalker createTreeWalker(Node root, short whatToShow, NodeFilter filter)(Code) | | NON-DOM extension:
Create and return a TreeWalker.
Parameters: root - The root of the iterator. Parameters: whatToShow - The whatToShow mask. Parameters: filter - The NodeFilter installed. Null means no filter. |
createTreeWalker | public TreeWalker createTreeWalker(Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion)(Code) | | Create and return a TreeWalker.
Parameters: root - The root of the iterator. Parameters: whatToShow - The whatToShow mask. Parameters: filter - The NodeFilter installed. Null means no filter. Parameters: entityReferenceExpansion - true to expand the contents ofEntityReference nodes since: WD-DOM-Level-2-19990923 |
deletedText | void deletedText(CharacterDataImpl node, int offset, int count)(Code) | | A method to be called when some text was deleted from a text node,
so that live objects can be notified.
|
dispatchAggregateEvents | protected void dispatchAggregateEvents(NodeImpl node, EnclosingAttr ea)(Code) | | NON-DOM INTERNAL: Convenience wrapper for calling
dispatchAggregateEvents when the context was established
by savedEnclosingAttr .
Parameters: node - node to dispatch to Parameters: ea - description of Attr affected by current operation |
dispatchAggregateEvents | protected void dispatchAggregateEvents(NodeImpl node, AttrImpl enclosingAttr, String oldvalue, short change)(Code) | | NON-DOM INTERNAL: Generate the "aggregated" post-mutation events
DOMAttrModified and DOMSubtreeModified.
Both of these should be issued only once for each user-requested
mutation operation, even if that involves multiple changes to
the DOM.
For example, if a DOM operation makes multiple changes to a single
Attr before returning, it would be nice to generate only one
DOMAttrModified, and multiple changes over larger scope but within
a recognizable single subtree might want to generate only one
DOMSubtreeModified, sent to their lowest common ancestor.
To manage this, use the "internal" versions of insert and remove
with MUTATION_LOCAL, then make an explicit call to this routine
at the higher level. Some examples now exist in our code.
Parameters: node - The node to dispatch to Parameters: enclosingAttr - The Attr node (if any) whose value has been changedas a result of the DOM operation. Null if none such. Parameters: oldvalue - The String value previously held by theenclosingAttr. Ignored if none such. Parameters: change - Type of modification to the attr. SeeMutationEvent.attrChange |
dispatchEvent | protected boolean dispatchEvent(NodeImpl node, Event event)(Code) | | Introduced in DOM Level 2.
Distribution engine for DOM Level 2 Events.
Event propagation runs as follows:
- Event is dispatched to a particular target node, which invokes
this code. Note that the event's stopPropagation flag is
cleared when dispatch begins; thereafter, if it has
been set before processing of a node commences, we instead
immediately advance to the DEFAULT phase.
- The node's ancestors are established as destinations for events.
For capture and bubble purposes, node ancestry is determined at
the time dispatch starts. If an event handler alters the document
tree, that does not change which nodes will be informed of the event.
- CAPTURING_PHASE: Ancestors are scanned, root to target, for
Capturing listeners. If found, they are invoked (see below).
- AT_TARGET:
Event is dispatched to NON-CAPTURING listeners on the
target node. Note that capturing listeners on this node are _not_
invoked.
- BUBBLING_PHASE: Ancestors are scanned, target to root, for
non-capturing listeners.
- Default processing: Some DOMs have default behaviors bound to
specific nodes. If this DOM does, and if the event's preventDefault
flag has not been set, we now return to the target node and process
its default handler for this event, if any.
Note that registration of handlers during processing of an event does
not take effect during this phase of this event; they will not be called
until the next time this node is visited by dispatchEvent. On the other
hand, removals take effect immediately.
If an event handler itself causes events to be dispatched, they are
processed synchronously, before processing resumes
on the event which triggered them. Please be aware that this may
result in events arriving at listeners "out of order" relative
to the actual sequence of requests.
Note that our implementation resets the event's stop/prevent flags
when dispatch begins.
I believe the DOM's intent is that event objects be redispatchable,
though it isn't stated in those terms.
Parameters: node - node to dispatch to Parameters: event - the event object to be dispatched to registered EventListeners true if the event's preventDefault() method was invoked by an EventListener; otherwise false. |
dispatchEventToSubtree | protected void dispatchEventToSubtree(Node n, Event e)(Code) | | NON-DOM INTERNAL: DOMNodeInsertedIntoDocument and ...RemovedFrom...
are dispatched to an entire subtree. This is the distribution code
therefor. They DO NOT bubble, thanks be, but may be captured.
Similar to code in dispatchingEventToSubtree however this method
is only used on the target node and does not start a dispatching chain
on the sibling of the target node as this is not part of the subtree
At the moment I'm being sloppy and using the normal
capture dispatcher on every node. This could be optimized hugely
by writing a capture engine that tracks our position in the tree to
update the capture chain without repeated chases up to root.
Parameters: n - target node (that was directly inserted or removed) Parameters: e - event to be sent to that node and its subtree |
dispatchingEventToSubtree | protected void dispatchingEventToSubtree(Node n, Event e)(Code) | | Dispatches event to the target node's descendents recursively
Parameters: n - node to dispatch to Parameters: e - event to be sent to that node and its subtree |
getEventListeners | protected Vector getEventListeners(NodeImpl n)(Code) | | Retreive event listener registered on a given node
|
getImplementation | public DOMImplementation getImplementation()(Code) | | Retrieve information describing the abilities of this particular
DOM implementation. Intended to support applications that may be
using DOMs retrieved from several different sources, potentially
with different underlying representations.
|
getMutationEvents | boolean getMutationEvents()(Code) | | Returns true if the DOM implementation generates mutation events.
|
insertedNode | void insertedNode(NodeImpl node, NodeImpl newInternal, boolean replace)(Code) | | A method to be called when a node has been inserted in the tree.
|
insertedText | void insertedText(CharacterDataImpl node, int offset, int count)(Code) | | A method to be called when some text was inserted into a text node,
so that live objects can be notified.
|
insertingNode | void insertingNode(NodeImpl node, boolean replace)(Code) | | A method to be called when a node is about to be inserted in the tree.
|
modifiedAttrValue | void modifiedAttrValue(AttrImpl attr, String oldvalue)(Code) | | A method to be called when an attribute value has been modified
|
modifiedCharacterData | void modifiedCharacterData(NodeImpl node, String oldvalue, String value, boolean replace)(Code) | | A method to be called when a character data node has been modified
|
modifyingCharacterData | void modifyingCharacterData(NodeImpl node, boolean replace)(Code) | | A method to be called when a character data node has been modified
|
removeEventListener | protected void removeEventListener(NodeImpl node, String type, EventListener listener, boolean useCapture)(Code) | | Introduced in DOM Level 2. Deregister an event listener previously
registered with this Node. A listener must be independently removed
from the Capturing and Bubbling roles. Redundant removals (of listeners
not currently registered for this role) are ignored.
Parameters: node - node to remove listener from Parameters: type - Event name (NOT event group!) to listen for. Parameters: listener - Who gets called when event is dispatched Parameters: useCapture - True iff listener is registered oncapturing phase rather than at-target or bubbling |
removeNodeIterator | void removeNodeIterator(NodeIterator nodeIterator)(Code) | | This is not called by the developer client. The
developer client uses the detach() function on the
NodeIterator itself.
This function is called from the NodeIterator#detach().
|
removeRange | void removeRange(Range range)(Code) | | Not a client function. Called by Range.detach(),
so a Range can remove itself from the list of
Ranges.
|
removedAttrNode | void removedAttrNode(AttrImpl attr, NodeImpl oldOwner, String name)(Code) | | A method to be called when an attribute node has been removed
|
removedNode | void removedNode(NodeImpl node, boolean replace)(Code) | | A method to be called when a node has been removed from the tree.
|
removingNode | void removingNode(NodeImpl node, NodeImpl oldChild, boolean replace)(Code) | | A method to be called when a node is about to be removed from the tree.
|
renamedAttrNode | void renamedAttrNode(Attr oldAt, Attr newAt)(Code) | | A method to be called when an attribute node has been renamed
|
renamedElement | void renamedElement(Element oldEl, Element newEl)(Code) | | A method to be called when an element has been renamed
|
replacedCharacterData | void replacedCharacterData(NodeImpl node, String oldvalue, String value)(Code) | | A method to be called when a character data node has been replaced
|
replacedNode | void replacedNode(NodeImpl node)(Code) | | A method to be called when a node has been replaced in the tree.
|
replacedText | void replacedText(CharacterDataImpl node)(Code) | | A method to be called when some text was changed in a text node,
so that live objects can be notified.
|
replacingData | void replacingData(NodeImpl node)(Code) | | A method to be called when character data is about to be replaced in the tree.
|
replacingNode | void replacingNode(NodeImpl node)(Code) | | A method to be called when a node is about to be replaced in the tree.
|
saveEnclosingAttr | protected void saveEnclosingAttr(NodeImpl node)(Code) | | NON-DOM INTERNAL: Pre-mutation context check, in
preparation for later generating DOMAttrModified events.
Determines whether this node is within an Attr
Parameters: node - node to get enclosing attribute for |
setAttrNode | void setAttrNode(AttrImpl attr, AttrImpl previous)(Code) | | A method to be called when an attribute node has been set
|
setEventListeners | protected void setEventListeners(NodeImpl n, Vector listeners)(Code) | | Store event listener registered on a given node
This is another place where we could use weak references! Indeed, the
node here won't be GC'ed as long as some listener is registered on it,
since the eventsListeners table will have a reference to the node.
|
setMutationEvents | void setMutationEvents(boolean set)(Code) | | Sets whether the DOM implementation generates mutation events
upon operations.
|
splitData | void splitData(Node node, Node newNode, int offset)(Code) | | A method to be called when a text node has been split,
so that live objects can be notified.
|
Methods inherited from org.apache.xerces.dom.CoreDocumentImpl | public void abort()(Code)(Java Doc) protected void addEventListener(NodeImpl node, String type, EventListener listener, boolean useCapture)(Code)(Java Doc) public Node adoptNode(Node source)(Code)(Java Doc) protected void callUserDataHandlers(Node n, Node c, short operation)(Code)(Java Doc) void callUserDataHandlers(Node n, Node c, short operation, Hashtable userData)(Code)(Java Doc) protected void changed()(Code)(Java Doc) protected int changes()(Code)(Java Doc) final protected void checkDOMNSErr(String prefix, String namespace)(Code)(Java Doc) final protected void checkNamespaceWF(String qname, int colon1, int colon2)(Code)(Java Doc) final protected void checkQName(String prefix, String local)(Code)(Java Doc) final protected void clearIdentifiers()(Code)(Java Doc) public Object clone() throws CloneNotSupportedException(Code)(Java Doc) public Node cloneNode(boolean deep)(Code)(Java Doc) protected void cloneNode(CoreDocumentImpl newdoc, boolean deep)(Code)(Java Doc) protected void copyEventListeners(NodeImpl src, NodeImpl tgt)(Code)(Java Doc) public Attr createAttribute(String name) throws DOMException(Code)(Java Doc) public Attr createAttributeNS(String namespaceURI, String qualifiedName) throws DOMException(Code)(Java Doc) public Attr createAttributeNS(String namespaceURI, String qualifiedName, String localpart) throws DOMException(Code)(Java Doc) public CDATASection createCDATASection(String data) throws DOMException(Code)(Java Doc) public Comment createComment(String data)(Code)(Java Doc) public DocumentFragment createDocumentFragment()(Code)(Java Doc) public DocumentType createDocumentType(String qualifiedName, String publicID, String systemID) throws DOMException(Code)(Java Doc) public Element createElement(String tagName) throws DOMException(Code)(Java Doc) public ElementDefinitionImpl createElementDefinition(String name) throws DOMException(Code)(Java Doc) public Element createElementNS(String namespaceURI, String qualifiedName) throws DOMException(Code)(Java Doc) public Element createElementNS(String namespaceURI, String qualifiedName, String localpart) throws DOMException(Code)(Java Doc) public Entity createEntity(String name) throws DOMException(Code)(Java Doc) public EntityReference createEntityReference(String name) throws DOMException(Code)(Java Doc) public Notation createNotation(String name) throws DOMException(Code)(Java Doc) public ProcessingInstruction createProcessingInstruction(String target, String data) throws DOMException(Code)(Java Doc) public Text createTextNode(String data)(Code)(Java Doc) void deletedText(CharacterDataImpl node, int offset, int count)(Code)(Java Doc) protected boolean dispatchEvent(NodeImpl node, Event event)(Code)(Java Doc) void freeNodeListCache(NodeListCache c)(Code)(Java Doc) public boolean getAsync()(Code)(Java Doc) public String getBaseURI()(Code)(Java Doc) public DocumentType getDoctype()(Code)(Java Doc) public Element getDocumentElement()(Code)(Java Doc) public String getDocumentURI()(Code)(Java Doc) public DOMConfiguration getDomConfig()(Code)(Java Doc) public Element getElementById(String elementId)(Code)(Java Doc) public NodeList getElementsByTagName(String tagname)(Code)(Java Doc) public NodeList getElementsByTagNameNS(String namespaceURI, String localName)(Code)(Java Doc) public String getEncoding()(Code)(Java Doc) public boolean getErrorChecking()(Code)(Java Doc) public Object getFeature(String feature, String version)(Code)(Java Doc) public Element getIdentifier(String idName)(Code)(Java Doc) public Enumeration getIdentifiers()(Code)(Java Doc) public DOMImplementation getImplementation()(Code)(Java Doc) public String getInputEncoding()(Code)(Java Doc) boolean getMutationEvents()(Code)(Java Doc) NodeListCache getNodeListCache(ParentNode owner)(Code)(Java Doc) public String getNodeName()(Code)(Java Doc) protected int getNodeNumber()(Code)(Java Doc) protected int getNodeNumber(Node node)(Code)(Java Doc) public short getNodeType()(Code)(Java Doc) final public Document getOwnerDocument()(Code)(Java Doc) public boolean getStandalone()(Code)(Java Doc) public boolean getStrictErrorChecking()(Code)(Java Doc) public String getTextContent() throws DOMException(Code)(Java Doc) public Object getUserData(Node n, String key)(Code)(Java Doc) protected Object getUserData(NodeImpl n)(Code)(Java Doc) protected Hashtable getUserDataRecord(Node n)(Code)(Java Doc) public String getVersion()(Code)(Java Doc) public String getXmlEncoding()(Code)(Java Doc) public boolean getXmlStandalone()(Code)(Java Doc) public String getXmlVersion()(Code)(Java Doc) public Node importNode(Node source, boolean deep) throws DOMException(Code)(Java Doc) public Node insertBefore(Node newChild, Node refChild) throws DOMException(Code)(Java Doc) void insertedNode(NodeImpl node, NodeImpl newInternal, boolean replace)(Code)(Java Doc) void insertedText(CharacterDataImpl node, int offset, int count)(Code)(Java Doc) void insertingNode(NodeImpl node, boolean replace)(Code)(Java Doc) protected boolean isKidOK(Node parent, Node child)(Code)(Java Doc) boolean isNormalizeDocRequired()(Code)(Java Doc) final public static boolean isValidQName(String prefix, String local, boolean xml11Version)(Code)(Java Doc) boolean isXML11Version()(Code)(Java Doc) final public static boolean isXMLName(String s, boolean xml11Version)(Code)(Java Doc) boolean isXMLVersionChanged()(Code)(Java Doc) public boolean load(String uri)(Code)(Java Doc) public boolean loadXML(String source)(Code)(Java Doc) void modifiedAttrValue(AttrImpl attr, String oldvalue)(Code)(Java Doc) void modifiedCharacterData(NodeImpl node, String oldvalue, String value, boolean replace)(Code)(Java Doc) void modifyingCharacterData(NodeImpl node, boolean replace)(Code)(Java Doc) public void normalizeDocument()(Code)(Java Doc) public void putIdentifier(String idName, Element element)(Code)(Java Doc) public Node removeChild(Node oldChild) throws DOMException(Code)(Java Doc) protected void removeEventListener(NodeImpl node, String type, EventListener listener, boolean useCapture)(Code)(Java Doc) public void removeIdentifier(String idName)(Code)(Java Doc) Hashtable removeUserDataTable(Node n)(Code)(Java Doc) void removedAttrNode(AttrImpl attr, NodeImpl oldOwner, String name)(Code)(Java Doc) void removedNode(NodeImpl node, boolean replace)(Code)(Java Doc) void removingNode(NodeImpl node, NodeImpl oldChild, boolean replace)(Code)(Java Doc) public Node renameNode(Node n, String namespaceURI, String name) throws DOMException(Code)(Java Doc) void renamedAttrNode(Attr oldAt, Attr newAt)(Code)(Java Doc) void renamedElement(Element oldEl, Element newEl)(Code)(Java Doc) public Node replaceChild(Node newChild, Node oldChild) throws DOMException(Code)(Java Doc) void replacedCharacterData(NodeImpl node, String oldvalue, String value)(Code)(Java Doc) void replacedNode(NodeImpl node)(Code)(Java Doc) void replacedText(CharacterDataImpl node)(Code)(Java Doc) void replacingData(NodeImpl node)(Code)(Java Doc) void replacingNode(NodeImpl node)(Code)(Java Doc) public String saveXML(Node node) throws DOMException(Code)(Java Doc) public void setAsync(boolean async)(Code)(Java Doc) void setAttrNode(AttrImpl attr, AttrImpl previous)(Code)(Java Doc) public void setDocumentURI(String documentURI)(Code)(Java Doc) public void setEncoding(String value)(Code)(Java Doc) public void setErrorChecking(boolean check)(Code)(Java Doc) public void setInputEncoding(String value)(Code)(Java Doc) void setMutationEvents(boolean set)(Code)(Java Doc) public void setStandalone(boolean value)(Code)(Java Doc) public void setStrictErrorChecking(boolean check)(Code)(Java Doc) public void setTextContent(String textContent) throws DOMException(Code)(Java Doc) public Object setUserData(Node n, String key, Object data, UserDataHandler handler)(Code)(Java Doc) protected void setUserData(NodeImpl n, Object data)(Code)(Java Doc) void setUserDataTable(Node n, Hashtable data)(Code)(Java Doc) public void setVersion(String value)(Code)(Java Doc) public void setXmlEncoding(String value)(Code)(Java Doc) public void setXmlStandalone(boolean value) throws DOMException(Code)(Java Doc) public void setXmlVersion(String value)(Code)(Java Doc) protected void undeferChildren(Node node)(Code)(Java Doc)
|
Methods inherited from org.apache.xerces.dom.NodeImpl | public void addEventListener(String type, EventListener listener, boolean useCapture)(Code)(Java Doc) public Node appendChild(Node newChild) throws DOMException(Code)(Java Doc) protected void changed()(Code)(Java Doc) protected int changes()(Code)(Java Doc) public Node cloneNode(boolean deep)(Code)(Java Doc) public short compareDocumentPosition(Node other) throws DOMException(Code)(Java Doc) public short compareTreePosition(Node other)(Code)(Java Doc) public boolean dispatchEvent(Event event)(Code)(Java Doc) public NamedNodeMap getAttributes()(Code)(Java Doc) public String getBaseURI()(Code)(Java Doc) public NodeList getChildNodes()(Code)(Java Doc) protected Node getContainer()(Code)(Java Doc) Node getElementAncestor(Node currentNode)(Code)(Java Doc) public Object getFeature(String feature, String version)(Code)(Java Doc) public Node getFirstChild()(Code)(Java Doc) public Node getLastChild()(Code)(Java Doc) public int getLength()(Code)(Java Doc) public String getLocalName()(Code)(Java Doc) public String getNamespaceURI()(Code)(Java Doc) public Node getNextSibling()(Code)(Java Doc) abstract public String getNodeName()(Code)(Java Doc) protected int getNodeNumber()(Code)(Java Doc) abstract public short getNodeType()(Code)(Java Doc) public String getNodeValue() throws DOMException(Code)(Java Doc) public Document getOwnerDocument()(Code)(Java Doc) public Node getParentNode()(Code)(Java Doc) public String getPrefix()(Code)(Java Doc) public Node getPreviousSibling()(Code)(Java Doc) public boolean getReadOnly()(Code)(Java Doc) public String getTextContent() throws DOMException(Code)(Java Doc) void getTextContent(StringBuffer buf) throws DOMException(Code)(Java Doc) public Object getUserData(String key)(Code)(Java Doc) public Object getUserData()(Code)(Java Doc) protected Hashtable getUserDataRecord()(Code)(Java Doc) public boolean hasAttributes()(Code)(Java Doc) public boolean hasChildNodes()(Code)(Java Doc) final boolean hasStringValue()(Code)(Java Doc) final void hasStringValue(boolean value)(Code)(Java Doc) public Node insertBefore(Node newChild, Node refChild) throws DOMException(Code)(Java Doc) final boolean internalIsIgnorableWhitespace()(Code)(Java Doc) public boolean isDefaultNamespace(String namespaceURI)(Code)(Java Doc) public boolean isEqualNode(Node arg)(Code)(Java Doc) final boolean isFirstChild()(Code)(Java Doc) final void isFirstChild(boolean value)(Code)(Java Doc) final boolean isIdAttribute()(Code)(Java Doc) final void isIdAttribute(boolean value)(Code)(Java Doc) final void isIgnorableWhitespace(boolean value)(Code)(Java Doc) final boolean isNormalized()(Code)(Java Doc) final void isNormalized(boolean value)(Code)(Java Doc) final boolean isOwned()(Code)(Java Doc) final void isOwned(boolean value)(Code)(Java Doc) final boolean isReadOnly()(Code)(Java Doc) final void isReadOnly(boolean value)(Code)(Java Doc) public boolean isSameNode(Node other)(Code)(Java Doc) final boolean isSpecified()(Code)(Java Doc) final void isSpecified(boolean value)(Code)(Java Doc) public boolean isSupported(String feature, String version)(Code)(Java Doc) public Node item(int index)(Code)(Java Doc) String lookupNamespacePrefix(String namespaceURI, ElementImpl el)(Code)(Java Doc) public String lookupNamespaceURI(String specifiedPrefix)(Code)(Java Doc) public String lookupPrefix(String namespaceURI)(Code)(Java Doc) final boolean needsSyncChildren()(Code)(Java Doc) final public void needsSyncChildren(boolean value)(Code)(Java Doc) final boolean needsSyncData()(Code)(Java Doc) final void needsSyncData(boolean value)(Code)(Java Doc) public void normalize()(Code)(Java Doc) CoreDocumentImpl ownerDocument()(Code)(Java Doc) NodeImpl parentNode()(Code)(Java Doc) ChildNode previousSibling()(Code)(Java Doc) public Node removeChild(Node oldChild) throws DOMException(Code)(Java Doc) public void removeEventListener(String type, EventListener listener, boolean useCapture)(Code)(Java Doc) public Node replaceChild(Node newChild, Node oldChild) throws DOMException(Code)(Java Doc) public void setNodeValue(String x) throws DOMException(Code)(Java Doc) protected void setOwnerDocument(CoreDocumentImpl doc)(Code)(Java Doc) public void setPrefix(String prefix) throws DOMException(Code)(Java Doc) public void setReadOnly(boolean readOnly, boolean deep)(Code)(Java Doc) public void setTextContent(String textContent) throws DOMException(Code)(Java Doc) public Object setUserData(String key, Object data, UserDataHandler handler)(Code)(Java Doc) public void setUserData(Object data)(Code)(Java Doc) protected void synchronizeData()(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|