public class DataWithExtAttributes extends java.lang.Object implements IWithExtAttributes
IWithExtAttributes interface.| Modifier | Constructor and Description |
|---|---|
protected |
DataWithExtAttributes()
Creates an empty
DataWithExtAttributes object. |
protected |
DataWithExtAttributes(DataWithExtAttributes original)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ExtAttributes |
getExtAttributes()
Gets the
ExtAttributes object for the parent object. |
java.lang.String |
getExtAttributeValue(java.lang.String namespaceURI,
java.lang.String localName)
Gets the value for a given extension attribute.
|
boolean |
hasExtAttribute()
Indicates if at least one extension attribute is present.
|
void |
setExtAttributes(ExtAttributes attributes)
Sets the
ExtAttributes object associated with this object. |
protected DataWithExtAttributes()
DataWithExtAttributes object.protected DataWithExtAttributes(DataWithExtAttributes original)
original - the original object to duplicate.public void setExtAttributes(ExtAttributes attributes)
IWithExtAttributesExtAttributes object associated with this object.setExtAttributes in interface IWithExtAttributesattributes - the ExtAttributes object associated with this object.
If null, a new ExtAttributes object is created.public ExtAttributes getExtAttributes()
IWithExtAttributesExtAttributes object for the parent object.
If none exists, one is created.getExtAttributes in interface IWithExtAttributesExtAttributes object for the parent object, never null.public boolean hasExtAttribute()
IWithExtAttributeshasExtAttribute in interface IWithExtAttributespublic java.lang.String getExtAttributeValue(java.lang.String namespaceURI,
java.lang.String localName)
IWithExtAttributesgetExtAttributeValue in interface IWithExtAttributesnamespaceURI - the URI of the namespace for the attribute.localName - the name of the attribute.