public class TLcdNVG20Content extends TLcdDataObject implements ILcdNVGNode
label
, an ID
, style information
, a timespan
,
and other metadata properties,Modifier and Type | Class and Description |
---|---|
static class |
TLcdNVG20Content.ShapeType
Enumeration of the (non-composite) NVG 2.0 shape types.
|
static class |
TLcdNVG20Content.TimeSpan |
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
EXTENDED_DATA_PROPERTY
Data property that maps to the
ExtendedData element. |
static TLcdDataProperty |
EXTENSION_PROPERTY
Data property that maps to the
extension element. |
static TLcdDataProperty |
HREF_PROPERTY
Data property that maps to the
href attribute. |
static TLcdDataProperty |
LABEL_PROPERTY
Data property that maps to the
label attribute. |
static TLcdDataProperty |
METADATA_PROPERTY
Data property that maps to the
metadata element. |
static TLcdDataProperty |
STYLE_PROPERTY
Data property that maps to the
style attribute. |
static TLcdDataProperty |
TEXT_INFO_PROPERTY
Data property that maps to the
textInfo element. |
static TLcdDataProperty |
TIME_SPAN_PROPERTY
Data property that maps to the
TimeSpan element. |
static TLcdDataProperty |
TIME_STAMP_PROPERTY
Data property that maps to the
TimeStamp element. |
static TLcdDataProperty |
URI_PROPERTY
Data property that maps to the
uri attribute. |
Constructor and Description |
---|
TLcdNVG20Content() |
TLcdNVG20Content(TLcdDataType aDataType)
Creates a new instance of TLcdNVG20Content with the given data type.
|
Modifier and Type | Method and Description |
---|---|
TLcdNVG20ExtendedData |
getExtendedData()
Returns the value of the property that maps to the
ExtendedData element. |
TLcdNVG20Extension |
getExtension()
Returns the value of the property that maps to the
extension element. |
URI |
getHref()
Returns the value of the property that maps to the
href attribute. |
String |
getLabel()
Returns the value of the property that maps to the
label attribute. |
TLcdNVG20Extension |
getMetadata()
Returns the value of the property that maps to the
metadata element. |
ILcdNVGNode |
getParent()
Get the parent of this object.
|
static TLcdNVG20Content.ShapeType |
getShapeType(TLcdNVG20Content aContent)
Get the shape type of the content, or null if there is no corresponding shape type for the content.
|
TLcdNVGStyle |
getStyle()
Returns the value of the property that maps to the
style attribute. |
String |
getTextInfo()
Returns the value of the property that maps to the
textInfo element. |
TLcdNVG20Content.TimeSpan |
getTimeSpan()
Returns the value of the property that maps to the
TimeSpan element. |
XMLGregorianCalendar |
getTimeStamp()
Returns the value of the property that maps to the
TimeStamp element. |
URI |
getUri()
Returns the value of the property that maps to the
uri attribute. |
void |
setExtendedData(TLcdNVG20ExtendedData aValue)
Sets the value of the property that maps to the
ExtendedData element. |
void |
setExtension(TLcdNVG20Extension aValue)
Sets the value of the property that maps to the
extension element. |
void |
setHref(URI aValue)
Sets the value of the property that maps to the
href attribute. |
void |
setLabel(String aValue)
Sets the value of the property that maps to the
label attribute. |
void |
setMetadata(TLcdNVG20Extension aValue)
Sets the value of the property that maps to the
metadata element. |
void |
setParent(ILcdNVGNode aParent)
Set the parent of this object to the given parent.
|
void |
setStyle(TLcdNVGStyle aValue)
Sets the value of the property that maps to the
style attribute. |
void |
setTextInfo(String aValue)
Sets the value of the property that maps to the
textInfo element. |
void |
setTimeSpan(TLcdNVG20Content.TimeSpan aValue)
Sets the value of the property that maps to the
TimeSpan element. |
void |
setTimeStamp(XMLGregorianCalendar aValue)
Sets the value of the property that maps to the
TimeStamp element. |
void |
setUri(URI aValue)
Sets the value of the property that maps to the
uri attribute. |
public static final TLcdDataProperty HREF_PROPERTY
href
attribute.
The possible values for this property are instances of URI
.public static final TLcdDataProperty LABEL_PROPERTY
label
attribute.
The possible values for this property are instances of String
.public static final TLcdDataProperty STYLE_PROPERTY
style
attribute.
The possible values for this property are instances of TLcdNVGStyle
.public static final TLcdDataProperty URI_PROPERTY
uri
attribute.
The possible values for this property are instances of URI
.public static final TLcdDataProperty METADATA_PROPERTY
metadata
element.
The possible values for this property are instances of TLcdNVG20Extension
.public static final TLcdDataProperty EXTENDED_DATA_PROPERTY
ExtendedData
element.
The possible values for this property are instances of TLcdNVG20ExtendedData
.public static final TLcdDataProperty TEXT_INFO_PROPERTY
textInfo
element.
The possible values for this property are instances of String
.public static final TLcdDataProperty TIME_STAMP_PROPERTY
TimeStamp
element.
The possible values for this property are instances of XMLGregorianCalendar
.public static final TLcdDataProperty TIME_SPAN_PROPERTY
TimeSpan
element.
The possible values for this property are instances of TimeSpan
.public static final TLcdDataProperty EXTENSION_PROPERTY
extension
element.
The possible values for this property are instances of TLcdNVG20Extension
.public TLcdNVG20Content()
public TLcdNVG20Content(TLcdDataType aDataType)
aDataType
- the data type of the content element.public static TLcdNVG20Content.ShapeType getShapeType(TLcdNVG20Content aContent)
aContent
- public ILcdNVGNode getParent()
ILcdNVGNode
getParent
in interface ILcdNVGNode
public void setParent(ILcdNVGNode aParent)
ILcdNVGNode
setParent
in interface ILcdNVGNode
aParent
- The parent to be set to this object.public URI getHref()
href
attribute.
A URL to human readable content providing more information about the ContentType. Typically the NVG document will contain just a small amount of metadata required to render the content. The URL allows the user to drill-down (click through) to the full content.
HREF_PROPERTY
property.public void setHref(URI aValue)
href
attribute.
A URL to human readable content providing more information about the ContentType. Typically the NVG document will contain just a small amount of metadata required to render the content. The URL allows the user to drill-down (click through) to the full content.
aValue
- the value to set for the HREF_PROPERTY
property.public String getLabel()
label
attribute.
A short text label describing the content. Long text should be placed in the text element.
LABEL_PROPERTY
property.public void setLabel(String aValue)
label
attribute.
A short text label describing the content. Long text should be placed in the text element.
aValue
- the value to set for the LABEL_PROPERTY
property.public TLcdNVGStyle getStyle()
style
attribute.
A text string (inline CSS string) that defines how objects should be rendered graphically.
STYLE_PROPERTY
property.public void setStyle(TLcdNVGStyle aValue)
style
attribute.
A text string (inline CSS string) that defines how objects should be rendered graphically.
aValue
- the value to set for the STYLE_PROPERTY
property.public URI getUri()
uri
attribute.
The unique identifier for the content. The URI is immutable and shall remain constant across documents produced by the same source. Furthermore, the URI shall remain constant as the document is transferred through a mediation service/process.
URI_PROPERTY
property.public void setUri(URI aValue)
uri
attribute.
The unique identifier for the content. The URI is immutable and shall remain constant across documents produced by the same source. Furthermore, the URI shall remain constant as the document is transferred through a mediation service/process.
aValue
- the value to set for the URI_PROPERTY
property.public TLcdNVG20Extension getMetadata()
metadata
element.
named container for NDMS / Dublin Core defined metadata
METADATA_PROPERTY
property.public void setMetadata(TLcdNVG20Extension aValue)
metadata
element.
named container for NDMS / Dublin Core defined metadata
aValue
- the value to set for the METADATA_PROPERTY
property.public TLcdNVG20ExtendedData getExtendedData()
ExtendedData
element.EXTENDED_DATA_PROPERTY
property.public void setExtendedData(TLcdNVG20ExtendedData aValue)
ExtendedData
element.aValue
- the value to set for the EXTENDED_DATA_PROPERTY
property.public String getTextInfo()
textInfo
element.
Additional human readable text in addition to @label. Long text content should be placed here.
TEXT_INFO_PROPERTY
property.public void setTextInfo(String aValue)
textInfo
element.
Additional human readable text in addition to @label. Long text content should be placed here.
aValue
- the value to set for the TEXT_INFO_PROPERTY
property.public XMLGregorianCalendar getTimeStamp()
TimeStamp
element.
comparable point in time (DTG) to represent the last state change of this element
TIME_STAMP_PROPERTY
property.public void setTimeStamp(XMLGregorianCalendar aValue)
TimeStamp
element.
comparable point in time (DTG) to represent the last state change of this element
aValue
- the value to set for the TIME_STAMP_PROPERTY
property.public TLcdNVG20Content.TimeSpan getTimeSpan()
TimeSpan
element.
Define a show/hide period (based on strict DTG) for the shape as defined by KML on https://developers.google.com/kml/documentation/kmlreference#timespan
TIME_SPAN_PROPERTY
property.public void setTimeSpan(TLcdNVG20Content.TimeSpan aValue)
TimeSpan
element.
Define a show/hide period (based on strict DTG) for the shape as defined by KML on https://developers.google.com/kml/documentation/kmlreference#timespan
aValue
- the value to set for the TIME_SPAN_PROPERTY
property.public TLcdNVG20Extension getExtension()
extension
element.
Extension point for structured community of interest specific content.
EXTENSION_PROPERTY
property.public void setExtension(TLcdNVG20Extension aValue)
extension
element.
Extension point for structured community of interest specific content.
aValue
- the value to set for the EXTENSION_PROPERTY
property.