org.n52.oxf.ows.capabilities
Class ServiceProvider
java.lang.Object
org.n52.oxf.ows.capabilities.ServiceProvider
public class ServiceProvider
- extends Object
This describes the provider of the service. please mind, that the contact
representation is only a String.
- Author:
- Theodor Foerster, Arne Broering
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceProvider
public ServiceProvider(String providerName,
ServiceContact serviceContact)
- Constructor which has got the 'required' attributes for the
ServiceProvider-Section as its parameters. The optional attribute
providerSite will stay null.
- Parameters:
providerName
- Unique identifier for service provider organization.serviceContact
- Information for contacting service provider.
- Throws:
OXFException
- if parameters are not correct.
ServiceProvider
public ServiceProvider(String providerName,
ServiceContact serviceContact,
OnlineResource providerSite)
- this constructor has all attributes of the class as its parameters.
- Parameters:
providerName
- serviceContact
- providerSite
-
- Throws:
OXFException
toXML
public String toXML()
- Returns:
- a XML representation of this ServiceProvider-section.
getProviderName
public String getProviderName()
- Returns:
- Returns the providerName.
setProviderName
protected void setProviderName(String providerName)
throws IllegalArgumentException
- Parameters:
providerName
- The providerName to set.
- Throws:
IllegalArgumentException
- if providerName.equals("").
getProviderSite
public OnlineResource getProviderSite()
- Returns:
- Returns the providerSite.
setProviderSite
protected void setProviderSite(OnlineResource providerSite)
- Parameters:
providerSite
- The providerSite to set.
getServiceContact
public ServiceContact getServiceContact()
- Returns:
- Returns the serviceContactString.
setServiceContact
protected void setServiceContact(ServiceContact serviceContact)
- Parameters:
serviceContactString
- The serviceContactString to set.
Copyright © 2012-2013 52north.org. All Rights Reserved.