public class TLcdAtomText extends TLcdDataObject
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
BASE_PROPERTY
Data property that maps to the
base attribute. |
static TLcdDataProperty |
CONTENT_PROPERTY
Data content property.
|
static TLcdDataProperty |
LANGUAGE_PROPERTY
Data property that maps to the
lang attribute. |
static TLcdDataProperty |
TYPE_PROPERTY
Data property that maps to the
type attribute. |
Constructor and Description |
---|
TLcdAtomText() |
TLcdAtomText(String aContent)
Convenience constructor that adds the given content to
getContent() |
TLcdAtomText(TLcdDataType aType) |
Modifier and Type | Method and Description |
---|---|
URI |
getBase()
Returns the value of the property that maps to the
base attribute. |
List<Object> |
getContent()
Returns the value of the content property.
|
String |
getLanguage()
Returns the value of the property that maps to the
lang attribute. |
ELcdAtomTextType |
getType()
Returns the value of the property that maps to the
type attribute. |
void |
setBase(URI aValue)
Sets the value of the property that maps to the
base attribute. |
void |
setLanguage(String aValue)
Sets the value of the property that maps to the
lang attribute. |
void |
setType(ELcdAtomTextType aValue)
Sets the value of the property that maps to the
type attribute. |
public static final TLcdDataProperty TYPE_PROPERTY
type
attribute.
The possible values for this property are the public QName
constants defined in this class.public static final TLcdDataProperty BASE_PROPERTY
base
attribute.
The possible values for this property are instances of URI
.public static final TLcdDataProperty LANGUAGE_PROPERTY
lang
attribute.
The possible values for this property are instances of String
.public static final TLcdDataProperty CONTENT_PROPERTY
List<Object>
.public TLcdAtomText()
public TLcdAtomText(TLcdDataType aType)
public TLcdAtomText(String aContent)
getContent()
aContent
- the content to addpublic ELcdAtomTextType getType()
type
attribute.
The possible values for this property are the public QName
constants defined in this class.
TYPE_PROPERTY
property.public void setType(ELcdAtomTextType aValue)
type
attribute.
The possible values for this property are the public QName
constants defined in this class.
aValue
- the value to set for the TYPE_PROPERTY
property.public URI getBase()
base
attribute.
BASE_PROPERTY
property.public void setBase(URI aValue)
base
attribute.
aValue
- the value to set for the BASE_PROPERTY
property.public String getLanguage()
lang
attribute.
LANGUAGE_PROPERTY
property.public void setLanguage(String aValue)
lang
attribute.
aValue
- the value to set for the LANGUAGE_PROPERTY
property.public List<Object> getContent()
CONTENT_PROPERTY
property.