public abstract class XMLObject
extends java.lang.Object
XMLObject
is the interface definition of an XML
object.Modifier and Type | Field and Description |
---|---|
protected org.w3c.dom.Node |
xmlNode |
protected XMLObjectType |
xmlObjectType |
Constructor and Description |
---|
XMLObject(XMLObjectType xmlObjectType) |
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Node |
createXML() |
protected boolean |
exists(java.lang.String value)
Checks if a value exists
|
boolean |
fieldsExists() |
XMLObjectType |
getXMLObjectType() |
void |
setXMLString(org.w3c.dom.Node xmlNode)
This method is used to set the parameters in the XML object.
|
void |
setXMLString(java.lang.String xml)
This method is used to set the parameters in the XML Object.
|
protected final XMLObjectType xmlObjectType
protected org.w3c.dom.Node xmlNode
public XMLObject(XMLObjectType xmlObjectType)
xmlObjectType
- public org.w3c.dom.Node createXML() throws java.lang.Exception
java.lang.Exception
public boolean fieldsExists()
protected boolean exists(java.lang.String value)
value
- public XMLObjectType getXMLObjectType()
public void setXMLString(org.w3c.dom.Node xmlNode) throws UnableToParseXMLException
xmlNode
- A Node representing the root element of an object snippet
from a B2B aseXML message.UnableToParseXMLException
public void setXMLString(java.lang.String xml) throws UnableToParseXMLException
xml
- The XML snippet of the XML objectUnableToParseXMLException