Class TLcdNVG20Content
- All Implemented Interfaces:
ILcdDataObject
,ILcdNVGNode
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
- Direct Known Subclasses:
TLcdNVG20Group
,TLcdNVG20SymbolizedContent
,TLcdNVG20Text
label
, an ID
, style information
, a timespan
,
and other metadata properties,- Since:
- 2015.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Enumeration of the (non-composite) NVG 2.0 shape types.static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to theExtendedData
element.static final TLcdDataProperty
Data property that maps to theextension
element.static final TLcdDataProperty
Data property that maps to thehref
attribute.static final TLcdDataProperty
Data property that maps to thelabel
attribute.static final TLcdDataProperty
Data property that maps to themetadata
element.static final TLcdDataProperty
Data property that maps to thestyle
attribute.static final TLcdDataProperty
Data property that maps to thetextInfo
element.static final TLcdDataProperty
Data property that maps to theTimeSpan
element.static final TLcdDataProperty
Data property that maps to theTimeStamp
element.static final TLcdDataProperty
Data property that maps to theuri
attribute. -
Constructor Summary
ConstructorDescriptionTLcdNVG20Content
(TLcdDataType aDataType) Creates a new instance of TLcdNVG20Content with the given data type. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the property that maps to theExtendedData
element.Returns the value of the property that maps to theextension
element.getHref()
Returns the value of the property that maps to thehref
attribute.getLabel()
Returns the value of the property that maps to thelabel
attribute.Returns the value of the property that maps to themetadata
element.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.getStyle()
Returns the value of the property that maps to thestyle
attribute.Returns the value of the property that maps to thetextInfo
element.Returns the value of the property that maps to theTimeSpan
element.Returns the value of the property that maps to theTimeStamp
element.getUri()
Returns the value of the property that maps to theuri
attribute.void
setExtendedData
(TLcdNVG20ExtendedData aValue) Sets the value of the property that maps to theExtendedData
element.void
setExtension
(TLcdNVG20Extension aValue) Sets the value of the property that maps to theextension
element.void
Sets the value of the property that maps to thehref
attribute.void
Sets the value of the property that maps to thelabel
attribute.void
setMetadata
(TLcdNVG20Extension aValue) Sets the value of the property that maps to themetadata
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 thestyle
attribute.void
setTextInfo
(String aValue) Sets the value of the property that maps to thetextInfo
element.void
setTimeSpan
(TLcdNVG20Content.TimeSpan aValue) Sets the value of the property that maps to theTimeSpan
element.void
setTimeStamp
(XMLGregorianCalendar aValue) Sets the value of the property that maps to theTimeStamp
element.void
Sets the value of the property that maps to theuri
attribute.
-
Field Details
-
HREF_PROPERTY
Data property that maps to thehref
attribute. The possible values for this property are instances ofURI
. -
LABEL_PROPERTY
Data property that maps to thelabel
attribute. The possible values for this property are instances ofString
. -
STYLE_PROPERTY
Data property that maps to thestyle
attribute. The possible values for this property are instances ofTLcdNVGStyle
. -
URI_PROPERTY
Data property that maps to theuri
attribute. The possible values for this property are instances ofURI
. -
METADATA_PROPERTY
Data property that maps to themetadata
element. The possible values for this property are instances ofTLcdNVG20Extension
. -
EXTENDED_DATA_PROPERTY
Data property that maps to theExtendedData
element. The possible values for this property are instances ofTLcdNVG20ExtendedData
. -
TEXT_INFO_PROPERTY
Data property that maps to thetextInfo
element. The possible values for this property are instances ofString
. -
TIME_STAMP_PROPERTY
Data property that maps to theTimeStamp
element. The possible values for this property are instances ofXMLGregorianCalendar
. -
TIME_SPAN_PROPERTY
Data property that maps to theTimeSpan
element. The possible values for this property are instances ofTimeSpan
. -
EXTENSION_PROPERTY
Data property that maps to theextension
element. The possible values for this property are instances ofTLcdNVG20Extension
.
-
-
Constructor Details
-
TLcdNVG20Content
public TLcdNVG20Content() -
TLcdNVG20Content
Creates a new instance of TLcdNVG20Content with the given data type.- Parameters:
aDataType
- the data type of the content element.
-
-
Method Details
-
getShapeType
Get the shape type of the content, or null if there is no corresponding shape type for the content.- Parameters:
aContent
-- Returns:
- ShapeType of the provided content
-
getParent
Description copied from interface:ILcdNVGNode
Get the parent of this object.- Specified by:
getParent
in interfaceILcdNVGNode
- Returns:
- The parent of this object.
-
setParent
Description copied from interface:ILcdNVGNode
Set the parent of this object to the given parent.- Specified by:
setParent
in interfaceILcdNVGNode
- Parameters:
aParent
- The parent to be set to this object.
-
getHref
Returns the value of the property that maps to thehref
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.
- Returns:
- the value of the
HREF_PROPERTY
property.
-
setHref
Sets the value of the property that maps to thehref
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.
- Parameters:
aValue
- the value to set for theHREF_PROPERTY
property.
-
getLabel
Returns the value of the property that maps to thelabel
attribute.A short text label describing the content. Long text should be placed in the text element.
- Returns:
- the value of the
LABEL_PROPERTY
property.
-
setLabel
Sets the value of the property that maps to thelabel
attribute.A short text label describing the content. Long text should be placed in the text element.
- Parameters:
aValue
- the value to set for theLABEL_PROPERTY
property.
-
getStyle
Returns the value of the property that maps to thestyle
attribute.A text string (inline CSS string) that defines how objects should be rendered graphically.
- Returns:
- the value of the
STYLE_PROPERTY
property.
-
setStyle
Sets the value of the property that maps to thestyle
attribute.A text string (inline CSS string) that defines how objects should be rendered graphically.
- Parameters:
aValue
- the value to set for theSTYLE_PROPERTY
property.
-
getUri
Returns the value of the property that maps to theuri
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.
- Returns:
- the value of the
URI_PROPERTY
property.
-
setUri
Sets the value of the property that maps to theuri
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.
- Parameters:
aValue
- the value to set for theURI_PROPERTY
property.
-
getMetadata
Returns the value of the property that maps to themetadata
element.named container for NDMS / Dublin Core defined metadata
- Returns:
- the value of the
METADATA_PROPERTY
property.
-
setMetadata
Sets the value of the property that maps to themetadata
element.named container for NDMS / Dublin Core defined metadata
- Parameters:
aValue
- the value to set for theMETADATA_PROPERTY
property.
-
getExtendedData
Returns the value of the property that maps to theExtendedData
element.- Returns:
- the value of the
EXTENDED_DATA_PROPERTY
property.
-
setExtendedData
Sets the value of the property that maps to theExtendedData
element.- Parameters:
aValue
- the value to set for theEXTENDED_DATA_PROPERTY
property.
-
getTextInfo
Returns the value of the property that maps to thetextInfo
element.Additional human readable text in addition to @label. Long text content should be placed here.
- Returns:
- the value of the
TEXT_INFO_PROPERTY
property.
-
setTextInfo
Sets the value of the property that maps to thetextInfo
element.Additional human readable text in addition to @label. Long text content should be placed here.
- Parameters:
aValue
- the value to set for theTEXT_INFO_PROPERTY
property.
-
getTimeStamp
Returns the value of the property that maps to theTimeStamp
element.comparable point in time (DTG) to represent the last state change of this element
- Returns:
- the value of the
TIME_STAMP_PROPERTY
property.
-
setTimeStamp
Sets the value of the property that maps to theTimeStamp
element.comparable point in time (DTG) to represent the last state change of this element
- Parameters:
aValue
- the value to set for theTIME_STAMP_PROPERTY
property.
-
getTimeSpan
Returns the value of the property that maps to theTimeSpan
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
- Returns:
- the value of the
TIME_SPAN_PROPERTY
property.
-
setTimeSpan
Sets the value of the property that maps to theTimeSpan
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
- Parameters:
aValue
- the value to set for theTIME_SPAN_PROPERTY
property.
-
getExtension
Returns the value of the property that maps to theextension
element.Extension point for structured community of interest specific content.
- Returns:
- the value of the
EXTENSION_PROPERTY
property.
-
setExtension
Sets the value of the property that maps to theextension
element.Extension point for structured community of interest specific content.
- Parameters:
aValue
- the value to set for theEXTENSION_PROPERTY
property.
-