deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.commons.xml
Class SimpleLink

java.lang.Object
  extended by 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.
 
Method Summary
 String getActuate()
           
 URI getArcrole()
           
 URI getHref()
           
 URI getRole()
           
 String getShow()
           
 String getTitle()
           
static String getType()
           
 void setActuate(String actuate)
           
 void setArcrole(URI arcrole)
           
 void setHref(URI href)
           
 void setRole(URI role)
           
 void setShow(String show)
           
 void setTitle(String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 null
arcrole - may be null
title - may be null
show - valid values: 'new', 'replace', 'embed', 'other', 'none' (or null)
actuate - valid values: 'onLoad', 'onRequest', 'other', 'none' (or null)
Method Detail

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.

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>