org.apache.axiom.om.impl.llom
Class OMSerializableImpl
java.lang.Object
org.apache.axiom.om.impl.llom.OMSerializableImpl
- All Implemented Interfaces:
- OMSerializable
- Direct Known Subclasses:
- OMDocumentImpl, OMNodeImpl
public abstract class OMSerializableImpl
- extends java.lang.Object
- implements OMSerializable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
builder
public OMXMLParserWrapper builder
- Field parserWrapper
done
protected boolean done
- Field done
factory
protected final OMFactory factory
OMSerializableImpl
public OMSerializableImpl(OMFactory factory)
getOMFactory
public OMFactory getOMFactory()
- Specified by:
getOMFactory in interface OMSerializable
isComplete
public boolean isComplete()
- Specified by:
isComplete in interface OMSerializable
build
public void build()
throws OMException
- Parses this node and builds the object structure in memory. However a node, created
programmatically, will have done set to true by default and this will cause populateyourself
not to work properly!
- Specified by:
build in interface OMSerializable
- Throws:
OMException
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-2010 The Apache Software Foundation. All Rights Reserved.