public class XmlObject extends Object implements Serializable, Comparable<XmlObject>, Cloneable
| Constructor and Description |
|---|
XmlObject()
Instantiates a new XML object.
|
XmlObject(String name,
AttributeType dataType)
Instantiates a new XML object.
|
XmlObject(XmlObject copy) |
| Modifier and Type | Method and Description |
|---|---|
XmlObject |
clone() |
int |
compareTo(XmlObject obj) |
boolean |
equals(Object obj) |
AttributeType |
getDataType()
Gets the data type.
|
String |
getName()
Gets the name.
|
String |
getXpath()
Gets the XPath.
|
void |
setDataType(AttributeType dataType)
Sets the data type.
|
void |
setName(String name)
Sets the name.
|
void |
setXpath(String xpath)
Sets the XPath.
|
public XmlObject()
public XmlObject(String name, AttributeType dataType)
name - the object namedataType - the data typepublic XmlObject(XmlObject copy)
public String getName()
public void setName(String name)
name - the new namepublic AttributeType getDataType()
public void setDataType(AttributeType dataType)
dataType - the new data typepublic String getXpath()
public void setXpath(String xpath)
xpath - the new XPathpublic int compareTo(XmlObject obj)
compareTo in interface Comparable<XmlObject>Copyright © 2022. All rights reserved.