com.ibm.mm.sdk.xml
Class DKXMLDOMItem
- java.lang.Object
com.ibm.mm.sdk.xml.DKXMLItem
com.ibm.mm.sdk.xml.DKXMLDOMItem
- public class DKXMLDOMItem
- extends DKXMLItem
The system properties, links information and/or resource objects can be specified in a separate XML document for ingest() using the setItemProperties() method. Similarly, a different option can be specified (such as DK_CM_XML_SYSTEM_PROPERTY_REFERENCE) to export the properties in a separate XML document in extract(). A user can retrieve such information using the getItemProperties() method.
Since:
Version 8.3
Constructor Summary
Constructor and Description |
---|
DKXMLDOMItem()
constructor - create a DKXMLDOMItem object
|
DKXMLDOMItem(org.w3c.dom.Document xmlDOM)
constructor - create a DKXMLDOMItem object and set the XML document
in DOM format.
|
DKXMLDOMItem(org.w3c.dom.Document xmlDOM,org.w3c.dom.Document sysProp)
constructor - create a DKXMLDOMItem object and sets the XML document
and system properties in the DOM format.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
convertToStream(org.w3c.dom.Document domObj,java.io.OutputStream outStream)
Convert a DOM object to an output stream object.
|
|
getItemProperties()
Return an XML document which contains system, resource and/or links properties of item in DOM format.
|
|
getXMLItem()
Return XMLized item in DOM format.
|
|
setItemProperties(org.w3c.dom.Document sysProp)
Set the XML document which contains system, resource and/or links properties of item in DOM format
|
|
setXMLItem(org.w3c.dom.Document xmlDOM)
Set the XML item in DOM format
|
Methods inherited from class com.ibm.mm.sdk.xml.DKXMLItem |
---|
getContentAsStream, getContentLabels, getContentLength, setContentAsStream, setContentAsStream |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
DKXMLDOMItem
- public DKXMLDOMItem()
- throws DKXMLException
constructor - create a DKXMLDOMItem object
Throws:
DKXMLDOMItem
- public DKXMLDOMItem(org.w3c.dom.Document xmlDOM)
- throws DKXMLException
constructor - create a DKXMLDOMItem object and set the XML document
in DOM format.
DKXMLDOMItem
- public DKXMLDOMItem(org.w3c.dom.Document xmlDOM,
- org.w3c.dom.Document sysProp)
- throws DKXMLException
constructor - create a DKXMLDOMItem object and sets the XML document
and system properties in the DOM format.
Parameters:
xmlDOM
- DOM object representing an XML item. sysProp
- DOM object representing system properties of the XML item. Throws:
Method Detail
getXMLItem
- public org.w3c.dom.Document getXMLItem( )
- throws DKXMLException
Return XMLized item in DOM format.
getItemProperties
- public org.w3c.dom.Document getItemProperties( )
- throws DKXMLException
Return an XML document which contains system, resource and/or links properties of item in DOM format.
setXMLItem
- public void setXMLItem(org.w3c.dom.Document xmlDOM)
- throws DKXMLException
Set the XML item in DOM format
setItemProperties
- public void setItemProperties(org.w3c.dom.Document sysProp)
- throws DKXMLException
Set the XML document which contains system, resource and/or links properties of item in DOM format
convertToStream
- public void convertToStream(org.w3c.dom.Document domObj,
- java.io.OutputStream outStream)
- throws DKXMLException
Convert a DOM object to an output stream object. The output stream is
created and passed in as one of the input parameters.
Parameters:
domObj
- DOM object to be converted into output stream outStream
- output stream into which DOM object is to be written. Throws: