de.uni_paderborn.fujaba.app
Class Version.VersionParser

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended byde.uni_paderborn.fujaba.app.Version.VersionParser
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
Enclosing class:
Version

class Version.VersionParser
extends org.xml.sax.helpers.DefaultHandler

Class to parse the Version.xml document.

Version:
$Revision: 1.23 $
Author:
$Author: mtt $

Field Summary
static java.lang.String BUILD
          No comment provided by developer, please add a comment to improve documentation.
private static int BUILD_STATE
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String MAJOR
          No comment provided by developer, please add a comment to improve documentation.
private static int MAJOR_STATE
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String MINOR
          No comment provided by developer, please add a comment to improve documentation.
private static int MINOR_STATE
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String RELEASE
          No comment provided by developer, please add a comment to improve documentation.
private static int RELEASE_STATE
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String REVISION
          No comment provided by developer, please add a comment to improve documentation.
private static int REVISION_STATE
          No comment provided by developer, please add a comment to improve documentation.
private  int state
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String VERSION
          No comment provided by developer, please add a comment to improve documentation.
private static java.lang.String VERSION_DTD_RESOURCE
           
private static java.lang.String VERSION_PUBLIC_ID
          Name used in Plugin definitions (XML-files) to identify the DTD.
private static int VERSION_STATE
          No comment provided by developer, please add a comment to improve documentation.
private static java.lang.String VERSION_SYSTEM_ID
          URL used in Plugin definitions (XML-files) to identify the DTD.
private static java.lang.String VERSION_SYSTEM_ID2
          Alternative URL used in Plugin definitions (XML-files) to identify the DTD.
private  java.net.URL versionDTD
           
 
Constructor Summary
Version.VersionParser(java.lang.String xmlFile)
          Constructor for class VersionParser
 
Method Summary
 void characters(char[] ch, int start, int length)
          No comment provided by developer, please add a comment to improve documentation.
 void endElement(java.lang.String uri, java.lang.String name, java.lang.String qName)
          No comment provided by developer, please add a comment to improve documentation.
 void parse(java.lang.String xmlFile)
          No comment provided by developer, please add a comment to improve documentation.
 org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
          Method implements interface EntityResolver.
 void startElement(java.lang.String uri, java.lang.String name, java.lang.String qName, org.xml.sax.Attributes atts)
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION_SYSTEM_ID

private static final java.lang.String VERSION_SYSTEM_ID
URL used in Plugin definitions (XML-files) to identify the DTD. DTD given as "SYSTEM" (non-public) definition.

See Also:
Constant Field Values

VERSION_SYSTEM_ID2

private static final java.lang.String VERSION_SYSTEM_ID2
Alternative URL used in Plugin definitions (XML-files) to identify the DTD. DTD given as "SYSTEM" (non-public) definition.

See Also:
Constant Field Values

VERSION_PUBLIC_ID

private static final java.lang.String VERSION_PUBLIC_ID
Name used in Plugin definitions (XML-files) to identify the DTD. DTD given as "PUBLIC" definition.

See Also:
Constant Field Values

VERSION_DTD_RESOURCE

private static final java.lang.String VERSION_DTD_RESOURCE
See Also:
Constant Field Values

VERSION

public static final java.lang.String VERSION
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

MAJOR

public static final java.lang.String MAJOR
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

MINOR

public static final java.lang.String MINOR
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

REVISION

public static final java.lang.String REVISION
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

BUILD

public static final java.lang.String BUILD
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

RELEASE

public static final java.lang.String RELEASE
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

VERSION_STATE

private static final int VERSION_STATE
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

MAJOR_STATE

private static final int MAJOR_STATE
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

MINOR_STATE

private static final int MINOR_STATE
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

REVISION_STATE

private static final int REVISION_STATE
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

BUILD_STATE

private static final int BUILD_STATE
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

RELEASE_STATE

private static final int RELEASE_STATE
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

versionDTD

private java.net.URL versionDTD

state

private int state
No comment provided by developer, please add a comment to improve documentation.

Constructor Detail

Version.VersionParser

public Version.VersionParser(java.lang.String xmlFile)
Constructor for class VersionParser

Parameters:
xmlFile - No description provided
Method Detail

parse

public void parse(java.lang.String xmlFile)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
xmlFile - No description provided

resolveEntity

public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
                                             java.lang.String systemId)
                                      throws org.xml.sax.SAXException
Method implements interface EntityResolver.

Parameters:
publicId - No description provided
systemId - No description provided
Returns:
No description provided
Throws:
org.xml.sax.SAXException - Exception description not provided

startElement

public void startElement(java.lang.String uri,
                         java.lang.String name,
                         java.lang.String qName,
                         org.xml.sax.Attributes atts)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
uri - No description provided
name - No description provided
qName - No description provided
atts - No description provided

characters

public void characters(char[] ch,
                       int start,
                       int length)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
ch - No description provided
start - No description provided
length - No description provided

endElement

public void endElement(java.lang.String uri,
                       java.lang.String name,
                       java.lang.String qName)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
uri - No description provided
name - No description provided
qName - No description provided