org.deegree.commons.xml
Class SimpleLink
java.lang.Object
org.deegree.commons.xml.SimpleLink
public class SimpleLink
- extends Object
Class representation of an xlink:simpleLink
according to the xlinks.xsd
provided with the
OWS Common Specification 0.3
.
- Author:
- Markus Schneider
Constructor Summary |
SimpleLink(URI href)
Creates a new SimpleLink instance with the minimum of neeeded information. |
SimpleLink(URI href,
URI role,
URI arcrole,
String title,
String show,
String actuate)
Creates a new SimpleLink instance with the minimum of neeeded information. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleLink
public SimpleLink(URI href)
- Creates a new
SimpleLink
instance with the minimum of neeeded information.
- Parameters:
href
- may even be null (!)
SimpleLink
public SimpleLink(URI href,
URI role,
URI arcrole,
String title,
String show,
String actuate)
- Creates a new
SimpleLink
instance with the minimum of neeeded information.
- Parameters:
href
- may even be null (!)role
- may be nullarcrole
- may be nulltitle
- may be nullshow
- valid values: 'new', 'replace', 'embed', 'other', 'none' (or null)actuate
- valid values: 'onLoad', 'onRequest', 'other', 'none' (or null)
getType
public static String getType()
- Returns:
- Returns the type.
getActuate
public String getActuate()
- Returns:
- Returns the actuate.
setActuate
public void setActuate(String actuate)
- Parameters:
actuate
- The actuate to set.
getArcrole
public URI getArcrole()
- Returns:
- Returns the arcrole.
setArcrole
public void setArcrole(URI arcrole)
- Parameters:
arcrole
- The arcrole to set.
getHref
public URI getHref()
- Returns:
- Returns the href.
setHref
public void setHref(URI href)
- Parameters:
href
- The href to set.
getRole
public URI getRole()
- Returns:
- Returns the role.
setRole
public void setRole(URI role)
- Parameters:
role
- The role to set.
getShow
public String getShow()
- Returns:
- Returns the show.
setShow
public void setShow(String show)
- Parameters:
show
- The show to set.
getTitle
public String getTitle()
- Returns:
- Returns the title.
setTitle
public void setTitle(String title)
- Parameters:
title
- The title to set.
Copyright © 2011. All Rights Reserved.