public abstract class OMDataSourceExtBase extends Object implements OMDataSourceExt
LOSSY_PREFIX| Constructor and Description |
|---|
OMDataSourceExtBase() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getProperty(String key)
Query a property stored on the OMDataSource
|
InputStream |
getXMLInputStream(String encoding)
Returns a InputStream representing the xml data
|
boolean |
hasProperty(String key)
Returns true if property is set
|
void |
serialize(OutputStream output,
OMOutputFormat format)
Serializes element data directly to stream.
|
void |
serialize(Writer writer,
OMOutputFormat format)
Serializes element data directly to writer.
|
void |
serialize(XMLStreamWriter xmlWriter)
Serializes element data directly to StAX writer.
|
Object |
setProperty(String key,
Object value)
Set a property on the OMDataSource
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, copy, getObject, getReader, getXMLBytes, isDestructiveRead, isDestructiveWritepublic Object getProperty(String key)
OMDataSourceExtgetProperty in interface OMDataSourceExtpublic Object setProperty(String key, Object value)
OMDataSourceExtsetProperty in interface OMDataSourceExtpublic boolean hasProperty(String key)
OMDataSourceExthasProperty in interface OMDataSourceExtpublic InputStream getXMLInputStream(String encoding) throws UnsupportedEncodingException
OMDataSourceExtgetXMLInputStream in interface OMDataSourceExtencoding - String encoding of InputStreamUnsupportedEncodingExceptionpublic void serialize(OutputStream output, OMOutputFormat format) throws XMLStreamException
OMDataSourceExtserialize in interface OMDataSourceserialize in interface OMDataSourceExtoutput - destination stream for element XML textformat - Output format information. The implementation must use this information
to choose the correct character set encoding when writing to the
output stream. This parameter must not be null.XMLStreamExceptionOMDataSourceExtpublic void serialize(Writer writer, OMOutputFormat format) throws XMLStreamException
OMDataSourceExtserialize in interface OMDataSourceserialize in interface OMDataSourceExtwriter - destination writer for element XML textformat - output format information (null if none; may
be ignored if not supported by data binding even if supplied)XMLStreamExceptionOMDataSourceExtpublic void serialize(XMLStreamWriter xmlWriter) throws XMLStreamException
OMDataSourceExtserialize in interface OMDataSourceserialize in interface OMDataSourceExtxmlWriter - destination writerXMLStreamExceptionOMDataSourceExtCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.