hibergui.generator.tool.xml
Class ConfigReader
java.lang.Object
hibergui.generator.tool.xml.XMLReader
hibergui.generator.tool.xml.ConfigReader
public class ConfigReader
- extends XMLReader
Reads HiberGUI configuration (hibergui-configuration) file.
Validate it by DTD file which is specified at DOCTYPE element of mapping XML
or if it is not available - file doesn't exist - then validate by DTD file
in hibergui.jar archive.
- Author:
- Csaba Gyenge
|
Method Summary |
java.util.ArrayList<java.lang.String> |
getMappingResources()
Get list of path of XML resource documents. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ROOT_NODE_NAME
private static final java.lang.String ROOT_NODE_NAME
- See Also:
- Constant Field Values
MAPPING_NODE_NAME
private static final java.lang.String MAPPING_NODE_NAME
- See Also:
- Constant Field Values
MAPPING_ATTRIBUTE_NAME
private static final java.lang.String MAPPING_ATTRIBUTE_NAME
- See Also:
- Constant Field Values
DTD_FOLDER
private static final java.lang.String DTD_FOLDER
- See Also:
- Constant Field Values
DTD_FILE
private static final java.lang.String DTD_FILE
- See Also:
- Constant Field Values
ConfigReader
public ConfigReader(java.lang.String file)
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException,
javax.xml.transform.TransformerException
- Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
javax.xml.transform.TransformerException
getMappingResources
public java.util.ArrayList<java.lang.String> getMappingResources()
- Get list of path of XML resource documents.
- Returns:
- List of path of XML resource documents.