Constructor and Description |
---|
XMLField(String xmlPath)
Used to create a XML field with specified path.
|
XMLField(String xmlPath,
FieldAttribute fieldAttribute)
Used to create an XML field with the specified path and
FieldAttribute enumeration. |
XMLField(String xmlPath,
String name,
String label)
Used to create an XML field with the specified path, name and label.
|
XMLField(String xmlPath,
String name,
String label,
FieldAttribute fieldAttribute)
Used to create an XML field with the specified path, name, label and
FieldAttribute enumeration. |
XMLField(String xmlPath,
String name,
String label,
int index)
Used to create an XML field with the specified path, name, label and index.
|
XMLField(String xmlPath,
String name,
String label,
int index,
FieldAttribute fieldAttribute)
Used to create an XML field with the specified path, name, label, index and
FieldAttribute enumeration. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
FieldAttribute |
getFieldAttribute()
Returns the specified
FieldAttribute for this XML field. |
int |
getIndex()
Returns the specified field index.
|
String |
getLabel()
Returns the specified field label.
|
String |
getName()
Returns the specified field name.
|
String |
getXMLPath()
Returns the specified field path.
|
int |
hashCode() |
void |
setLabel(String label)
Sets a label to this field.
|
void |
setName(String name)
Sets a name to this field.
|
public XMLField(String xmlPath) throws DataExchangeException
DataExchangeException
public XMLField(String xmlPath, FieldAttribute fieldAttribute) throws DataExchangeException
FieldAttribute
enumeration. If the FieldAttribute
enumeration is not a NO_SOURCE_FIELD
, the field path must not be null or empty. Otherwise, an exception will be thrown.DataExchangeException
public XMLField(String xmlPath, String name, String label) throws DataExchangeException
DataExchangeException
public XMLField(String xmlPath, String name, String label, FieldAttribute fieldAttribute) throws DataExchangeException
FieldAttribute
enumeration. If the FieldAttribute
enumeration is not a NO_SOURCE_FIELD
, the field path must not be null or empty. Otherwise, an exception will be thrown.DataExchangeException
public XMLField(String xmlPath, String name, String label, int index) throws DataExchangeException
DataExchangeException
public XMLField(String xmlPath, String name, String label, int index, FieldAttribute fieldAttribute) throws DataExchangeException
FieldAttribute
enumeration. If the FieldAttribute
enumeration is not a NO_SOURCE_FIELD
, the field path must not be null or empty. Otherwise, an exception will be thrown.DataExchangeException
public String getName()
public void setName(String name)
public String getLabel()
public void setLabel(String label)
public String getXMLPath()
public int getIndex()
public final FieldAttribute getFieldAttribute()
FieldAttribute
for this XML field.