|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.n52.oxf.ows.capabilities.Description
org.n52.oxf.ows.capabilities.ServiceIdentification
public class ServiceIdentification
ServiceIdentification describes the specific service.
Constructor Summary | |
---|---|
ServiceIdentification(String title,
String serviceType,
String[] serviceTypeVersion)
Constructor which has got the 'required' attributes for the ServiceIdentification-Section as its parameters. |
|
ServiceIdentification(String title,
String serviceType,
String[] serviceTypeVersion,
String fees,
String[] accessConstraints,
String abstractDescription,
String[] keywords)
his constructor has all attributes of the class as its parameters. |
Method Summary | |
---|---|
String[] |
getAccessConstraints()
|
String |
getFees()
|
String |
getServiceType()
|
String[] |
getServiceTypeVersion()
|
protected void |
setAccessConstraints(String[] constraints)
|
protected void |
setFees(String fees)
sets the fees for this service. |
protected void |
setServiceType(String serviceType)
|
protected void |
setServiceTypeVersion(String[] version)
sets the version for this service |
String |
toXML()
|
Methods inherited from class org.n52.oxf.ows.capabilities.Description |
---|
getAbstractDescription, getKeywords, getTitle, setAbstractDescription, setKeywords, setTitle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceIdentification(String title, String serviceType, String[] serviceTypeVersion)
title
- the title of the service.serviceType
- service type name normally used for machine-to-machine communication.serviceTypeVersion
- version(s) of the service type supported by the server. OXFException
- if parameters are not correct.public ServiceIdentification(String title, String serviceType, String[] serviceTypeVersion, String fees, String[] accessConstraints, String abstractDescription, String[] keywords)
title
- serviceType
- serviceTypeVersion
- fees
- accessConstraints
- abstractDescription
- keywords
-
OXFException
Method Detail |
---|
public String toXML()
public String[] getAccessConstraints()
public String getFees()
public String[] getServiceTypeVersion()
protected void setServiceTypeVersion(String[] version) throws IllegalArgumentException
version
-
IllegalArgumentException
- if version.length == 0 or version[0].equals("").protected void setFees(String fees)
fees
- protected void setAccessConstraints(String[] constraints)
constraints
- zero or more (optional) accessConstraints are possiblepublic String getServiceType()
protected void setServiceType(String serviceType) throws IllegalArgumentException
serviceType
- The serviceType to set.
IllegalArgumentException
- if serviceType == null or serviceType.equals("").
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |