dochelper
Class DocHelper
java.lang.Object
dochelper.DocHelper
public class DocHelper
- extends java.lang.Object
The class DocHelper is the main entry point for running a DocHelper job.
This class should server as the place where run settings or instance handling
should be run.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
docdefPath
static java.lang.String docdefPath
PKG
static final java.lang.String PKG
- See Also:
- Constant Field Values
patterns
static java.util.Hashtable<java.lang.String,DocPattern> patterns
recordsets
static java.util.Hashtable<java.lang.String,RecordSet> recordsets
renderers
static java.util.Hashtable<java.lang.String,Renderer> renderers
processors
static java.util.Hashtable<java.lang.String,Processor> processors
documents
static java.util.ArrayList<DocumentDefinition> documents
doc
static org.w3c.dom.Document doc
DocHelper
public DocHelper()
execute
public static void execute(java.lang.String configFile)
throws DocumentParseException,
javax.xml.parsers.ParserConfigurationException,
InvalidValueException,
IllegalParamterTypeException,
MissingArgumentException,
org.xml.sax.SAXException,
java.io.IOException
- Throws:
DocumentParseException
javax.xml.parsers.ParserConfigurationException
InvalidValueException
IllegalParamterTypeException
MissingArgumentException
org.xml.sax.SAXException
java.io.IOException
checkParams
static void checkParams(java.lang.String fileName)
parseDocumentDefintion
static void parseDocumentDefintion(org.w3c.dom.Document doc)
throws DocumentParseException,
InvalidValueException,
IllegalParamterTypeException,
MissingArgumentException,
ResourceUnavailableException
- Throws:
DocumentParseException
InvalidValueException
IllegalParamterTypeException
MissingArgumentException
ResourceUnavailableException
parsePattern
private static DocPattern parsePattern(org.w3c.dom.Element node)
throws DocumentParseException
- Throws:
DocumentParseException
parseProcessor
private static Processor parseProcessor(org.w3c.dom.Element node)
throws DocumentParseException,
InvalidValueException,
IllegalParamterTypeException,
MissingArgumentException,
ResourceUnavailableException
- Throws:
DocumentParseException
InvalidValueException
IllegalParamterTypeException
MissingArgumentException
ResourceUnavailableException
parseRecordSet
private static RecordSet parseRecordSet(org.w3c.dom.Element node,
java.lang.String name)
throws DocumentParseException,
InvalidValueException,
IllegalParamterTypeException,
MissingArgumentException,
ResourceUnavailableException
- Throws:
DocumentParseException
InvalidValueException
IllegalParamterTypeException
MissingArgumentException
ResourceUnavailableException
parseRenderer
private static Renderer parseRenderer(org.w3c.dom.Element node)
throws DocumentParseException,
InvalidValueException,
IllegalParamterTypeException,
MissingArgumentException,
ResourceUnavailableException
- Throws:
DocumentParseException
InvalidValueException
IllegalParamterTypeException
MissingArgumentException
ResourceUnavailableException
parseConfigurable
private static Configurable parseConfigurable(org.w3c.dom.Element node)
throws DocumentParseException,
InvalidValueException,
IllegalParamterTypeException,
MissingArgumentException,
ResourceUnavailableException
- Throws:
DocumentParseException
InvalidValueException
IllegalParamterTypeException
MissingArgumentException
ResourceUnavailableException