com.japisoft.fastparser.node
Interface MutableNode

All Known Implementing Classes:
SimpleNode

public interface MutableNode

Minimal node interface. This interface is for building node from the parsing processing.

Author:
(c) 2002 JAPISoft

Method Summary
 void addNode(MutableNode node)
          Add a new child
 java.lang.String getNodeContent()
           
 void setNodeAttribute(java.lang.String name, java.lang.String value)
          Reset the node attribute
 void setNodeContent(java.lang.String content)
          Reset the node content, for tag node it means the tag name
 void setNodeParent(MutableNode node)
          Reset the node parent
 

Method Detail

setNodeContent

public void setNodeContent(java.lang.String content)
Reset the node content, for tag node it means the tag name


getNodeContent

public java.lang.String getNodeContent()
Returns:
the node content, for tag node it means the tag name

setNodeParent

public void setNodeParent(MutableNode node)
Reset the node parent


setNodeAttribute

public void setNodeAttribute(java.lang.String name,
                             java.lang.String value)
Reset the node attribute


addNode

public void addNode(MutableNode node)
Add a new child