|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BOXMLSerializer
The BOXMLSerializer interface represents the client programming model interface for the BOXMLSerializer service. The BOXMLSerializer service provides the following capabilities:
The deserialization of the Business Document results in a BOXMLDocuemnt. From that document, the DataObject can be retrieved and utilized.
Note: Some of the operations take options, however, in the initial release of the product there are currently no supported options.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
SCHEMALOCATION
|
Method Summary | |
---|---|
BOXMLDocument |
createXMLDocument(commonj.sdo.DataObject businessObject,
java.lang.String targetNamespace,
java.lang.String rootElementName)
Creates a BOXMLDocument representing a Business Document consisting of a root element name and its target namespace, and the contained DataObject. |
BOXMLDocument |
readXMLDocument(java.io.InputStream inputStream)
Deserializes the Business Document from an input stream. |
BOXMLDocument |
readXMLDocumentWithOptions(java.io.InputStream inputStream,
java.lang.Object options)
Deserializes the Business Document from an input stream with options. |
void |
writeDataObject(commonj.sdo.DataObject businessObject,
java.lang.String targetNamespace,
java.lang.String rootElementName,
java.io.OutputStream outputStream)
Serializes the Business Document consisting of a root element name and target namespace and the containing DataObject to the specified output stream. |
void |
writeDataObjectWithOptions(commonj.sdo.DataObject businessObject,
java.lang.String targetNamespace,
java.lang.String rootElementName,
java.io.OutputStream outputStream,
java.lang.Object options)
Serializes the Business Document consisting of a root element name and target namespace and the containing DataObject to the specified output stream with options. |
void |
writeXMLDocument(BOXMLDocument businessDocument,
java.io.OutputStream outputStream)
Serializes the Business Document as a XML v1.0 stream to the specified output stream. |
void |
writeXMLDocumentWithOptions(BOXMLDocument businessDocument,
java.io.OutputStream outputStream,
java.lang.Object options)
Serializes the Business Document as a XML v1.0 stream to the specified output stream with options. |
Field Detail |
---|
static final java.lang.String COPYRIGHT
static final java.lang.String SCHEMALOCATION
Method Detail |
---|
BOXMLDocument createXMLDocument(commonj.sdo.DataObject businessObject, java.lang.String targetNamespace, java.lang.String rootElementName)
businessObject
- The DataObject portion of the Business DocumenttargetNamespace
- The target namespace of the Business DocumentrootElementName
- The root element name of the Business Document
void writeXMLDocument(BOXMLDocument businessDocument, java.io.OutputStream outputStream) throws java.io.IOException
businessDocument
- The Business Document to serializeoutputStream
- The target output stream for the XML v1.0 stream
java.io.IOException
void writeXMLDocumentWithOptions(BOXMLDocument businessDocument, java.io.OutputStream outputStream, java.lang.Object options) throws java.io.IOException
businessDocument
- The Business Document to serializeoutputStream
- The target output stream for the XML v1.0 streamoptions
- Serialization options
java.io.IOException
void writeDataObject(commonj.sdo.DataObject businessObject, java.lang.String targetNamespace, java.lang.String rootElementName, java.io.OutputStream outputStream) throws java.io.IOException
businessObject
- The Business ObjecttargetNamespace
- The target namespace of the Business DocumentrootElementName
- The root element name of the Business DocumentoutputStream
- The target output stream
java.io.IOException
void writeDataObjectWithOptions(commonj.sdo.DataObject businessObject, java.lang.String targetNamespace, java.lang.String rootElementName, java.io.OutputStream outputStream, java.lang.Object options) throws java.io.IOException
businessObject
- The Business ObjecttargetNamespace
- The target namespace of the Business DocumentrootElementName
- The root element name of the Business DocumentoutputStream
- The target output streamoptions
- Serialization options
java.io.IOException
BOXMLDocument readXMLDocument(java.io.InputStream inputStream) throws java.io.IOException
inputStream
- The source input stream
java.io.IOException
BOXMLDocument readXMLDocumentWithOptions(java.io.InputStream inputStream, java.lang.Object options) throws java.io.IOException
inputStream
- The source input streamoptions
- Deserialization options
java.io.IOException
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |