de.infoasset.platform.template
Class Parser
java.lang.Object
de.infoasset.platform.util.AbstractInitializable
de.infoasset.platform.template.Parser
- All Implemented Interfaces:
- de.infoasset.imf.blackbox.Configurable, de.infoasset.imf.blackbox.Initializable
public class Parser
- extends AbstractInitializable
|
Method Summary |
static void |
main(java.lang.String[] args)
|
static ChunkList |
parse(java.lang.String string,
java.io.File file,
ProjectWithTemplates project)
Parses a given file and produces a parse tree of chunks representing the
templates' structure. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOLLAR
public static final java.lang.String DOLLAR
- This delimiter encloses placeholders in the template. It should be a
character that usually does not appear in HTML pages.
- See Also:
- Constant Field Values
FUNCTION_PARAMETERS_START
protected static final char FUNCTION_PARAMETERS_START
- See Also:
- Constant Field Values
FUNCTION_PARAMETERS_END
protected static final char FUNCTION_PARAMETERS_END
- See Also:
- Constant Field Values
Parser
public Parser()
parse
public static ChunkList parse(java.lang.String string,
java.io.File file,
ProjectWithTemplates project)
- Parses a given file and produces a parse tree of chunks representing the
templates' structure.
- Parameters:
project - TODO
main
public static void main(java.lang.String[] args)
throws org.htmlparser.util.ParserException,
java.io.IOException
- Throws:
org.htmlparser.util.ParserException
java.io.IOException