org.jtools.tmpl.compiler.parser
Class SimpleNodeParser
java.lang.Object
org.jtools.tmpl.compiler.parser.SimpleNodeParser
- All Implemented Interfaces:
- NodeParser
public class SimpleNodeParser
- extends Object
- implements NodeParser
Field Summary |
protected int |
col
|
protected char[][] |
image
|
protected int |
line
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
col
protected int col
image
protected char[][] image
line
protected int line
SimpleNodeParser
public SimpleNodeParser(Parser parser,
char[][] image)
SimpleNodeParser
public SimpleNodeParser(Parser parser,
char[][] image,
int lineOffs,
int colOffs)
getCol
public int getCol()
- Specified by:
getCol
in interface NodeParser
getImage
public char[][] getImage()
- Specified by:
getImage
in interface NodeParser
getLine
public int getLine()
- Specified by:
getLine
in interface NodeParser
getParser
public Parser getParser()
- Specified by:
getParser
in interface NodeParser
getInfoSupport
public InfoSupport getInfoSupport()
- Specified by:
getInfoSupport
in interface NodeParser
getTemplate
public Template getTemplate()
onChildFound
protected Tag onChildFound(NodeHandler parent,
Node child,
int taglen)
throws IOException,
CompilerException
- Throws:
IOException
CompilerException
parseNode
public Tag parseNode(NodeHandler handler)
throws IOException,
CompilerException
- Specified by:
parseNode
in interface NodeParser
- Throws:
IOException
CompilerException
© 2000-2006, JTools.org.