|
Oracle Fusion Middleware Java API Reference for Oracle Service Bus 11g Release 1 (11.1.1.6.3) E15033-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.bea.wli.sb.sources.XmlObjectSource
public class XmlObjectSource
Apache XBean Source Source content is represented as an Apache XBean. The XBean may be typed and so may be accompanied by a SchemaType object and an associated ClassLoader. However, both of these are entirely optional and the XBean may be untyped XML.
Field Summary | |
---|---|
static java.lang.String |
UNSYNC_XML_OPTION |
Fields inherited from interface com.bea.wli.sb.sources.Source |
---|
DEFAULT_CHARACTER_SET_ENCODING |
Constructor Summary | |
---|---|
XmlObjectSource(org.apache.xmlbeans.XmlObject xml) |
|
XmlObjectSource(org.apache.xmlbeans.XmlObject xml, org.apache.xmlbeans.SchemaType type, java.lang.ClassLoader cl) |
Method Summary | |
---|---|
static org.apache.xmlbeans.XmlOptions |
createXmlOptions(TransformOptions options) Utility class that creates a set of XmlOptions from a set of TransformOptions . |
java.lang.ClassLoader |
getClassLoader() |
java.io.InputStream |
getInputStream(TransformOptions options) Returns streaming byte-baseed representation of the Source's content. |
static XmlObjectSource |
getInstance(java.io.InputStream in, TransformOptions options) Utility method that creates a new XmlObjectSource from an InputStream containing marshalled XML. |
static XmlObjectSource |
getInstance(org.w3c.dom.Node node, TransformOptions options) Utility method that creates a new XmlObjectSource from a DOM node. |
static XmlObjectSource |
getInstance(java.lang.String xmlText, TransformOptions options) Utility method that creates a new XmlObjectSource from a piece of text containing stringified XML. |
org.apache.xmlbeans.SchemaType |
getSchemaType() |
org.apache.xmlbeans.XmlObject |
getXmlObject() |
java.lang.String |
toString() |
void |
writeTo(java.io.OutputStream os, TransformOptions options) Serializes the Source's content to a byte-based stream. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String UNSYNC_XML_OPTION
Constructor Detail |
---|
public XmlObjectSource(org.apache.xmlbeans.XmlObject xml)
public XmlObjectSource(org.apache.xmlbeans.XmlObject xml, org.apache.xmlbeans.SchemaType type, java.lang.ClassLoader cl)
Method Detail |
---|
public org.apache.xmlbeans.XmlObject getXmlObject()
public java.lang.ClassLoader getClassLoader()
public org.apache.xmlbeans.SchemaType getSchemaType()
public java.io.InputStream getInputStream(TransformOptions options)
Source
getInputStream
in interface Source
options
- Options used to affect the serializationpublic void writeTo(java.io.OutputStream os, TransformOptions options) throws java.io.IOException
Source
writeTo
in interface Source
os
- the OutputStream to which serialized content will be writtenoptions
- TransformOptions used to affect the serializationjava.io.IOException
public static org.apache.xmlbeans.XmlOptions createXmlOptions(TransformOptions options)
XmlOptions
from a set of TransformOptions
. This method takes into account a base-set of default XmlOptions.options
-public static XmlObjectSource getInstance(java.lang.String xmlText, TransformOptions options) throws TransformException
XmlObjectSource
from a piece of text containing stringified XML.xmlText
-options
-TransformException
public static XmlObjectSource getInstance(org.w3c.dom.Node node, TransformOptions options) throws TransformException
XmlObjectSource
from a DOM node.node
-options
-TransformException
public static XmlObjectSource getInstance(java.io.InputStream in, TransformOptions options) throws TransformException
XmlObjectSource
from an InputStream
containing marshalled XML. This utility method will consume the provided InputStream.in
-options
-TransformException
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle Service Bus 11g Release 1 (11.1.1.6.3) E15033-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |