dochelper.Main Class Reference

Collaboration diagram for dochelper.Main:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Main ()
 Creates a new instance of Main.

Static Public Member Functions

static void main (String[] argv) throws ParserConfigurationException, SAXException, IOException

Static Package Functions

static void checkParams (String argv[])
static void parseDocumentDefintion (Document doc) throws DocumentParseException, InvalidValueException, IllegalParamterTypeException, MissingArgumentException, ResourceUnavailableException

Static Package Attributes

static String docdefPath
static final String PKG = "dochelper."
static Hashtable< String,
DocPattern
patterns = new Hashtable()
static Hashtable< String,
RecordSet
recordsets = new Hashtable()
static Hashtable< String,
Renderer
renderers = new Hashtable()
static Hashtable< String,
Processor
processors = new Hashtable()
static ArrayList
< DocumentDefinition
documents = new ArrayList()

Static Private Member Functions

static DocPattern parsePattern (Element node) throws DocumentParseException
static Processor parseProcessor (Element node) throws DocumentParseException, InvalidValueException, IllegalParamterTypeException, MissingArgumentException, ResourceUnavailableException
static RecordSet parseRecordSet (Element node, String name) throws DocumentParseException, InvalidValueException, IllegalParamterTypeException, MissingArgumentException, ResourceUnavailableException
static Renderer parseRenderer (Element node) throws DocumentParseException, InvalidValueException, IllegalParamterTypeException, MissingArgumentException, ResourceUnavailableException
static Configurable parseConfigurable (Element node) throws DocumentParseException, InvalidValueException, IllegalParamterTypeException, MissingArgumentException, ResourceUnavailableException

Static Private Attributes

static final String USAGE
static final String ERROR


Detailed Description

Author:
gchristen

Definition at line 48 of file Main.java.


Constructor & Destructor Documentation

dochelper.Main.Main (  ) 

Creates a new instance of Main.

Definition at line 62 of file Main.java.


Member Function Documentation

static void dochelper.Main.main ( String[]  argv  )  throws ParserConfigurationException, SAXException, IOException [static]

Parameters:
argv 

Definition at line 78 of file Main.java.

Here is the call graph for this function:

static void dochelper.Main.checkParams ( String  argv[]  )  [static, package]

Definition at line 130 of file Main.java.

Here is the caller graph for this function:

static void dochelper.Main.parseDocumentDefintion ( Document  doc  )  throws DocumentParseException, InvalidValueException, IllegalParamterTypeException, MissingArgumentException, ResourceUnavailableException [static, package]

Definition at line 161 of file Main.java.

Here is the call graph for this function:

Here is the caller graph for this function:

static DocPattern dochelper.Main.parsePattern ( Element  node  )  throws DocumentParseException [static, private]

Definition at line 280 of file Main.java.

Here is the call graph for this function:

Here is the caller graph for this function:

static Processor dochelper.Main.parseProcessor ( Element  node  )  throws DocumentParseException, InvalidValueException, IllegalParamterTypeException, MissingArgumentException, ResourceUnavailableException [static, private]

Definition at line 333 of file Main.java.

Here is the call graph for this function:

Here is the caller graph for this function:

static RecordSet dochelper.Main.parseRecordSet ( Element  node,
String  name 
) throws DocumentParseException, InvalidValueException, IllegalParamterTypeException, MissingArgumentException, ResourceUnavailableException [static, private]

Definition at line 338 of file Main.java.

Here is the call graph for this function:

Here is the caller graph for this function:

static Renderer dochelper.Main.parseRenderer ( Element  node  )  throws DocumentParseException, InvalidValueException, IllegalParamterTypeException, MissingArgumentException, ResourceUnavailableException [static, private]

Definition at line 390 of file Main.java.

Here is the call graph for this function:

Here is the caller graph for this function:

static Configurable dochelper.Main.parseConfigurable ( Element  node  )  throws DocumentParseException, InvalidValueException, IllegalParamterTypeException, MissingArgumentException, ResourceUnavailableException [static, private]

Definition at line 432 of file Main.java.

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

final String dochelper.Main.USAGE [static, private]

Initial value:

 "DocHelper v 1.0. Usage: \n "
                                      + "  Usage: java -jar dochelper.jar [args...] \n "
                                      + "         java -jar dochelper.jar [path to docdef] \n\n"
                                      + "  where args are: \n"
                                      + "  docdef: Document Definition file that follows the Dochelper standard. This \n" 
                                      + "          is a required argument.\n\n"

Definition at line 50 of file Main.java.

final String dochelper.Main.ERROR [static, private]

Initial value:

 "There was an error parsing the document definition file.\n"
                                      + "Please check the file and try again. Error Info : "

Definition at line 58 of file Main.java.

String dochelper.Main.docdefPath [static, package]

Definition at line 65 of file Main.java.

final String dochelper.Main.PKG = "dochelper." [static, package]

Definition at line 66 of file Main.java.

Hashtable<String, DocPattern> dochelper.Main.patterns = new Hashtable() [static, package]

Definition at line 69 of file Main.java.

Hashtable<String, RecordSet> dochelper.Main.recordsets = new Hashtable() [static, package]

Definition at line 70 of file Main.java.

Hashtable<String, Renderer> dochelper.Main.renderers = new Hashtable() [static, package]

Definition at line 71 of file Main.java.

Hashtable<String, Processor> dochelper.Main.processors = new Hashtable() [static, package]

Definition at line 72 of file Main.java.

ArrayList<DocumentDefinition> dochelper.Main.documents = new ArrayList() [static, package]

Definition at line 73 of file Main.java.


The documentation for this class was generated from the following file:

Generated on Wed Jun 17 14:22:09 2009 for DocHelper by  doxygen 1.5.6