|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITemplateParser
Common interface for template parsers, in charge of reading and converting a resolved template into a DOM tree.
All implementations of this interface must be thread-safe.
| Method Summary | |
|---|---|
List<Node> |
parseFragment(Configuration configuration,
String fragment)
Parses the document fragment contained in the given String object. |
Document |
parseTemplate(Configuration configuration,
String documentName,
Reader source)
Parses the document contained in the given Reader object. |
| Method Detail |
|---|
Document parseTemplate(Configuration configuration,
String documentName,
Reader source)
Parses the document contained in the given Reader object.
configuration - the Configuration objectdocumentName - the document name (optional).source - the Reader on the document to be parsed (required).
List<Node> parseFragment(Configuration configuration,
String fragment)
Parses the document fragment contained in the given String object.
configuration - the Configuration objectfragment - the String containing the fragment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||