com.opensymphony.xwork.util
Class DomHelper.StartHandler

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended bycom.opensymphony.xwork.util.DomHelper.StartHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler
Enclosing class:
DomHelper

public static class DomHelper.StartHandler
extends DefaultHandler


Constructor Summary
DomHelper.StartHandler(ContentHandler next, Map dtdMappings)
          Create a filter that is chained to another handler.
 
Method Summary
 void characters(char[] arg0, int arg1, int arg2)
           
 void endDocument()
           
 void endElement(String arg0, String arg1, String arg2)
           
 void endPrefixMapping(String arg0)
           
 void error(SAXParseException exception)
           
 void fatalError(SAXParseException exception)
           
 void ignorableWhitespace(char[] arg0, int arg1, int arg2)
           
 void processingInstruction(String arg0, String arg1)
           
 InputSource resolveEntity(String publicId, String systemId)
           
 void setDocumentLocator(Locator locator)
           
 void skippedEntity(String arg0)
           
 void startDocument()
           
 void startElement(String uri, String loc, String raw, Attributes attrs)
           
 void startPrefixMapping(String arg0, String arg1)
           
 void warning(SAXParseException exception)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
notationDecl, unparsedEntityDecl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DomHelper.StartHandler

public DomHelper.StartHandler(ContentHandler next,
                              Map dtdMappings)
Create a filter that is chained to another handler.

Parameters:
next - the next handler in the chain.
Method Detail

setDocumentLocator

public void setDocumentLocator(Locator locator)

startDocument

public void startDocument()
                   throws SAXException
Throws:
SAXException

endDocument

public void endDocument()
                 throws SAXException
Throws:
SAXException

startElement

public void startElement(String uri,
                         String loc,
                         String raw,
                         Attributes attrs)
                  throws SAXException
Throws:
SAXException

endElement

public void endElement(String arg0,
                       String arg1,
                       String arg2)
                throws SAXException
Throws:
SAXException

startPrefixMapping

public void startPrefixMapping(String arg0,
                               String arg1)
                        throws SAXException
Throws:
SAXException

endPrefixMapping

public void endPrefixMapping(String arg0)
                      throws SAXException
Throws:
SAXException

characters

public void characters(char[] arg0,
                       int arg1,
                       int arg2)
                throws SAXException
Throws:
SAXException

ignorableWhitespace

public void ignorableWhitespace(char[] arg0,
                                int arg1,
                                int arg2)
                         throws SAXException
Throws:
SAXException

processingInstruction

public void processingInstruction(String arg0,
                                  String arg1)
                           throws SAXException
Throws:
SAXException

skippedEntity

public void skippedEntity(String arg0)
                   throws SAXException
Throws:
SAXException

resolveEntity

public InputSource resolveEntity(String publicId,
                                 String systemId)

warning

public void warning(SAXParseException exception)

error

public void error(SAXParseException exception)
           throws SAXException
Throws:
SAXException

fatalError

public void fatalError(SAXParseException exception)
                throws SAXException
Throws:
SAXException

XWork Project Page