org.oXML.type
Interface Node

All Known Implementing Classes:
AbstractNode, SimpleNode

public interface Node


Field Summary
static Type TYPE
           
 
Method Summary
 void addChildNode(Node child)
           
 boolean booleanValue()
           
 byte[] byteValue()
           
 Node cast()
          downcast to actual type
 Node cast(Type type)
          cast to specified type
 Node copy(boolean deep)
           
 boolean equals(Node other)
           
 boolean equals(java.lang.Object other)
           
 AttributeNode getAttribute(Name name)
           
 java.util.Collection getAttributes()
           
 java.lang.String getAttributeValue(Name name)
           
 Nodeset getChildNodes()
           
 Node getDocument()
           
 Name getName()
           
 Node getNextSibling()
           
 Node getParent()
           
 Node getPreviousSibling()
           
 Type getType()
          get the type of this Node
 void insert(int pos, Node insert)
           
 double numberValue()
           
 void removeChild(Node child)
           
 void setAttribute(AttributeNode attribute)
           
 void setAttribute(Name name, java.lang.String value)
           
 void setName(Name name)
           
 void setParent(Node parent)
           
 java.lang.String stringValue()
           
 

Field Detail

TYPE

public static final Type TYPE
Method Detail

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)