Class TLcdSLDOnlineResource

java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.sld.model.TLcdSLDOnlineResource
All Implemented Interfaces:
ILcdDataObject, ILcdXMLSimpleLink, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdSLDOnlineResource extends TLcdDataObject implements ILcdXMLSimpleLink
An OnlineResource typically specifies a HTTP URL to a resource (e.g. an image).
  • 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

      public TLcdSLDOnlineResource(TLcdDataType aDataType)
      Empty constructor.
  • Method Details

    • getType

      public String getType()
      Description copied from interface: ILcdXMLSimpleLink
      Returns the type of this link, which is always "simple".
      Specified by:
      getType in interface ILcdXMLSimpleLink
      Returns:
      "simple".
    • getHref

      public String getHref()
      Description copied from interface: ILcdXMLSimpleLink
      Returns the URI of this link.
      Specified by:
      getHref in interface ILcdXMLSimpleLink
      Returns:
      the URI of this link.
    • getRole

      public String getRole()
      Description copied from interface: ILcdXMLSimpleLink
      Returns the role of this link.
      Specified by:
      getRole in interface ILcdXMLSimpleLink
      Returns:
      the role of this link.
    • getArcrole

      public String getArcrole()
      Description copied from interface: ILcdXMLSimpleLink
      Returns the arcrole of this link.
      Specified by:
      getArcrole in interface ILcdXMLSimpleLink
      Returns:
      the arcrole of this link.
    • getTitle

      public String getTitle()
      Description copied from interface: ILcdXMLSimpleLink
      Returns the title of this link.
      Specified by:
      getTitle in interface ILcdXMLSimpleLink
      Returns:
      the title of this link.
    • getShow

      public String getShow()
      Description copied from interface: ILcdXMLSimpleLink
      Returns 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:
      getShow in interface ILcdXMLSimpleLink
      Returns:
      the show mode of this link.
    • getActuate

      public String getActuate()
      Description copied from interface: ILcdXMLSimpleLink
      Returns 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:
      getActuate in interface ILcdXMLSimpleLink
      Returns:
      the actuate mode of this link.
    • setHref

      public void setHref(String aHref)
      Description copied from interface: ILcdXMLSimpleLink
      Sets the URI of this link.
      Specified by:
      setHref in interface ILcdXMLSimpleLink
      Parameters:
      aHref - the URI of this link.
    • setRole

      public void setRole(String aRole)
      Description copied from interface: ILcdXMLSimpleLink
      Sets the role of this link.
      Specified by:
      setRole in interface ILcdXMLSimpleLink
      Parameters:
      aRole - the role of this link.
    • setArcrole

      public void setArcrole(String aArcrole)
      Description copied from interface: ILcdXMLSimpleLink
      Sets the arcrole of this link.
      Specified by:
      setArcrole in interface ILcdXMLSimpleLink
      Parameters:
      aArcrole - the arcrole of this link.
    • setTitle

      public void setTitle(String aTitle)
      Description copied from interface: ILcdXMLSimpleLink
      Sets the title of this link.
      Specified by:
      setTitle in interface ILcdXMLSimpleLink
      Parameters:
      aTitle - the title of this link.
    • setShow

      public void setShow(String aShow)
      Description copied from interface: ILcdXMLSimpleLink
      Sets the show mode of this link.
      Specified by:
      setShow in interface ILcdXMLSimpleLink
      Parameters:
      aShow - the show mode of this link.
    • setActuate

      public void setActuate(String aActuate)
      Description copied from interface: ILcdXMLSimpleLink
      Sets the actuate mode of this link.
      Specified by:
      setActuate in interface ILcdXMLSimpleLink
      Parameters:
      aActuate - the actuate mdoe of this link.
    • getLinkInfo

      public Object getLinkInfo()
      Returns the value of the linkInfo property.
      Returns:
      the value of the LINK_INFO_PROPERTY property.
    • setLinkInfo

      public void setLinkInfo(Object aValue)
      Sets the value of the linkInfo property.
      Parameters:
      aValue - the value to set for the LINK_INFO_PROPERTY property.
    • getLinkedObject

      public Object getLinkedObject()
      Returns the value of the linkedObject property.
      Returns:
      the value of the LINKED_OBJECT_PROPERTY property.
    • setLinkedObject

      public void setLinkedObject(Object aValue)
      Sets the value of the linkedObject property.
      Parameters:
      aValue - the value to set for the LINKED_OBJECT_PROPERTY property.