public class IlrXmlObject
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable, ilog.rules.factory.IlrBindingObject
IlrClass creates an instance
of this class.
To create an IlrXmlObject instance without the XML driver it is possible
to use the IlrReflect class. The method
ilog.rules.factory.IlrReflect.getClass(String fullyQualifiedName) can be used together with
(IlrXmlObject)IlrReflect.newInstance(IlrClass class) to create the
IlrXmlObject instance.| Modifier and Type | Field and Description |
|---|---|
static java.lang.Object |
NIL_VALUE |
static int |
UNKNOWN_POSITIVE_VALUE |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Returns a clone of this XML object.
|
boolean |
equals(java.lang.Object arg)
Compares this XML object against the specified object.
|
java.lang.String |
getAbsoluteXPath(boolean withPosition) |
java.lang.String |
getRelativeXPath(boolean withPosition) |
IlrClass |
getXOMClass()
Gets the XOM class of the XML object.
|
IlrClass |
getXOMClass(IlrObjectModel model)
Gets the XOM class of the XML object.
|
java.lang.String |
getXOMClassName()
Gets the fully qualified name of the XOM class.
|
int |
hashCode()
Returns the hashcode of the XML Object.
|
java.lang.String |
printToString()
Prints the class name and the field values of this XML object to
a string.
|
void |
setAsRootElement(java.lang.String elementName,
java.lang.String namespace,
java.lang.String schemaLocation)
Set the root element information when the object
is saved as an XML document.
|
java.lang.String |
toString() |
public static final int UNKNOWN_POSITIVE_VALUE
public static final java.lang.Object NIL_VALUE
public boolean equals(java.lang.Object arg)
IlrClass and their field values
are the same.equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.Object clone()
clone in class java.lang.Objectpublic void setAsRootElement(java.lang.String elementName,
java.lang.String namespace,
java.lang.String schemaLocation)
elementName - The root element name.namespace - The element namespace. The null value represents
the default namespace.schemaLocation - The schema location. It could be null.public java.lang.String getRelativeXPath(boolean withPosition)
public java.lang.String getAbsoluteXPath(boolean withPosition)
public IlrClass getXOMClass()
getXOMClass in interface ilog.rules.factory.IlrBindingObjectpublic IlrClass getXOMClass(IlrObjectModel model)
getXOMClass in interface ilog.rules.factory.IlrBindingObjectpublic java.lang.String getXOMClassName()
getXOMClassName in interface ilog.rules.factory.IlrBindingObjectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String printToString()
© Copyright IBM Corp. 1987, 2017