|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.igfay.jfig.JFigParser
org.igfay.jfig.XMLJFigParser
Constructor Summary | |
XMLJFigParser(JFig config,
JFigLocatorIF jfigLocator)
|
Method Summary | |
protected boolean |
isNewFile(java.lang.String fileName)
Ensure same file is not processed multiple times |
protected org.w3c.dom.Element |
parse()
Parse the config file into an xml document |
protected boolean |
processConfig()
Process XML Configuration file |
protected void |
processEntries(org.w3c.dom.Element sectionNode,
java.lang.String sectionString)
For each entry element, process key value pair |
protected void |
processIncludes(org.w3c.dom.Element element)
|
protected void |
processSections(org.w3c.dom.Element element)
For each section element, find the entry elements |
Methods inherited from class org.igfay.jfig.JFigParser |
addPropertyValues, getAllConfigFiles, getConfig, getConfigDictionary, getConfigFileName, getJFigLocator, getRegexGlobalSubstitution, getRegexPropertyVariable, getRegexSubstitution, resolveSymbolicValues, setConfig, setJFigLocator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLJFigParser(JFig config, JFigLocatorIF jfigLocator)
Method Detail |
protected boolean processConfig() throws JFigException
processConfig
in class JFigParser
JFigException
- Description of Exceptionprotected void processIncludes(org.w3c.dom.Element element) throws JFigException
JFigException
protected void processSections(org.w3c.dom.Element element)
protected void processEntries(org.w3c.dom.Element sectionNode, java.lang.String sectionString)
protected boolean isNewFile(java.lang.String fileName)
fileName
-
protected org.w3c.dom.Element parse() throws JFigException, XMLParseException
JFigException
XMLParseException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |