public class StartFileData extends InheritedData
| Constructor and Description |
|---|
StartFileData(java.lang.String id)
Creates a
StartFileData object with an optional id. |
| 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.
|
java.lang.String |
getId()
Gets the id for this object.
|
java.lang.String |
getOriginal()
Gets the original attribute of this file.
|
boolean |
hasExtAttribute()
Indicates if at least one extension attribute is present.
|
void |
setExtAttributes(ExtAttributes attributes)
Sets the
ExtAttributes object associated with this object. |
void |
setId(java.lang.String id)
Sets the id for this object.
|
void |
setOriginal(java.lang.String original)
Sets the original attribute of this file.
|
getAnnotatorsRef, getCanResegment, getSourceDir, getTargetDir, getTranslate, setAnnotatorsRef, setCanResegment, setInheritableData, setSourceDir, setTargetDir, setTranslatepublic StartFileData(java.lang.String id)
StartFileData object with an optional id.id - the id of the file element (should not be null, but we don't throw an
exception to allow setting it after creation).public java.lang.String getOriginal()
public void setOriginal(java.lang.String original)
original - the new original attribute for this file.public void setId(java.lang.String id)
id - the id for this object.public java.lang.String getId()
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.