Package org.apache.xmlrpc.parser
Class ByteArrayParser
java.lang.Object
org.apache.xmlrpc.parser.TypeParserImpl
org.apache.xmlrpc.parser.ByteArrayParser
- All Implemented Interfaces:
TypeParser
,ContentHandler
- Direct Known Subclasses:
SerializableParser
A parser for base64 elements.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ByteArrayOutputStream
private org.apache.ws.commons.util.Base64.Decoder
private int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(char[] pChars, int pStart, int pLength) void
endElement
(String pURI, String pLocalName, String pQName) void
void
startElement
(String pURI, String pLocalName, String pQName, Attributes pAttrs) Methods inherited from class org.apache.xmlrpc.parser.TypeParserImpl
endDocument, endPrefixMapping, getDocumentLocator, getResult, ignorableWhitespace, isEmpty, processingInstruction, setDocumentLocator, setResult, skippedEntity, startPrefixMapping
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
level
private int level -
baos
-
decoder
private org.apache.ws.commons.util.Base64.Decoder decoder
-
-
Constructor Details
-
ByteArrayParser
public ByteArrayParser()
-
-
Method Details
-
startDocument
- Specified by:
startDocument
in interfaceContentHandler
- Overrides:
startDocument
in classTypeParserImpl
- Throws:
SAXException
-
characters
- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classTypeParserImpl
- Throws:
SAXException
-
endElement
- Throws:
SAXException
-
startElement
public void startElement(String pURI, String pLocalName, String pQName, Attributes pAttrs) throws SAXException - Throws:
SAXException
-