public class XmlObject extends Object implements Serializable, Comparable<XmlObject>
Constructor and Description |
---|
XmlObject()
Instantiates a new XML object.
|
XmlObject(String name,
String dataType)
Instantiates a new XML object.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(XmlObject obj) |
boolean |
equals(Object obj) |
String |
getDataType()
Gets the data type.
|
String |
getName()
Gets the name.
|
String |
getXpath()
Gets the XPath.
|
void |
setDataType(String dataType)
Sets the data type.
|
void |
setName(String name)
Sets the name.
|
void |
setXpath(String xpath)
Sets the XPath.
|
public String getName()
public void setName(String name)
name
- the new namepublic String getDataType()
public void setDataType(String 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 © 2017. All rights reserved.