public abstract class OMSerializableImpl extends java.lang.Object implements OMSerializable
| Modifier and Type | Field and Description |
|---|---|
OMXMLParserWrapper |
builder
Field parserWrapper
|
protected boolean |
done
Field done
|
protected OMFactory |
factory |
| Constructor and Description |
|---|
OMSerializableImpl(OMFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
build()
Parses this node and builds the object structure in memory.
|
void |
close(boolean build) |
OMFactory |
getOMFactory() |
abstract void |
internalSerialize(javax.xml.stream.XMLStreamWriter writer,
boolean cache)
Serializes the node.
|
boolean |
isComplete() |
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) |
public OMXMLParserWrapper builder
protected boolean done
protected final OMFactory factory
public OMSerializableImpl(OMFactory factory)
public OMFactory getOMFactory()
getOMFactory in interface OMSerializablepublic boolean isComplete()
isComplete in interface OMSerializablepublic void build()
throws OMException
build in interface OMSerializableOMExceptionpublic void close(boolean build)
close in interface OMSerializablepublic abstract void setComplete(boolean state)
public abstract void internalSerialize(javax.xml.stream.XMLStreamWriter writer,
boolean cache)
throws javax.xml.stream.XMLStreamException
writer - javax.xml.stream.XMLStreamExceptionpublic void serialize(javax.xml.stream.XMLStreamWriter xmlWriter)
throws javax.xml.stream.XMLStreamException
serialize in interface OMSerializablejavax.xml.stream.XMLStreamExceptionpublic void serializeAndConsume(javax.xml.stream.XMLStreamWriter xmlWriter)
throws javax.xml.stream.XMLStreamException
serializeAndConsume in interface OMSerializablejavax.xml.stream.XMLStreamExceptionpublic void serialize(javax.xml.stream.XMLStreamWriter xmlWriter,
boolean cache)
throws javax.xml.stream.XMLStreamException
serialize in interface OMSerializablejavax.xml.stream.XMLStreamExceptionpublic void serialize(java.io.OutputStream output)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic void serialize(java.io.Writer writer)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic void serializeAndConsume(java.io.OutputStream output)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic void serializeAndConsume(java.io.Writer writer)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic void serialize(java.io.OutputStream output,
OMOutputFormat format)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic void serialize(java.io.Writer writer2,
OMOutputFormat format)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic void serializeAndConsume(java.io.OutputStream output,
OMOutputFormat format)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic void serializeAndConsume(java.io.Writer writer2,
OMOutputFormat format)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionCopyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.