com.japisoft.fastparser.node
Interface NodeFactory

All Known Implementing Classes:
DomNodeFactory, NodeFactoryImpl

public interface NodeFactory

Interface : factory for building node.

Version:
1.0
Author:
(c) 2002-2003 JAPISOFT
See Also:
MutableNode, NodeFactoryImpl

Method Summary
 MutableNode getCommentNode(java.lang.String comment)
           
 MutableNode getTagNode(java.lang.String tag)
           
 MutableNode getTextNode(java.lang.String text)
           
 void setRefDocument(Document doc)
          Specified the reference document
 

Method Detail

setRefDocument

public void setRefDocument(Document doc)
Specified the reference document


getTextNode

public MutableNode getTextNode(java.lang.String text)
Returns:
a text node

getTagNode

public MutableNode getTagNode(java.lang.String tag)
Returns:
a tag node

getCommentNode

public MutableNode getCommentNode(java.lang.String comment)
Returns:
a comment node