public class Item extends DataWithExtAttributes implements IWithExtAttributes
<item> element of the Chang
e Tracking module.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_ATTR_NAME
property attribute name. |
static java.lang.String |
PROPERTY_CONTENT_VALUE
content value for property attribute. |
static java.lang.String |
TAG_NAME
The tag element name constant.
|
| Constructor and Description |
|---|
Item()
Creates a new
Item object. |
Item(Item original)
Copy constructor
|
Item(java.lang.String property)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttributesString()
Gets the attributes string.
|
java.lang.String |
getClosingTag()
Gets the complete
item closing tag. |
java.lang.String |
getOpeningTagName()
Gets the opening
item tag name. |
java.lang.String |
getProperty()
Gets the value of the property attribute.
|
java.lang.String |
getText()
Gets the contained text.
|
void |
setProperty(java.lang.String property)
Sets the value of the property attribute.
|
void |
setText(java.lang.String text)
Sets the contained text.
|
getExtAttributes, getExtAttributeValue, hasExtAttribute, setExtAttributesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExtAttributes, getExtAttributeValue, hasExtAttribute, setExtAttributespublic static final java.lang.String TAG_NAME
public static final java.lang.String PROPERTY_CONTENT_VALUE
content value for property attribute.public static final java.lang.String PROPERTY_ATTR_NAME
property attribute name.public Item()
Item object.public Item(Item original)
original - the original object to duplicate.public Item(java.lang.String property)
property - the value for the REQUIRED attribute property.setProperty(String)public void setText(java.lang.String text)
text - the contained text.public java.lang.String getText()
public final void setProperty(java.lang.String property)
content to signify the content of an element, or the name of
the attribute relating to the revision data. If either a
null or an empty string is provided, an
IllegalArgumentException is thrown.property - the value of the property attribute.public java.lang.String getProperty()
public java.lang.String getAttributesString()
public java.lang.String getOpeningTagName()
item tag name.item tag name.public java.lang.String getClosingTag()
item closing tag.item closing tag.