org.apache.axiom.om.impl.llom
Class OMSerializableImpl

java.lang.Object
  extended by org.apache.axiom.om.impl.llom.OMSerializableImpl
All Implemented Interfaces:
OMInformationItem, OMSerializable
Direct Known Subclasses:
OMDocumentImpl, OMNodeImpl

public abstract class OMSerializableImpl
extends java.lang.Object
implements OMSerializable


Field Summary
protected  OMFactory factory
           
 
Constructor Summary
OMSerializableImpl(OMFactory factory)
           
 
Method Summary
 void close(boolean build)
           
abstract  OMXMLParserWrapper getBuilder()
           
 OMFactory getOMFactory()
           
abstract  void internalSerialize(javax.xml.stream.XMLStreamWriter writer, boolean cache)
          Serializes the node.
 void serialize(java.io.OutputStream output)
           
 void serialize(java.io.OutputStream output, OMOutputFormat format)
           
 void serialize(java.io.Writer writer)
           
 void serialize(java.io.Writer writer2, OMOutputFormat format)
           
 void serialize(javax.xml.stream.XMLStreamWriter xmlWriter)
           
 void serialize(javax.xml.stream.XMLStreamWriter xmlWriter, boolean cache)
           
 void serializeAndConsume(java.io.OutputStream output)
           
 void serializeAndConsume(java.io.OutputStream output, OMOutputFormat format)
           
 void serializeAndConsume(java.io.Writer writer)
           
 void serializeAndConsume(java.io.Writer writer2, OMOutputFormat format)
           
 void serializeAndConsume(javax.xml.stream.XMLStreamWriter xmlWriter)
           
abstract  void setComplete(boolean state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.axiom.om.OMSerializable
build, isComplete
 
Methods inherited from interface org.apache.axiom.om.OMInformationItem
clone
 

Field Detail

factory

protected OMFactory factory
Constructor Detail

OMSerializableImpl

public OMSerializableImpl(OMFactory factory)
Method Detail

getOMFactory

public OMFactory getOMFactory()
Specified by:
getOMFactory in interface OMInformationItem

getBuilder

public abstract OMXMLParserWrapper getBuilder()

close

public void close(boolean build)
Specified by:
close in interface OMSerializable

setComplete

public abstract void setComplete(boolean state)

internalSerialize

public abstract void internalSerialize(javax.xml.stream.XMLStreamWriter writer,
                                       boolean cache)
                                throws javax.xml.stream.XMLStreamException
Serializes the node.

Parameters:
writer -
Throws:
javax.xml.stream.XMLStreamException

serialize

public void serialize(javax.xml.stream.XMLStreamWriter xmlWriter)
               throws javax.xml.stream.XMLStreamException
Specified by:
serialize in interface OMSerializable
Throws:
javax.xml.stream.XMLStreamException

serializeAndConsume

public void serializeAndConsume(javax.xml.stream.XMLStreamWriter xmlWriter)
                         throws javax.xml.stream.XMLStreamException
Specified by:
serializeAndConsume in interface OMSerializable
Throws:
javax.xml.stream.XMLStreamException

serialize

public void serialize(javax.xml.stream.XMLStreamWriter xmlWriter,
                      boolean cache)
               throws javax.xml.stream.XMLStreamException
Specified by:
serialize in interface OMSerializable
Throws:
javax.xml.stream.XMLStreamException

serialize

public void serialize(java.io.OutputStream output)
               throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

serialize

public void serialize(java.io.Writer writer)
               throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

serializeAndConsume

public void serializeAndConsume(java.io.OutputStream output)
                         throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

serializeAndConsume

public void serializeAndConsume(java.io.Writer writer)
                         throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

serialize

public void serialize(java.io.OutputStream output,
                      OMOutputFormat format)
               throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

serialize

public void serialize(java.io.Writer writer2,
                      OMOutputFormat format)
               throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

serializeAndConsume

public void serializeAndConsume(java.io.OutputStream output,
                                OMOutputFormat format)
                         throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

serializeAndConsume

public void serializeAndConsume(java.io.Writer writer2,
                                OMOutputFormat format)
                         throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException


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