org.n52.oxf.ows.capabilities
Class RequestMethod
java.lang.Object
org.n52.oxf.ows.capabilities.RequestMethod
- Direct Known Subclasses:
- GetRequestMethod, PostRequestMethod
public abstract class RequestMethod
- extends Object
Specifies the type of request of a specific operation. Only HTTP is supported.
- Author:
- Theodor Foerster
RequestMethod
public RequestMethod(OnlineResource or,
String[] constraints)
- this constructor has all attributes as its parameters.
- Parameters:
or
- type
- constraints
-
RequestMethod
public RequestMethod(OnlineResource or)
- this constructor has all required attributes as its parameters.
- Parameters:
or
- type
-
toXML
public abstract String toXML()
- Returns:
- a XML representation.
getConstraints
public String[] getConstraints()
- Returns:
- Returns the constraints.
setConstraints
protected void setConstraints(String[] constraints)
- Parameters:
constraints
- The constraints to set.
getOnlineResource
public OnlineResource getOnlineResource()
- Returns:
setOnlineResource
protected void setOnlineResource(OnlineResource url)
- Parameters:
url
-
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012-2013 52north.org. All Rights Reserved.