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

java.lang.Object
  extended by org.apache.axiom.om.impl.serialize.StreamingOMSerializer
All Implemented Interfaces:
XMLStreamConstants, OMSerializer

public class StreamingOMSerializer
extends Object
implements XMLStreamConstants, OMSerializer

Class StreamingOMSerializer


Field Summary
static String NAMESPACE_PREFIX
           
 
Fields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
 
Constructor Summary
StreamingOMSerializer()
           
 
Method Summary
 void serialize(XMLStreamReader reader, XMLStreamWriter writer)
          Method serialize.
 void serialize(XMLStreamReader reader, XMLStreamWriter writer, boolean startAtNext)
           
protected  void serializeAttributes(XMLStreamReader reader, XMLStreamWriter writer)
           
protected  void serializeCData(XMLStreamReader reader, XMLStreamWriter writer)
          Method serializeCData.
protected  void serializeComment(XMLStreamReader reader, XMLStreamWriter writer)
          Method serializeComment.
protected  void serializeElement(XMLStreamReader reader, XMLStreamWriter writer)
           
protected  void serializeEndElement(XMLStreamWriter writer)
          Method serializeEndElement.
protected  void serializeNode(XMLStreamReader reader, XMLStreamWriter writer)
          Method serializeNode.
protected  void serializeNode(XMLStreamReader reader, XMLStreamWriter writer, boolean startAtNext)
           
protected  void serializeProcessingInstruction(XMLStreamReader reader, XMLStreamWriter writer)
          Method serializeProcessingInstruction.
protected  void serializeText(XMLStreamReader reader, XMLStreamWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAMESPACE_PREFIX

public static final String NAMESPACE_PREFIX
See Also:
Constant Field Values
Constructor Detail

StreamingOMSerializer

public StreamingOMSerializer()
Method Detail

serialize

public void serialize(XMLStreamReader reader,
                      XMLStreamWriter writer)
               throws XMLStreamException
Method serialize.

Specified by:
serialize in interface OMSerializer
Parameters:
reader -
writer -
Throws:
XMLStreamException

serialize

public void serialize(XMLStreamReader reader,
                      XMLStreamWriter writer,
                      boolean startAtNext)
               throws XMLStreamException
Parameters:
reader -
writer -
startAtNext - indicate if reading should start at next event or current event
Throws:
XMLStreamException

serializeNode

protected void serializeNode(XMLStreamReader reader,
                             XMLStreamWriter writer)
                      throws XMLStreamException
Method serializeNode.

Parameters:
reader -
writer -
Throws:
XMLStreamException

serializeNode

protected void serializeNode(XMLStreamReader reader,
                             XMLStreamWriter writer,
                             boolean startAtNext)
                      throws XMLStreamException
Throws:
XMLStreamException

serializeElement

protected void serializeElement(XMLStreamReader reader,
                                XMLStreamWriter writer)
                         throws XMLStreamException
Parameters:
reader -
writer -
Throws:
XMLStreamException

serializeEndElement

protected void serializeEndElement(XMLStreamWriter writer)
                            throws XMLStreamException
Method serializeEndElement.

Parameters:
writer -
Throws:
XMLStreamException

serializeText

protected void serializeText(XMLStreamReader reader,
                             XMLStreamWriter writer)
                      throws XMLStreamException
Parameters:
reader -
writer -
Throws:
XMLStreamException

serializeCData

protected void serializeCData(XMLStreamReader reader,
                              XMLStreamWriter writer)
                       throws XMLStreamException
Method serializeCData.

Parameters:
reader -
writer -
Throws:
XMLStreamException

serializeComment

protected void serializeComment(XMLStreamReader reader,
                                XMLStreamWriter writer)
                         throws XMLStreamException
Method serializeComment.

Parameters:
reader -
writer -
Throws:
XMLStreamException

serializeProcessingInstruction

protected void serializeProcessingInstruction(XMLStreamReader reader,
                                              XMLStreamWriter writer)
                                       throws XMLStreamException
Method serializeProcessingInstruction.

Parameters:
reader -
writer -
Throws:
XMLStreamException

serializeAttributes

protected void serializeAttributes(XMLStreamReader reader,
                                   XMLStreamWriter writer)
                            throws XMLStreamException
Parameters:
reader -
writer -
Throws:
XMLStreamException


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