|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface similar to org.w3c.dom.Node used for SVG XML serialization.
This interface allows the com.nwoods.jgo package to provide methods that manipulate org.w3c.dom.Node objects while not requiring the org.w3c.dom.Node class to be present in order to build com.nwoods.jgo.
Method Summary | |
DomNode |
appendChild(DomNode newChild)
Adds the node newChild to the end of the list of children of this node. |
DomElement |
elementCast()
Casts this DomNode to a DomElement. |
DomNode |
getFirstChild()
Get the first child node. |
DomElement |
getFirstChildElement()
Get the first child DomElement of this node. |
DomText |
getFirstChildText()
Get the first child DomText of this node. |
DomNode |
getNextSibling()
Get the first sibling of this node. |
DomElement |
getNextSiblingElement()
Get the first sibling DomElement of this node. |
DomElement |
getNextSiblingJGoClassElement()
Get the first sibling JGoClass ComElement of this node. |
DomText |
getNextSiblingText()
Get the first sibling DomText of this node. |
DomNode |
getParentNode()
Get the parent of this node. |
boolean |
isElement()
Tests if this DomNode is a DomElement. |
Method Detail |
public DomNode appendChild(DomNode newChild)
newChild
- the node being appended
public boolean isElement()
public DomElement elementCast()
public DomNode getFirstChild()
public DomElement getFirstChildElement()
public DomText getFirstChildText()
public DomNode getNextSibling()
public DomElement getNextSiblingElement()
public DomElement getNextSiblingJGoClassElement()
public DomText getNextSiblingText()
public DomNode getParentNode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |