public abstract class OMSerializableImpl extends Object implements org.apache.axiom.om.OMSerializable
| Modifier and Type | Field and Description |
|---|---|
org.apache.axiom.om.OMXMLParserWrapper |
builder
Field parserWrapper
|
protected boolean |
done
Field done
|
protected org.apache.axiom.om.OMFactory |
factory |
| Constructor and Description |
|---|
OMSerializableImpl(org.apache.axiom.om.OMFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
build()
Parses this node and builds the object structure in memory.
|
void |
close(boolean build) |
org.apache.axiom.om.OMFactory |
getOMFactory() |
abstract void |
internalSerialize(XMLStreamWriter writer,
boolean cache)
Serializes the node.
|
boolean |
isComplete() |
void |
serialize(OutputStream output) |
void |
serialize(OutputStream output,
org.apache.axiom.om.OMOutputFormat format) |
void |
serialize(Writer writer) |
void |
serialize(Writer writer2,
org.apache.axiom.om.OMOutputFormat format) |
void |
serialize(XMLStreamWriter xmlWriter) |
void |
serialize(XMLStreamWriter xmlWriter,
boolean cache) |
void |
serializeAndConsume(OutputStream output) |
void |
serializeAndConsume(OutputStream output,
org.apache.axiom.om.OMOutputFormat format) |
void |
serializeAndConsume(Writer writer) |
void |
serializeAndConsume(Writer writer2,
org.apache.axiom.om.OMOutputFormat format) |
void |
serializeAndConsume(XMLStreamWriter xmlWriter) |
abstract void |
setComplete(boolean state) |
public org.apache.axiom.om.OMXMLParserWrapper builder
protected boolean done
protected final org.apache.axiom.om.OMFactory factory
public OMSerializableImpl(org.apache.axiom.om.OMFactory factory)
public org.apache.axiom.om.OMFactory getOMFactory()
getOMFactory in interface org.apache.axiom.om.OMSerializablepublic boolean isComplete()
isComplete in interface org.apache.axiom.om.OMSerializablepublic void build()
throws org.apache.axiom.om.OMException
build in interface org.apache.axiom.om.OMSerializableorg.apache.axiom.om.OMExceptionpublic void close(boolean build)
close in interface org.apache.axiom.om.OMSerializablepublic abstract void setComplete(boolean state)
public abstract void internalSerialize(XMLStreamWriter writer, boolean cache) throws XMLStreamException
writer - XMLStreamExceptionpublic void serialize(XMLStreamWriter xmlWriter) throws XMLStreamException
serialize in interface org.apache.axiom.om.OMSerializableXMLStreamExceptionpublic void serializeAndConsume(XMLStreamWriter xmlWriter) throws XMLStreamException
serializeAndConsume in interface org.apache.axiom.om.OMSerializableXMLStreamExceptionpublic void serialize(XMLStreamWriter xmlWriter, boolean cache) throws XMLStreamException
serialize in interface org.apache.axiom.om.OMSerializableXMLStreamExceptionpublic void serialize(OutputStream output) throws XMLStreamException
XMLStreamExceptionpublic void serialize(Writer writer) throws XMLStreamException
XMLStreamExceptionpublic void serializeAndConsume(OutputStream output) throws XMLStreamException
XMLStreamExceptionpublic void serializeAndConsume(Writer writer) throws XMLStreamException
XMLStreamExceptionpublic void serialize(OutputStream output, org.apache.axiom.om.OMOutputFormat format) throws XMLStreamException
XMLStreamExceptionpublic void serialize(Writer writer2, org.apache.axiom.om.OMOutputFormat format) throws XMLStreamException
XMLStreamExceptionpublic void serializeAndConsume(OutputStream output, org.apache.axiom.om.OMOutputFormat format) throws XMLStreamException
XMLStreamExceptionpublic void serializeAndConsume(Writer writer2, org.apache.axiom.om.OMOutputFormat format) throws XMLStreamException
XMLStreamExceptionCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.