|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.commons.xml.XMLAdapter org.deegree.protocol.ows.capabilities.OWSCommon110CapabilitiesAdapter
public class OWSCommon110CapabilitiesAdapter
OWSCapabilitiesAdapter
for capabilities documents that comply to the OWS Common 1.1.0 specification.
Known OWS Common 1.1.0-based specifications:
Field Summary | |
---|---|
protected NamespaceBindings |
nsContext
|
protected static String |
XML1998NS
|
Fields inherited from class org.deegree.commons.xml.XMLAdapter |
---|
DEFAULT_URL, rootElement, XLN_NS |
Constructor Summary | |
---|---|
OWSCommon110CapabilitiesAdapter()
Creates a new OWSCommon110CapabilitiesAdapter instance. |
Method Summary | |
---|---|
URL |
getOperationURL(String operation,
boolean post)
Returns the URL for the specified operation and HTTP method. |
protected Address |
parseAddress(org.apache.axiom.om.OMElement addressEl)
|
protected CodeType |
parseCodeSpace(org.apache.axiom.om.OMElement omelement)
|
protected ContactInfo |
parseContactInfo(org.apache.axiom.om.OMElement contactInfoEl)
|
protected DCP |
parseDCP(org.apache.axiom.om.OMElement dcpEl)
|
protected Description |
parseDescription(org.apache.axiom.om.OMElement serviceIdEl)
|
protected Domain |
parseDomain(org.apache.axiom.om.OMElement domainEl)
|
List<String> |
parseLanguages()
Extracts the supported languages from the underlying XML document. |
OWSCapabilities |
parseMetadata()
|
OperationsMetadata |
parseOperationsMetadata()
Extracts the OperationsMetadata from the underlying XML document. |
protected Telephone |
parsePhone(org.apache.axiom.om.OMElement phoneEl)
|
protected PossibleValues |
parsePossibleValues(org.apache.axiom.om.OMElement possibleValuesEl)
|
Range |
parseRange(org.apache.axiom.om.OMElement rangeEl)
Parses the given ows:Range element. |
protected ResponsibleParty |
parseServiceContact(org.apache.axiom.om.OMElement serviceContactEl)
|
ServiceIdentification |
parseServiceIdentification()
Extracts the ServiceIdentification from the underlying XML document. |
ServiceProvider |
parseServiceProvider()
Extracts the ServiceProvider from the underlying XML document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final String XML1998NS
protected final NamespaceBindings nsContext
Constructor Detail |
---|
public OWSCommon110CapabilitiesAdapter()
OWSCommon110CapabilitiesAdapter
instance.
Method Detail |
---|
public OperationsMetadata parseOperationsMetadata()
OWSCapabilitiesAdapter
OperationsMetadata
from the underlying XML document.
null
(if document does not contain such a section)public URL getOperationURL(String operation, boolean post) throws MalformedURLException
operation
- name of the operation, must not be null
post
- if set to true, the URL for POST requests will be returned, otherwise the URL for GET requests will be
returned
null
(if the
operation/method is not announced by the service)
MalformedURLException
- if the announced URL is malformedprotected Domain parseDomain(org.apache.axiom.om.OMElement domainEl)
domainEl
- context OMElement
Operation
instance, never null
public OWSCapabilities parseMetadata()
OWSCapabilities
instance, never null
public ServiceIdentification parseServiceIdentification()
OWSCapabilitiesAdapter
ServiceIdentification
from the underlying XML document.
parseServiceIdentification
in interface OWSCapabilitiesAdapter
null
(if document does not contain such a section)protected Description parseDescription(org.apache.axiom.om.OMElement serviceIdEl)
serviceIdEl
- context OMElement
Description
instance, never null
public ServiceProvider parseServiceProvider()
OWSCapabilitiesAdapter
ServiceProvider
from the underlying XML document.
parseServiceProvider
in interface OWSCapabilitiesAdapter
null
(if document does not contain such a section)protected ResponsibleParty parseServiceContact(org.apache.axiom.om.OMElement serviceContactEl)
serviceContactEl
- context OMElement
ResponsibleParty
instance, never null
protected ContactInfo parseContactInfo(org.apache.axiom.om.OMElement contactInfoEl)
contactInfoEl
- context OMElement
ContactInfo
instance, never null
protected Telephone parsePhone(org.apache.axiom.om.OMElement phoneEl)
phoneEl
- context OMElement
Telephone
instance, never null
protected Address parseAddress(org.apache.axiom.om.OMElement addressEl)
addressEl
- context OMElement
Address
instance, never null
protected CodeType parseCodeSpace(org.apache.axiom.om.OMElement omelement)
omelement
- context OMElement
CodeType
instance, never null
public List<String> parseLanguages()
OWSCapabilitiesAdapter
parseLanguages
in interface OWSCapabilitiesAdapter
null
(if document does not contain such a section)protected PossibleValues parsePossibleValues(org.apache.axiom.om.OMElement possibleValuesEl)
public Range parseRange(org.apache.axiom.om.OMElement rangeEl)
ows:Range
element.
Verified for the following OWS Commons versions:
rangeEl
- ows:Range
element, must not be null
null
protected DCP parseDCP(org.apache.axiom.om.OMElement dcpEl)
dcpEl
- context OMElement
DCP
instance, never null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |