org.ejtools.util.state
Class LoadHandler

java.lang.Object
  |
  +--org.xml.sax.helpers.DefaultHandler
        |
        +--org.ejtools.util.state.LoadHandler
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class LoadHandler
extends org.xml.sax.helpers.DefaultHandler

Version:
$Revision: 1.2 $
Author:
Laurent Etiemble

Field Summary
static java.lang.String ATTRIBUTES
          Description of the Field
static java.lang.String ELEMENT
          Description of the Field
static java.lang.String TEXT
          Description of the Field
 
Constructor Summary
LoadHandler()
          Constructor for the WorkbenchHandler object
 
Method Summary
 void addRule(java.lang.String path, Rule rule)
          Adds a feature to the Rule attribute of the WorkbenchHandler object
 void characters(char[] ch, int start, int length)
          Description of the Method
 void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName)
          Description of the Method
 java.util.Map getContext()
          Gets the context attribute of the LoadHandler object
 void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes)
          Description of the Method
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, 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

ATTRIBUTES

public static final java.lang.String ATTRIBUTES
Description of the Field

See Also:
Constant Field Values

ELEMENT

public static final java.lang.String ELEMENT
Description of the Field

See Also:
Constant Field Values

TEXT

public static final java.lang.String TEXT
Description of the Field

See Also:
Constant Field Values
Constructor Detail

LoadHandler

public LoadHandler()
Constructor for the WorkbenchHandler object

Method Detail

addRule

public void addRule(java.lang.String path,
                    Rule rule)
Adds a feature to the Rule attribute of the WorkbenchHandler object

Parameters:
path - The feature to be added to the Rule attribute
rule - The feature to be added to the Rule attribute

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws org.xml.sax.SAXException
Description of the Method

Specified by:
characters in interface org.xml.sax.ContentHandler
Overrides:
characters in class org.xml.sax.helpers.DefaultHandler
Parameters:
ch - Description of the Parameter
start - Description of the Parameter
length - Description of the Parameter
Throws:
org.xml.sax.SAXException - Description of the Exception

endElement

public void endElement(java.lang.String uri,
                       java.lang.String localName,
                       java.lang.String qName)
                throws org.xml.sax.SAXException
Description of the Method

Specified by:
endElement in interface org.xml.sax.ContentHandler
Overrides:
endElement in class org.xml.sax.helpers.DefaultHandler
Parameters:
uri - Description of the Parameter
localName - Description of the Parameter
qName - Description of the Parameter
Throws:
org.xml.sax.SAXException - Description of the Exception

getContext

public java.util.Map getContext()
Gets the context attribute of the LoadHandler object

Returns:
The context value

startElement

public void startElement(java.lang.String uri,
                         java.lang.String localName,
                         java.lang.String qName,
                         org.xml.sax.Attributes attributes)
                  throws org.xml.sax.SAXException
Description of the Method

Specified by:
startElement in interface org.xml.sax.ContentHandler
Overrides:
startElement in class org.xml.sax.helpers.DefaultHandler
Parameters:
uri - Description of the Parameter
localName - Description of the Parameter
qName - Description of the Parameter
attributes - Description of the Parameter
Throws:
org.xml.sax.SAXException - Description of the Exception


Copyright © 2002-2003 EJTools Org.. All Rights Reserved.