|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.apache.batik.dom.AbstractNode
This class implements the Node interface.
| Field Summary | |
|---|---|
protected static org.w3c.dom.NodeList |
EMPTY_NODE_LIST
An empty instance of NodeList. |
protected EventSupport |
eventSupport
The event support. |
protected AbstractDocument |
ownerDocument
The owner document. |
| Fields inherited from interface org.w3c.dom.Node |
|---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Constructor Summary | |
|---|---|
AbstractNode()
|
|
| Method Summary | |
|---|---|
void |
addEventListener(java.lang.String type,
org.w3c.dom.events.EventListener listener,
boolean useCapture)
DOM: Implements EventTarget#addEventListener(String,EventListener,boolean). |
org.w3c.dom.Node |
appendChild(org.w3c.dom.Node newChild)
DOM: Implements Node.appendChild(Node). |
protected void |
checkChildType(org.w3c.dom.Node n,
boolean replace)
Checks the validity of a node to be inserted. |
org.w3c.dom.Node |
cloneNode(boolean deep)
DOM: Implements Node.cloneNode(boolean). |
protected org.w3c.dom.Node |
copyInto(org.w3c.dom.Node n)
Copy the fields of the current node into the given node. |
org.w3c.dom.DOMException |
createDOMException(short type,
java.lang.String key,
java.lang.Object[] args)
Creates an exception with the appropriate error message. |
protected org.w3c.dom.Node |
deepCopyInto(org.w3c.dom.Node n)
Deeply copy the fields of the current node into the given node. |
protected org.w3c.dom.Node |
deepExport(org.w3c.dom.Node n,
AbstractDocument d)
Deeply exports this node to the given document. |
boolean |
dispatchEvent(org.w3c.dom.events.Event evt)
DOM: Implements EventTarget.dispatchEvent(Event). |
protected org.w3c.dom.Node |
export(org.w3c.dom.Node n,
AbstractDocument d)
Exports this node to the given document. |
protected void |
fireDOMCharacterDataModifiedEvent(java.lang.String oldv,
java.lang.String newv)
Fires a DOMCharacterDataModified event. |
void |
fireDOMNodeInsertedIntoDocumentEvent()
Recursively fires a DOMNodeInsertedIntoDocument event. |
void |
fireDOMNodeRemovedFromDocumentEvent()
Recursively fires a DOMNodeRemovedFromDocument event. |
org.w3c.dom.NamedNodeMap |
getAttributes()
DOM: Implements Node.getAttributes(). |
org.w3c.dom.NodeList |
getChildNodes()
DOM: Implements Node.getChildNodes(). |
protected AbstractDocument |
getCurrentDocument()
Returns the current document. |
EventSupport |
getEventSupport()
Returns the event support instance for this node, or null if any. |
org.w3c.dom.Node |
getFirstChild()
DOM: Implements Node.getFirstChild(). |
org.w3c.dom.Node |
getLastChild()
DOM: Implements Node.getLastChild(). |
java.lang.String |
getLocalName()
DOM: Implements Node.getLocalName(). |
java.lang.String |
getNamespaceURI()
DOM: Implements Node.getNamespaceURI(). |
org.w3c.dom.Node |
getNextSibling()
DOM: Implements Node.getNextSibling(). |
java.lang.String |
getNodeValue()
DOM: Implements Node.getNodeValue(). |
org.w3c.dom.Document |
getOwnerDocument()
DOM: Implements Node.getOwnerDocument(). |
org.w3c.dom.Node |
getParentNode()
DOM: Implements Node.getParentNode(). |
NodeEventTarget |
getParentNodeEventTarget()
Implements NodeEventTarget.getParentNodeEventTarget(). |
java.lang.String |
getPrefix()
DOM: Implements Node.getPrefix(). |
org.w3c.dom.Node |
getPreviousSibling()
DOM: Implements Node.getPreviousSibling(). |
boolean |
hasAttributes()
DOM: Implements Node.hasAttributes(). |
boolean |
hasChildNodes()
DOM: Implements Node.hasChildNodes(). |
org.w3c.dom.Node |
insertBefore(org.w3c.dom.Node newChild,
org.w3c.dom.Node refChild)
DOM: Implements Node.insertBefore(Node, Node). |
boolean |
isSupported(java.lang.String feature,
java.lang.String version)
DOM: Implements Node.isSupported(String,String). |
protected abstract org.w3c.dom.Node |
newNode()
Returns a new uninitialized instance of this object's class. |
void |
normalize()
DOM: Implements Node.normalize(). |
org.w3c.dom.Node |
removeChild(org.w3c.dom.Node oldChild)
DOM: Implements Node.removeChild(Node). |
void |
removeEventListener(java.lang.String type,
org.w3c.dom.events.EventListener listener,
boolean useCapture)
DOM: Implements EventTarget#removeEventListener(String,EventListener,boolean). |
org.w3c.dom.Node |
replaceChild(org.w3c.dom.Node newChild,
org.w3c.dom.Node oldChild)
DOM: Implements Node.replaceChild(Node, Node). |
void |
setNextSibling(org.w3c.dom.Node n)
Sets the node immediately following this node. |
void |
setNodeName(java.lang.String v)
Sets the name of this node. |
void |
setNodeValue(java.lang.String nodeValue)
DOM: Implements Node.setNodeValue(String). |
void |
setOwnerDocument(org.w3c.dom.Document doc)
Sets the owner document of this node. |
void |
setParentNode(org.w3c.dom.Node v)
Sets the parent node. |
void |
setPrefix(java.lang.String prefix)
DOM: Implements Node.setPrefix(String). |
void |
setPreviousSibling(org.w3c.dom.Node n)
Sets the node immediately preceding this node. |
void |
setSpecified(boolean v)
Sets the value of the specified attribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.batik.dom.ExtendedNode |
|---|
isReadonly, setReadonly |
| Methods inherited from interface org.w3c.dom.Node |
|---|
getNodeName, getNodeType |
| Field Detail |
protected static final org.w3c.dom.NodeList EMPTY_NODE_LIST
protected AbstractDocument ownerDocument
protected transient EventSupport eventSupport
| Constructor Detail |
public AbstractNode()
| Method Detail |
public void setNodeName(java.lang.String v)
setNodeName in interface ExtendedNodepublic void setOwnerDocument(org.w3c.dom.Document doc)
setOwnerDocument in interface ExtendedNodepublic void setSpecified(boolean v)
setSpecified in interface ExtendedNode
public java.lang.String getNodeValue()
throws org.w3c.dom.DOMException
Node.getNodeValue().
getNodeValue in interface org.w3c.dom.Nodeorg.w3c.dom.DOMException
public void setNodeValue(java.lang.String nodeValue)
throws org.w3c.dom.DOMException
Node.setNodeValue(String).
Do nothing.
setNodeValue in interface org.w3c.dom.Nodeorg.w3c.dom.DOMExceptionpublic org.w3c.dom.Node getParentNode()
Node.getParentNode().
getParentNode in interface org.w3c.dom.Nodepublic void setParentNode(org.w3c.dom.Node v)
DOMException.
setParentNode in interface ExtendedNodepublic org.w3c.dom.NodeList getChildNodes()
Node.getChildNodes().
getChildNodes in interface org.w3c.dom.NodeEMPTY_NODE_LIST.public org.w3c.dom.Node getFirstChild()
Node.getFirstChild().
getFirstChild in interface org.w3c.dom.Nodepublic org.w3c.dom.Node getLastChild()
Node.getLastChild().
getLastChild in interface org.w3c.dom.Nodepublic void setPreviousSibling(org.w3c.dom.Node n)
DOMException.
setPreviousSibling in interface ExtendedNodepublic org.w3c.dom.Node getPreviousSibling()
Node.getPreviousSibling().
getPreviousSibling in interface org.w3c.dom.Nodepublic void setNextSibling(org.w3c.dom.Node n)
DOMException.
setNextSibling in interface ExtendedNodepublic org.w3c.dom.Node getNextSibling()
Node.getNextSibling().
getNextSibling in interface org.w3c.dom.Nodepublic boolean hasAttributes()
Node.hasAttributes().
hasAttributes in interface org.w3c.dom.Nodepublic org.w3c.dom.NamedNodeMap getAttributes()
Node.getAttributes().
getAttributes in interface org.w3c.dom.Nodepublic org.w3c.dom.Document getOwnerDocument()
Node.getOwnerDocument().
getOwnerDocument in interface org.w3c.dom.NodeownerDocument.public java.lang.String getNamespaceURI()
Node.getNamespaceURI().
getNamespaceURI in interface org.w3c.dom.Node
public org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild,
org.w3c.dom.Node refChild)
throws org.w3c.dom.DOMException
Node.insertBefore(Node, Node).
Throws a HIERARCHY_REQUEST_ERR DOMException.
insertBefore in interface org.w3c.dom.Nodeorg.w3c.dom.DOMException
public org.w3c.dom.Node replaceChild(org.w3c.dom.Node newChild,
org.w3c.dom.Node oldChild)
throws org.w3c.dom.DOMException
Node.replaceChild(Node, Node).
Throws a HIERARCHY_REQUEST_ERR DOMException.
replaceChild in interface org.w3c.dom.Nodeorg.w3c.dom.DOMException
public org.w3c.dom.Node removeChild(org.w3c.dom.Node oldChild)
throws org.w3c.dom.DOMException
Node.removeChild(Node).
Throws a HIERARCHY_REQUEST_ERR DOMException.
removeChild in interface org.w3c.dom.Nodeorg.w3c.dom.DOMException
public org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild)
throws org.w3c.dom.DOMException
Node.appendChild(Node).
Throws a HIERARCHY_REQUEST_ERR DOMException.
appendChild in interface org.w3c.dom.Nodeorg.w3c.dom.DOMExceptionpublic boolean hasChildNodes()
Node.hasChildNodes().
hasChildNodes in interface org.w3c.dom.Nodepublic org.w3c.dom.Node cloneNode(boolean deep)
Node.cloneNode(boolean).
cloneNode in interface org.w3c.dom.Nodepublic void normalize()
Node.normalize().
Do nothing.
normalize in interface org.w3c.dom.Node
public boolean isSupported(java.lang.String feature,
java.lang.String version)
Node.isSupported(String,String).
isSupported in interface org.w3c.dom.Nodepublic java.lang.String getPrefix()
Node.getPrefix().
getPrefix in interface org.w3c.dom.Node
public void setPrefix(java.lang.String prefix)
throws org.w3c.dom.DOMException
Node.setPrefix(String).
setPrefix in interface org.w3c.dom.Nodeorg.w3c.dom.DOMExceptionpublic java.lang.String getLocalName()
Node.getLocalName().
getLocalName in interface org.w3c.dom.Node
public org.w3c.dom.DOMException createDOMException(short type,
java.lang.String key,
java.lang.Object[] args)
public void addEventListener(java.lang.String type,
org.w3c.dom.events.EventListener listener,
boolean useCapture)
EventTarget#addEventListener(String,EventListener,boolean).
addEventListener in interface org.w3c.dom.events.EventTarget
public void removeEventListener(java.lang.String type,
org.w3c.dom.events.EventListener listener,
boolean useCapture)
EventTarget#removeEventListener(String,EventListener,boolean).
removeEventListener in interface org.w3c.dom.events.EventTargetpublic NodeEventTarget getParentNodeEventTarget()
NodeEventTarget.getParentNodeEventTarget().
getParentNodeEventTarget in interface NodeEventTarget
public boolean dispatchEvent(org.w3c.dom.events.Event evt)
throws org.w3c.dom.events.EventException
EventTarget.dispatchEvent(Event).
dispatchEvent in interface org.w3c.dom.events.EventTargetorg.w3c.dom.events.EventExceptionpublic EventSupport getEventSupport()
getEventSupport in interface NodeEventTargetpublic void fireDOMNodeInsertedIntoDocumentEvent()
public void fireDOMNodeRemovedFromDocumentEvent()
protected void fireDOMCharacterDataModifiedEvent(java.lang.String oldv,
java.lang.String newv)
protected AbstractDocument getCurrentDocument()
protected abstract org.w3c.dom.Node newNode()
protected org.w3c.dom.Node export(org.w3c.dom.Node n,
AbstractDocument d)
protected org.w3c.dom.Node deepExport(org.w3c.dom.Node n,
AbstractDocument d)
protected org.w3c.dom.Node copyInto(org.w3c.dom.Node n)
n - a node of the type of this.protected org.w3c.dom.Node deepCopyInto(org.w3c.dom.Node n)
n - a node of the type of this.
protected void checkChildType(org.w3c.dom.Node n,
boolean replace)
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||