org.n52.oxf.ows.capabilities
Class OnlineResource
java.lang.Object
org.n52.oxf.ows.capabilities.OnlineResource
public class OnlineResource
- extends Object
This class refers to CI_OnlineResource of ISO 19115 and to the XLink Recommendation.
(ie. http://www.w3.org/TR/2001/REC-xlink-20010627/)
- Author:
- Theodor Foerster, Arne Broering
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_EXTENDED
public static String TYPE_EXTENDED
TYPE_SIMPLE
public static String TYPE_SIMPLE
TYPE_RESOURCE
public static String TYPE_RESOURCE
TYPE_LOCATOR
public static String TYPE_LOCATOR
TYPE_ARC
public static String TYPE_ARC
TYPE_TITLE
public static String TYPE_TITLE
OnlineResource
public OnlineResource(String href)
- this constructor has all required attributes as its parameters.
- Parameters:
href
-
OnlineResource
public OnlineResource(String type,
String href)
- this constructor has all required attributes as its parameters.
- Parameters:
type
- href
-
OnlineResource
public OnlineResource(String type,
String href,
String role,
String arcrole,
String show,
String actuate,
String title)
- this constructor has all attributes as its parameters.
- Parameters:
type
- href
- role
- arcrole
- show
- actuate
- title
-
toXML
public String toXML()
- Returns:
- a XML representation of this OnlineResource.
getActuate
public String getActuate()
- Returns:
- Returns the actuate.
setActuate
protected void setActuate(String actuate)
- Parameters:
actuate
- The actuate to set.
getArcrole
public String getArcrole()
- Returns:
- Returns the arcrole.
setArcrole
protected void setArcrole(String arcrole)
- Parameters:
arcrole
- The arcrole to set.
getHref
public String getHref()
- Returns:
- Returns the href.
setHref
protected void setHref(String href)
- Parameters:
href
- The href to set.
getRole
public String getRole()
- Returns:
- Returns the role.
setRole
protected void setRole(String role)
- Parameters:
role
- The role to set.
getShow
public String getShow()
- Returns:
- Returns the show.
setShow
protected void setShow(String show)
- Parameters:
show
- The show to set.
getTitle
public String getTitle()
- Returns:
- Returns the title.
setTitle
protected void setTitle(String title)
- Parameters:
title
- The title to set.
getType
public String getType()
- Returns:
- Returns the type.
setType
protected void setType(String type)
- Parameters:
type
- the parameter must be compliant to the recommendation. There are only some allowed.
Standard is simple. This should be ok. So please be careful in changing this attribute.
Copyright © 2012-2013 52north.org. All Rights Reserved.