com.ibm.websphere.bo
Interface BOXMLDocument
- public interface BOXMLDocument
- Using BOFactory.createXMLDocument
- Using BOXMLSerializer.createXMLDocument
The BOXMLSerializer mechanism enables the creation of a Business Document in memory by composing together a root element, its target namespace, and an existing Business Object.
Business Documents can be serialized and deserialized using the BOXMLSerialization service.
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getDataObject()
Returns the Business Object associated with the Business Document.
|
|
getEncoding()
Returns the XML encoding of the Business Document.
|
|
getRootElementName()
Returns the name of the root element of the Business Document.
|
|
getRootElementURI()
Returns the target namespace of the Business Document.
|
|
getXMLVersion()
Returns the XML version of the Business Document, or null if it is
not specified.
|
|
setEncoding(java.lang.String encoding)
Sets the XML encoding of the Business Document.
|
|
setXMLVersion(java.lang.String xmlVersion)
Sets the XML version of the Business Document.
|
Field Detail
COPYRIGHT
- static final java.lang.String COPYRIGHT
See Also:
Method Detail
getDataObject
- commonj.sdo.DataObject getDataObject( )
Returns the Business Object associated with the Business Document.
Returns:
The Business Object from the Business Document
getRootElementURI
- java.lang.String getRootElementURI( )
Returns the target namespace of the Business Document.
If null is returned, it represents the null target namespace.
Returns:
The target namespace from the Business Document
getRootElementName
- java.lang.String getRootElementName( )
Returns the name of the root element of the Business Document.
Returns:
The root element name from the Business Document
getXMLVersion
- java.lang.String getXMLVersion( )
Returns the XML version of the Business Document, or null if it is
not specified.
Returns:
The XML version of the Business Document
setXMLVersion
- void setXMLVersion(java.lang.String xmlVersion)
Sets the XML version of the Business Document.
getEncoding
- java.lang.String getEncoding()
Returns the XML encoding of the Business Document.
The default encoding is UTF-8.
Returns:
The encoding of the Business Document
setEncoding
- void setEncoding(java.lang.String encoding)
Sets the XML encoding of the Business Document.
Parameters:
encoding
- The XML encoding of the Business Document