com.ibm.as400.ui.tools
Class EventHandlerGenerator

java.lang.Object
  extended by com.ibm.as400.ui.tools.EventHandlerGenerator
All Implemented Interfaces:
ContentHandler

public class EventHandlerGenerator
extends Object
implements ContentHandler


Constructor Summary
Constructor and Description
EventHandlerGenerator(String sxml)
           
EventHandlerGenerator(String sxml, Locale locale)
           
 
Method Summary
Modifier and Type Method and Description
 void characters(char[] ch, int start, int length)
           
 void endDocument()
           
 void endElement(String namespaceURI, String localeName, String name)
           
 void endPrefixMapping(String prefix)
          This is a SAX ContentHandler method.
 void ignorableWhitespace(char[] ch, int start, int length)
          This is a SAX ContentHandler method.
static void main(String[] args)
           
 void processingInstruction(String target, String data)
          This is a SAX ContentHandler method.
 void setDocumentLocator(Locator locator)
          This is a SAX ContentHandler method.
 void skippedEntity(String name)
          This is a SAX ContentHandler method.
 void startDocument()
           
 void startElement(String namespaceURI, String localeName, String name, Attributes attrList)
           
 void startPrefixMapping(String prefix, String uri)
          This is a SAX ContentHandler method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventHandlerGenerator

public EventHandlerGenerator(String sxml)
                      throws FileNotFoundException,
                             IOException,
                             ParseException,
                             MissingResourceException
Throws:
FileNotFoundException
IOException
ParseException
MissingResourceException

EventHandlerGenerator

public EventHandlerGenerator(String sxml,
                             Locale locale)
                      throws FileNotFoundException,
                             IOException,
                             ParseException,
                             MissingResourceException
Throws:
FileNotFoundException
IOException
ParseException
MissingResourceException
Method Detail

startDocument

public void startDocument()
Specified by:
startDocument in interface ContentHandler

endDocument

public void endDocument()
Specified by:
endDocument in interface ContentHandler

startElement

public void startElement(String namespaceURI,
                         String localeName,
                         String name,
                         Attributes attrList)
Specified by:
startElement in interface ContentHandler

endElement

public void endElement(String namespaceURI,
                       String localeName,
                       String name)
Specified by:
endElement in interface ContentHandler

characters

public void characters(char[] ch,
                       int start,
                       int length)
Specified by:
characters in interface ContentHandler

ignorableWhitespace

public void ignorableWhitespace(char[] ch,
                                int start,
                                int length)
This is a SAX ContentHandler method.

Specified by:
ignorableWhitespace in interface ContentHandler

processingInstruction

public void processingInstruction(String target,
                                  String data)
This is a SAX ContentHandler method.

Specified by:
processingInstruction in interface ContentHandler

setDocumentLocator

public void setDocumentLocator(Locator locator)
This is a SAX ContentHandler method.

Specified by:
setDocumentLocator in interface ContentHandler

skippedEntity

public void skippedEntity(String name)
This is a SAX ContentHandler method.

Specified by:
skippedEntity in interface ContentHandler

startPrefixMapping

public void startPrefixMapping(String prefix,
                               String uri)
This is a SAX ContentHandler method.

Specified by:
startPrefixMapping in interface ContentHandler

endPrefixMapping

public void endPrefixMapping(String prefix)
This is a SAX ContentHandler method.

Specified by:
endPrefixMapping in interface ContentHandler

main

public static void main(String[] args)