Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.xmlrpc.parser
Class ExtParser

    java.lang.Object
      org.apache.xmlrpc.parser.ExtParser

All Implemented Interfaces:
  TypeParser, org.xml.sax.ContentHandler

Direct Known Subclasses:
  JaxbParser, NodeParser

    public abstract class ExtParser

extends java.lang.Object
implements TypeParser

Base class for parsing external XML representations, like DOM, or JAXB.

Constructor Summary
`ExtParser()`

Method Summary
`void` | `characters(char[] pChars, int pOffset, int pLength)`
`void` | `endDocument()`
`void` | `endElement(java.lang.String pURI, java.lang.String pLocalName, java.lang.String pQName)`
`void` | `endPrefixMapping(java.lang.String pPrefix)`
`protected abstract org.xml.sax.ContentHandler` | `getExtHandler()` Returns a content handler for parsing the actual contents.
`protected abstract java.lang.String` | `getTagName()` Returns the outer node name.
`void` | `ignorableWhitespace(char[] pChars, int pOffset, int pLength)`
`void` | `processingInstruction(java.lang.String pTarget, java.lang.String pData)`
`void` | `setDocumentLocator(org.xml.sax.Locator pLocator)`
`void` | `skippedEntity(java.lang.String pName)`
`void` | `startDocument()`
`void` | `startElement(java.lang.String pURI, java.lang.String pLocalName, java.lang.String pQName, org.xml.sax.Attributes pAttrs)`
`void` | `startPrefixMapping(java.lang.String pPrefix, java.lang.String pURI)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface org.apache.xmlrpc.parser.TypeParser
`getResult`

Constructor Detail

### ExtParser

    public ExtParser()

Method Detail

### getExtHandler

    protected abstract org.xml.sax.ContentHandler getExtHandler()
                                                         throws org.xml.sax.SAXException

  Returns a content handler for parsing the actual contents.

  Returns:
    A SAX handler for parsing the XML inside the outer ex:foo element.
  Throws:
    `org.xml.sax.SAXException` - Creating the handler failed.

### getTagName

    protected abstract java.lang.String getTagName()

  Returns the outer node name.

### endDocument

    public void endDocument()
                     throws org.xml.sax.SAXException

  Specified by:
    `endDocument` in interface `org.xml.sax.ContentHandler`
  Throws:
    `org.xml.sax.SAXException`

### startDocument

    public void startDocument()
                       throws org.xml.sax.SAXException

  Specified by:
    `startDocument` in interface `org.xml.sax.ContentHandler`
  Throws:
    `org.xml.sax.SAXException`

### characters

    public void characters(char[] pChars,
                           int pOffset,
                           int pLength)
                    throws org.xml.sax.SAXException

  Specified by:
    `characters` in interface `org.xml.sax.ContentHandler`
  Throws:
    `org.xml.sax.SAXException`

### ignorableWhitespace

    public void ignorableWhitespace(char[] pChars,
                                    int pOffset,
                                    int pLength)
                             throws org.xml.sax.SAXException

  Specified by:
    `ignorableWhitespace` in interface `org.xml.sax.ContentHandler`
  Throws:
    `org.xml.sax.SAXException`

### endPrefixMapping

    public void endPrefixMapping(java.lang.String pPrefix)
                          throws org.xml.sax.SAXException

  Specified by:
    `endPrefixMapping` in interface `org.xml.sax.ContentHandler`
  Throws:
    `org.xml.sax.SAXException`

### skippedEntity

    public void skippedEntity(java.lang.String pName)
                       throws org.xml.sax.SAXException

  Specified by:
    `skippedEntity` in interface `org.xml.sax.ContentHandler`
  Throws:
    `org.xml.sax.SAXException`

### setDocumentLocator

    public void setDocumentLocator(org.xml.sax.Locator pLocator)

  Specified by:
    `setDocumentLocator` in interface `org.xml.sax.ContentHandler`

### processingInstruction

    public void processingInstruction(java.lang.String pTarget,
                                      java.lang.String pData)
                               throws org.xml.sax.SAXException

  Specified by:
    `processingInstruction` in interface `org.xml.sax.ContentHandler`
  Throws:
    `org.xml.sax.SAXException`

### startPrefixMapping

    public void startPrefixMapping(java.lang.String pPrefix,
                                   java.lang.String pURI)
                            throws org.xml.sax.SAXException

  Specified by:
    `startPrefixMapping` in interface `org.xml.sax.ContentHandler`
  Throws:
    `org.xml.sax.SAXException`

### startElement

    public void startElement(java.lang.String pURI,
                             java.lang.String pLocalName,
                             java.lang.String pQName,
                             org.xml.sax.Attributes pAttrs)
                      throws org.xml.sax.SAXException

  Specified by:
    `startElement` in interface `org.xml.sax.ContentHandler`
  Throws:
    `org.xml.sax.SAXException`

### endElement

    public void endElement(java.lang.String pURI,
                           java.lang.String pLocalName,
                           java.lang.String pQName)
                    throws org.xml.sax.SAXException

  Specified by:
    `endElement` in interface `org.xml.sax.ContentHandler`
  Throws:
    `org.xml.sax.SAXException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.