|
Collaboration API Documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.filenet.bso.api.util.BsoXMLBinder
The BsoXMLBinder class manages unmarshaling XML content into Java classes, and marshaling Java classes into XML content.
BsoGenericSAXHandler
,
BsoXMLMarshal
,
BsoXMLUnmarshal
,
BsoXMLWriter
,
BsoXPathDef
Method Summary | |
static java.lang.String |
marshal(java.lang.Object rootObject)
Unmarshals a Java object and child objects into XML content and returns the XML content in a String parameter. |
static void |
marshal(java.lang.Object rootObject,
java.io.OutputStream xmlOutputStream)
Unmarshals a Java object and child objects into XML content and into a given OutputStream . |
static java.lang.Object |
unmarshal(java.io.InputStream xmlInputStream,
BsoXPathDef[] xPathDefinitions)
Marshals an XML input stream into a tree of Java classes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.lang.Object unmarshal(java.io.InputStream xmlInputStream, BsoXPathDef[] xPathDefinitions)
BsoXPathDef
objects specifies the Java classes that will be
generated.
xmlInputStream
- An InputStream
of XML content.
xPathDefinitions
- An array of BsoXPathDef
objects
specifying the object to generate.
public static void marshal(java.lang.Object rootObject, java.io.OutputStream xmlOutputStream)
OutputStream
.
All objects must implement the BsoXMLMarshal
interface.
rootObject
- The object to be marshaled.
xmlOutputStream
- The OutputStream
to which the XML content is written.public static java.lang.String marshal(java.lang.Object rootObject)
String
parameter.
All objects must implement the BsoXMLMarshal
interface.
rootObject
- The object to be marshaled.
|
Collaboration API Documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |