Package com.luciad.ogc.sld.model
Class TLcdSLDOnlineResource
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.sld.model.TLcdSLDOnlineResource
- All Implemented Interfaces:
ILcdDataObject,ILcdXMLSimpleLink,ILcdCloneable,ILcdDeepCloneable,Cloneable
An OnlineResource typically specifies a HTTP URL to a resource (e.g. an image).
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructor.TLcdSLDOnlineResource(TLcdDataType aDataType) Empty constructor.TLcdSLDOnlineResource(String aHref, String aRole, String aArcrole, String aTitle, String aShow, String aActuate) Constructor for given parameters. -
Method Summary
Modifier and TypeMethodDescriptionReturns the actuate mode of this link.Returns the arcrole of this link.getHref()Returns the URI of this link.Returns the value of the linkedObject property.Returns the value of the linkInfo property.getRole()Returns the role of this link.getShow()Returns the show mode of this link.getTitle()Returns the title of this link.getType()Returns the type of this link, which is always "simple".voidsetActuate(String aActuate) Sets the actuate mode of this link.voidsetArcrole(String aArcrole) Sets the arcrole of this link.voidSets the URI of this link.voidsetLinkedObject(Object aValue) Sets the value of the linkedObject property.voidsetLinkInfo(Object aValue) Sets the value of the linkInfo property.voidSets the role of this link.voidSets the show mode of this link.voidSets the title of this link.
-
Constructor Details
-
TLcdSLDOnlineResource
public TLcdSLDOnlineResource()Empty constructor. -
TLcdSLDOnlineResource
public TLcdSLDOnlineResource(String aHref, String aRole, String aArcrole, String aTitle, String aShow, String aActuate) Constructor for given parameters.- Parameters:
aHref- The URI of this link.aRole- The role of this link.aArcrole- The arcrole of this link.aTitle- The title of this link.aShow- The show mode of this link.aActuate- The actuate mode of this link.
-
TLcdSLDOnlineResource
Empty constructor.
-
-
Method Details
-
getType
Description copied from interface:ILcdXMLSimpleLinkReturns the type of this link, which is always "simple".- Specified by:
getTypein interfaceILcdXMLSimpleLink- Returns:
- "
simple".
-
getHref
Description copied from interface:ILcdXMLSimpleLinkReturns the URI of this link.- Specified by:
getHrefin interfaceILcdXMLSimpleLink- Returns:
- the URI of this link.
-
getRole
Description copied from interface:ILcdXMLSimpleLinkReturns the role of this link.- Specified by:
getRolein interfaceILcdXMLSimpleLink- Returns:
- the role of this link.
-
getArcrole
Description copied from interface:ILcdXMLSimpleLinkReturns the arcrole of this link.- Specified by:
getArcrolein interfaceILcdXMLSimpleLink- Returns:
- the arcrole of this link.
-
getTitle
Description copied from interface:ILcdXMLSimpleLinkReturns the title of this link.- Specified by:
getTitlein interfaceILcdXMLSimpleLink- Returns:
- the title of this link.
-
getShow
Description copied from interface:ILcdXMLSimpleLinkReturns the show mode of this link. The 'show' attribute is used to communicate the desired presentation of the ending resource on traversal from the starting resource; its value should be treated as follows:- new - load ending resource in a new window, frame, pane, or other presentation context
- replace - load the resource in the same window, frame, pane, or other presentation context
- embed - load ending resource in place of the presentation of the starting resource
- other - behavior is unconstrained; examine other markup in the link for hints
- none - behavior is unconstrained
- Specified by:
getShowin interfaceILcdXMLSimpleLink- Returns:
- the show mode of this link.
-
getActuate
Description copied from interface:ILcdXMLSimpleLinkReturns the actuate mode of this link. The 'actuate' attribute is used to communicate the desired timing of traversal from the starting resource to the ending resource; its value should be treated as follows:- onLoad - traverse to the ending resource immediately on loading the starting resource
- onRequest - traverse from the starting resource to the ending resource only on a post-loading event triggered for this purpose
- other - behavior is unconstrained; examine other markup in link for hints
- none - behavior is unconstrained
- Specified by:
getActuatein interfaceILcdXMLSimpleLink- Returns:
- the actuate mode of this link.
-
setHref
Description copied from interface:ILcdXMLSimpleLinkSets the URI of this link.- Specified by:
setHrefin interfaceILcdXMLSimpleLink- Parameters:
aHref- the URI of this link.
-
setRole
Description copied from interface:ILcdXMLSimpleLinkSets the role of this link.- Specified by:
setRolein interfaceILcdXMLSimpleLink- Parameters:
aRole- the role of this link.
-
setArcrole
Description copied from interface:ILcdXMLSimpleLinkSets the arcrole of this link.- Specified by:
setArcrolein interfaceILcdXMLSimpleLink- Parameters:
aArcrole- the arcrole of this link.
-
setTitle
Description copied from interface:ILcdXMLSimpleLinkSets the title of this link.- Specified by:
setTitlein interfaceILcdXMLSimpleLink- Parameters:
aTitle- the title of this link.
-
setShow
Description copied from interface:ILcdXMLSimpleLinkSets the show mode of this link.- Specified by:
setShowin interfaceILcdXMLSimpleLink- Parameters:
aShow- the show mode of this link.
-
setActuate
Description copied from interface:ILcdXMLSimpleLinkSets the actuate mode of this link.- Specified by:
setActuatein interfaceILcdXMLSimpleLink- Parameters:
aActuate- the actuate mdoe of this link.
-
getLinkInfo
Returns the value of the linkInfo property.- Returns:
- the value of the
LINK_INFO_PROPERTYproperty.
-
setLinkInfo
Sets the value of the linkInfo property.- Parameters:
aValue- the value to set for theLINK_INFO_PROPERTYproperty.
-
getLinkedObject
Returns the value of the linkedObject property.- Returns:
- the value of the
LINKED_OBJECT_PROPERTYproperty.
-
setLinkedObject
Sets the value of the linkedObject property.- Parameters:
aValue- the value to set for theLINKED_OBJECT_PROPERTYproperty.
-