org.apache.axis2.datasource
Class XMLStringDataSource
java.lang.Object
org.apache.axiom.om.ds.OMDataSourceExtBase
org.apache.axis2.datasource.XMLStringDataSource
- All Implemented Interfaces:
- org.apache.axiom.om.OMDataSource, org.apache.axiom.om.OMDataSourceExt
public class XMLStringDataSource
- extends org.apache.axiom.om.ds.OMDataSourceExtBase
OMDataSource backed by a string containing xml data
Methods inherited from class org.apache.axiom.om.ds.OMDataSourceExtBase |
getProperty, getXMLInputStream, hasProperty, serialize, serialize, serialize, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLStringDataSource
public XMLStringDataSource(java.lang.String data)
close
public void close()
copy
public org.apache.axiom.om.OMDataSourceExt copy()
getObject
public java.lang.Object getObject()
getReader
public javax.xml.stream.XMLStreamReader getReader()
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
getXMLBytes
public byte[] getXMLBytes(java.lang.String encoding)
throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
isDestructiveRead
public boolean isDestructiveRead()
isDestructiveWrite
public boolean isDestructiveWrite()
Copyright © 2007 Apache Web Services Project. All Rights Reserved.