org.apache.axiom.om.impl.serialize
Class StreamWriterToContentHandlerConverter

java.lang.Object
  extended by org.apache.axiom.om.impl.serialize.StreamWriterToContentHandlerConverter
All Implemented Interfaces:
ContentHandler

public class StreamWriterToContentHandlerConverter
extends Object
implements ContentHandler

Class StreamWriterToContentHandlerConverter


Constructor Summary
StreamWriterToContentHandlerConverter(XMLStreamWriter writer)
          Constructor StreamWriterToContentHandlerConverter.
 
Method Summary
 void characters(char[] ch, int start, int length)
          Method characters.
 void endDocument()
          Method endDocument.
 void endElement(String namespaceURI, String localName, String qName)
          Method endElement.
 void endPrefixMapping(String prefix)
          Method endPrefixMapping.
 void ignorableWhitespace(char[] ch, int start, int length)
          Method ignorableWhitespace.
 void processingInstruction(String target, String data)
          Method processingInstruction.
 void setDocumentLocator(Locator locator)
          Method setDocumentLocator.
 void skippedEntity(String name)
          Method skippedEntity.
 void startDocument()
          Method startDocument.
 void startElement(String namespaceURI, String localName, String qName, Attributes atts)
          Method startElement.
 void startPrefixMapping(String prefix, String uri)
          Method startPrefixMapping.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamWriterToContentHandlerConverter

public StreamWriterToContentHandlerConverter(XMLStreamWriter writer)
Constructor StreamWriterToContentHandlerConverter.

Parameters:
writer -
Method Detail

endDocument

public void endDocument()
                 throws SAXException
Method endDocument.

Specified by:
endDocument in interface ContentHandler
Throws:
SAXException

startDocument

public void startDocument()
                   throws SAXException
Method startDocument.

Specified by:
startDocument in interface ContentHandler
Throws:
SAXException

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws SAXException
Method characters.

Specified by:
characters in interface ContentHandler
Parameters:
ch -
start -
length -
Throws:
SAXException

ignorableWhitespace

public void ignorableWhitespace(char[] ch,
                                int start,
                                int length)
                         throws SAXException
Method ignorableWhitespace.

Specified by:
ignorableWhitespace in interface ContentHandler
Parameters:
ch -
start -
length -
Throws:
SAXException

endPrefixMapping

public void endPrefixMapping(String prefix)
                      throws SAXException
Method endPrefixMapping.

Specified by:
endPrefixMapping in interface ContentHandler
Parameters:
prefix -
Throws:
SAXException

skippedEntity

public void skippedEntity(String name)
                   throws SAXException
Method skippedEntity.

Specified by:
skippedEntity in interface ContentHandler
Parameters:
name -
Throws:
SAXException

setDocumentLocator

public void setDocumentLocator(Locator locator)
Method setDocumentLocator.

Specified by:
setDocumentLocator in interface ContentHandler
Parameters:
locator -

processingInstruction

public void processingInstruction(String target,
                                  String data)
                           throws SAXException
Method processingInstruction.

Specified by:
processingInstruction in interface ContentHandler
Parameters:
target -
data -
Throws:
SAXException

startPrefixMapping

public void startPrefixMapping(String prefix,
                               String uri)
                        throws SAXException
Method startPrefixMapping.

Specified by:
startPrefixMapping in interface ContentHandler
Parameters:
prefix -
uri -
Throws:
SAXException

endElement

public void endElement(String namespaceURI,
                       String localName,
                       String qName)
                throws SAXException
Method endElement.

Specified by:
endElement in interface ContentHandler
Parameters:
namespaceURI -
localName -
qName -
Throws:
SAXException

startElement

public void startElement(String namespaceURI,
                         String localName,
                         String qName,
                         Attributes atts)
                  throws SAXException
Method startElement.

Specified by:
startElement in interface ContentHandler
Parameters:
namespaceURI -
localName -
qName -
atts -
Throws:
SAXException


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.