All Packages Class Hierarchy This Package Previous Next Index
Class fr.inria.openmath.omapi.implementation.NodeImpl
java.lang.Object
|
+----fr.inria.openmath.omapi.implementation.NodeImpl
- public class NodeImpl
- extends Object
- implements Node
This Class is a basic implementation for the fr.inria.openmath.omapi.Node interface.
-
NodeImpl()
-
-
NodeImpl(short)
-
-
appendChild(Node)
-
-
cloneNode(boolean)
-
-
getAttribute(Symbol)
-
-
getAttributeNumber()
-
-
getChildNodes()
-
-
getComments()
-
-
getFirstChild()
-
-
getLastChild()
-
-
getNextSibling()
-
-
getNodeName()
-
-
getNodeType()
-
-
getNthAttributeName(int)
-
-
getNthAttributeValue(int)
-
-
getParent()
-
-
getPInstructions()
-
-
getPreviousSibling()
-
-
hasChildNodes()
-
-
insertBefore(Node, Node)
-
-
removeAttribute(Symbol)
-
-
removeChild(Node)
-
-
replaceChild(Node, Node)
-
-
setAttribute(Symbol, Node)
-
-
setComments(String)
-
-
setPInstructions(Vector)
-
-
toString()
-
-
typeToString(short)
- Return the string associated to a node type.
NodeImpl
public NodeImpl()
NodeImpl
public NodeImpl(short type)
typeToString
public String typeToString(short type)
- Return the string associated to a node type.
- Parameters:
- s - Type to translate.
- Returns:
- The string translation of internal node type.
toString
public String toString()
- Overrides:
- toString in class Object
- See Also:
- toString
getNodeName
public String getNodeName()
- See Also:
- getNodeName
getNodeType
public short getNodeType()
- See Also:
- getNodeType
getParent
public Node getParent()
- See Also:
- getParent
getChildNodes
public NodeList getChildNodes()
- See Also:
- getChildNodes
hasChildNodes
public boolean hasChildNodes()
- See Also:
- hasChildNodes
getFirstChild
public Node getFirstChild()
- See Also:
- getFirstChild
getLastChild
public Node getLastChild()
- See Also:
- getLastChild
getPreviousSibling
public Node getPreviousSibling()
- See Also:
- getPreviousSibling
getNextSibling
public Node getNextSibling()
- See Also:
- getNextSibling
appendChild
public Node appendChild(Node newChild) throws OMException
- See Also:
- appendChild
insertBefore
public Node insertBefore(Node newChild,
Node refChild) throws OMException
- See Also:
- insertBefore
replaceChild
public Node replaceChild(Node newChild,
Node oldChild) throws OMException
- See Also:
- replaceChild
removeChild
public Node removeChild(Node oldChild) throws OMException
- See Also:
- removeChild
cloneNode
public Node cloneNode(boolean deep)
- See Also:
- cloneNode
getAttributeNumber
public int getAttributeNumber()
- See Also:
- getAttributeNumber
getNthAttributeValue
public Node getNthAttributeValue(int index)
- See Also:
- getNthAttributeValue
getNthAttributeName
public Symbol getNthAttributeName(int index)
- See Also:
- getNthAttributeName
getAttribute
public Node getAttribute(Symbol name)
- See Also:
- getAttribute
setAttribute
public void setAttribute(Symbol name,
Node value)
- See Also:
- setAttribute
removeAttribute
public Node removeAttribute(Symbol name)
- See Also:
- removeAttribute
getComments
public String getComments()
- See Also:
- getComments
setComments
public String setComments(String comments)
- See Also:
- setComments
getPInstructions
public Vector getPInstructions()
- See Also:
- getPInstructions
setPInstructions
public Vector setPInstructions(Vector pis)
- See Also:
- setPInstructions
All Packages Class Hierarchy This Package Previous Next Index