public class TextFileDataSource
extends org.apache.axiom.om.ds.OMDataSourceExtBase
| Constructor and Description |
|---|
TextFileDataSource(org.apache.axiom.util.blob.OverflowBlob overflowBlob,
Charset charset) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.axiom.om.OMDataSourceExt |
copy() |
static org.apache.axiom.om.OMSourcedElement |
createOMSourcedElement(org.apache.axiom.util.blob.OverflowBlob overflowBlob,
Charset charset) |
Object |
getObject() |
XMLStreamReader |
getReader() |
byte[] |
getXMLBytes(String encoding) |
boolean |
isDestructiveRead() |
boolean |
isDestructiveWrite() |
void |
serialize(OutputStream out,
org.apache.axiom.om.OMOutputFormat format) |
void |
serialize(Writer writer,
org.apache.axiom.om.OMOutputFormat format) |
void |
serialize(XMLStreamWriter xmlWriter) |
public TextFileDataSource(org.apache.axiom.util.blob.OverflowBlob overflowBlob,
Charset charset)
public static org.apache.axiom.om.OMSourcedElement createOMSourcedElement(org.apache.axiom.util.blob.OverflowBlob overflowBlob,
Charset charset)
public void serialize(OutputStream out, org.apache.axiom.om.OMOutputFormat format) throws XMLStreamException
serialize in interface org.apache.axiom.om.OMDataSourceserialize in interface org.apache.axiom.om.OMDataSourceExtserialize in class org.apache.axiom.om.ds.OMDataSourceExtBaseXMLStreamExceptionpublic void serialize(Writer writer, org.apache.axiom.om.OMOutputFormat format) throws XMLStreamException
serialize in interface org.apache.axiom.om.OMDataSourceserialize in interface org.apache.axiom.om.OMDataSourceExtserialize in class org.apache.axiom.om.ds.OMDataSourceExtBaseXMLStreamExceptionpublic void serialize(XMLStreamWriter xmlWriter) throws XMLStreamException
serialize in interface org.apache.axiom.om.OMDataSourceserialize in interface org.apache.axiom.om.OMDataSourceExtserialize in class org.apache.axiom.om.ds.OMDataSourceExtBaseXMLStreamExceptionpublic XMLStreamReader getReader() throws XMLStreamException
XMLStreamExceptionpublic Object getObject()
public boolean isDestructiveRead()
public boolean isDestructiveWrite()
public byte[] getXMLBytes(String encoding) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic void close()
public org.apache.axiom.om.OMDataSourceExt copy()
Copyright © 2005–2019 Apache Software Foundation. All rights reserved.