|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.nwoods.jgo.svg.AbstractNode
A wrapper class for org.w3c.dom.Node. By implementing the interface DomNode, this class 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. JGo applications that support serialization to and from SVG XML files require this class.
| Constructor Summary | |
AbstractNode(org.w3c.dom.Node node)
Create a new AbstractNode |
|
| Method Summary | |
DomNode |
appendChild(DomNode nodeToAppend)
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. |
org.w3c.dom.Node |
getNode()
Return the org.w3c.dom.Node associated with this AbstractNode |
DomNode |
getParentNode()
Get the parent of this node. |
boolean |
isElement()
Tests if this DomNode is a DomElement. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractNode(org.w3c.dom.Node node)
node - a org.w3c.dom.Node object| Method Detail |
public org.w3c.dom.Node getNode()
public DomNode appendChild(DomNode nodeToAppend)
DomNode
appendChild in interface DomNodenodeToAppend - the node being appended
public boolean isElement()
DomNode
isElement in interface DomNodepublic DomElement elementCast()
DomNode
elementCast in interface DomNodepublic DomNode getFirstChild()
DomNode
getFirstChild in interface DomNodepublic DomElement getFirstChildElement()
DomNode
getFirstChildElement in interface DomNodepublic DomText getFirstChildText()
DomNode
getFirstChildText in interface DomNodepublic DomNode getParentNode()
DomNode
getParentNode in interface DomNodepublic DomNode getNextSibling()
DomNode
getNextSibling in interface DomNodepublic DomElement getNextSiblingElement()
DomNode
getNextSiblingElement in interface DomNodepublic DomElement getNextSiblingJGoClassElement()
DomNode
getNextSiblingJGoClassElement in interface DomNodepublic DomText getNextSiblingText()
DomNode
getNextSiblingText in interface DomNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||