org.oXML.type
Interface Node
- All Known Implementing Classes:
- AbstractNode, SimpleNode
- public interface Node
TYPE
public static final Type TYPE
getType
public Type getType()
- get the type of this Node
cast
public Node cast(Type type)
- cast to specified type
cast
public Node cast()
- downcast to actual type
numberValue
public double numberValue()
booleanValue
public boolean booleanValue()
byteValue
public byte[] byteValue()
stringValue
public java.lang.String stringValue()
getDocument
public Node getDocument()
getParent
public Node getParent()
setParent
public void setParent(Node parent)
getPreviousSibling
public Node getPreviousSibling()
getNextSibling
public Node getNextSibling()
getChildNodes
public Nodeset getChildNodes()
addChildNode
public void addChildNode(Node child)
removeChild
public void removeChild(Node child)
insert
public void insert(int pos,
Node insert)
getAttributes
public java.util.Collection getAttributes()
getAttribute
public AttributeNode getAttribute(Name name)
setAttribute
public void setAttribute(AttributeNode attribute)
getAttributeValue
public java.lang.String getAttributeValue(Name name)
setAttribute
public void setAttribute(Name name,
java.lang.String value)
getName
public Name getName()
setName
public void setName(Name name)
copy
public Node copy(boolean deep)
equals
public boolean equals(java.lang.Object other)
equals
public boolean equals(Node other)