|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectooc.LinkedTagInstance
softparsmap.AbstractTreeParser
Extending this class will facilitate creating a tag instance that is needed for any class to be installed and used by the property file.
Constructor Summary | |
AbstractTreeParser()
|
Method Summary | |
java.lang.String |
getCharset()
Returns the name of the encoding. |
PropertyFile |
getPropertyFile()
Returns the property file. |
Node |
parseIn(java.io.InputStream tree)
Returns the root of the parsed tree. |
void |
parseIn(Node tree,
java.io.InputStream treeInfo)
Adding information to the existing tree. |
abstract void |
parseIn(Node tree,
java.lang.String treeInfo)
Adding information to the existing tree. |
abstract Node |
parseIn(java.lang.String tree)
Returns the root of the parsed tree. |
abstract java.lang.String |
parseOut(Node tree)
This method will parse out the tree to a string. |
void |
parseOut(java.io.OutputStream outputStream,
Node tree)
This method will parse out the tree to the output stream. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractTreeParser()
Method Detail |
public PropertyFile getPropertyFile()
PropertyFile
public java.lang.String getCharset()
public Node parseIn(java.io.InputStream tree)
TreeParser
parseIn
in interface TreeParser
tree
- is the input stream from which the tree is parsed
Node
public void parseIn(Node tree, java.io.InputStream treeInfo)
TreeParser
parseIn
in interface TreeParser
tree
- is the existing tree.treeInfo
- is a stream in a tree format containing the
information to be added.public void parseOut(java.io.OutputStream outputStream, Node tree)
TreeParser
parseOut
in interface TreeParser
outputStream
- is the stream to which the tree will be parsed
out to.tree
- is the tree that are parsed outNode
public abstract Node parseIn(java.lang.String tree)
TreeParser
parseIn
in interface TreeParser
tree
- is the string from which the tree is parsed
Node
public abstract void parseIn(Node tree, java.lang.String treeInfo)
TreeParser
parseIn
in interface TreeParser
tree
- is the existing tree.treeInfo
- is a string in a tree format containing the
information to be added.public abstract java.lang.String parseOut(Node tree)
TreeParser
parseOut
in interface TreeParser
tree
- is the tree that is parsed outNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |