public class TemplateParser
extends java.lang.Object
TemplateParser class contains method for parsing template files.| Constructor and Description |
|---|
TemplateParser()
Initializes a newly created
TemplateParser. |
| Modifier and Type | Method and Description |
|---|---|
void |
readTemplate(ConfigData configData,
java.lang.String templateFile)
Parses the file with template.
|
public TemplateParser()
TemplateParser. Sets up the SAX parser used for
parsing.public void readTemplate(ConfigData configData, java.lang.String templateFile) throws ConfigException, FileNotFoundException
configData - the data containing editor data structure.templateFile - the path to the file with template.ConfigException - if the template or its XML schema isn't well-formed.FileNotFoundException - if the template or its XML schema doesn't exist.