|
ILOG JRules | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.rules.ras.core.binding.impl.IlrAbstractObjectImpl
public class IlrAbstractObjectImpl
An implementation of the IlrAbstractObject interface.
| Field Summary |
|---|
| Fields inherited from interface ilog.rules.ras.core.binding.IlrAbstractObject |
|---|
DEFAULT_TYPE |
| Constructor Summary | |
|---|---|
IlrAbstractObjectImpl()
Default constructor. |
|
IlrAbstractObjectImpl(com.thoughtworks.xstream.io.HierarchicalStreamReader reader)
A constructor. |
|
IlrAbstractObjectImpl(String xmlValue)
A constructor. |
|
| Method Summary | |
|---|---|
String |
getClassName()
Gets the name of the class. |
IlrAbstractField[] |
getFields()
Gets an array of IlrAbstractField classes. |
Properties |
getProperties()
Gets the properties. |
void |
setClassName(String className)
Sets the name of the class. |
void |
setFields(IlrAbstractField[] fields)
Sets the fields of the IlrXMLobject class. |
void |
setProperties(Properties properties)
Sets the properties. |
static String |
toString(IlrAbstractObject object,
String indent,
boolean withType)
Transforms an IlrAbstractObject instance into an XML string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlrAbstractObjectImpl()
public IlrAbstractObjectImpl(String xmlValue)
xmlValue - The XML XStream representation of the tested object.public IlrAbstractObjectImpl(com.thoughtworks.xstream.io.HierarchicalStreamReader reader)
HierarchicalStreamReader reader = new XppReader(anotherReader);
reader - The XStream reader, easy to instantiate and use.| Method Detail |
|---|
public void setClassName(String className)
IlrAbstractObject
setClassName in interface IlrAbstractObjectclassName - Denotes the name of the class.public String getClassName()
IlrAbstractObject
getClassName in interface IlrAbstractObjectpublic IlrAbstractField[] getFields()
IlrAbstractObjectIlrAbstractField classes.
getFields in interface IlrAbstractObjectpublic void setFields(IlrAbstractField[] fields)
IlrAbstractObjectIlrXMLobject class.
setFields in interface IlrAbstractObjectfields - The fields of the IlrXMLobject class.
public static String toString(IlrAbstractObject object,
String indent,
boolean withType)
IlrAbstractObject instance into an XML string.
object - The IlrAbstractObject instance to be transformed.withType - Indicates whether or not the type should be included in the generated XML.indent - The indentation of the XML to be created. The string will be
prepended to each line created.
public Properties getProperties()
public void setProperties(Properties properties)
properties - The properties to set.
|
ILOG JRules | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||