org.jtools.tmpl.compiler.parser.handler
Class XmlNodeHandler
java.lang.Object
org.jtools.tmpl.compiler.parser.handler.SimpleNodeHandler
org.jtools.tmpl.compiler.parser.handler.XmlNodeHandler
- All Implemented Interfaces:
- NodeHandler
public class XmlNodeHandler
- extends SimpleNodeHandler
Methods inherited from class org.jtools.tmpl.compiler.parser.handler.SimpleNodeHandler |
addChar, addLinebreak, embed, flush, getEndTags, getEscapeTags, getFactory, getInfoSupport, getNode, getNodeParser, getOuterCol, getOuterLine, getParent, getText, getTextAsString, isEndOnLinebreak, isLineDelimited, setOuterCol, setOuterLine, setText, setText |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlNodeHandler
public XmlNodeHandler(NodeParser parser,
NodeHandler parent,
Node node,
boolean generic,
boolean nested,
boolean allowNestedChilds)
getGenericXmlFactory
public static NodeHandler.Factory getGenericXmlFactory()
getGenericXmlFactoryNoNested
public static NodeHandler.Factory getGenericXmlFactoryNoNested()
getStaticXmlFactory
public static NodeHandler.Factory getStaticXmlFactory()
getStaticXmlFactoryNoNested
public static NodeHandler.Factory getStaticXmlFactoryNoNested()
getChildNodes
public List<Node> getChildNodes()
- Specified by:
getChildNodes
in interface NodeHandler
- Overrides:
getChildNodes
in class SimpleNodeHandler
onChild
public Tag onChild(NodeHandler child)
throws IOException,
CompilerException
- Specified by:
onChild
in interface NodeHandler
- Overrides:
onChild
in class SimpleNodeHandler
- Throws:
IOException
CompilerException
onNode
public Tag onNode()
throws IOException,
CompilerException
- Specified by:
onNode
in interface NodeHandler
- Overrides:
onNode
in class SimpleNodeHandler
- Throws:
IOException
CompilerException
© 2000-2006, JTools.org.