org.deegree.owscommon_1_1_0
Class OWSCommonCapabilitiesDocument
java.lang.Object
org.deegree.framework.xml.XMLFragment
org.deegree.ogcbase.OGCDocument
org.deegree.ogcwebservices.getcapabilities.OGCCapabilitiesDocument
org.deegree.owscommon_1_1_0.OWSCommonCapabilitiesDocument
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- WCTSCapabilitiesDocument
public abstract class OWSCommonCapabilitiesDocument
- extends OGCCapabilitiesDocument
OWSCapabilitesDocument
parses the ows_1_1_0 Capabilities profile.
- Version:
- $Revision:$, $Date:$
- Author:
- Rutger Bezema, last edited by: $Author:$
- See Also:
- Serialized Form
Method Summary |
protected ContactInfo |
parseContactInfo(Element contactInfo)
|
protected Pair<String,String> |
parseDomainMetadataType(Element domainMDElement)
Parses the domain metadata type and it's reference attribute and puts them in a pair, like name, reference, the
latter may be null |
protected List<Pair<String,String>> |
parseDomainMetadataTypes(List<Element> domainMDElements)
Parses the domain metadata type and it's reference attribute and puts them in a pair, like name, reference, which
may be null |
protected Pair<String,List<DomainType>> |
parseHTTPChild(Element getOrPost)
parses the post or get information beneath a http element. |
protected Keywords |
parseKeywords(Element keywords)
Return the ows_1_1_0 keywords.. |
protected Pair<String,String> |
parseMetaData(Element metadataElement)
|
protected List<Pair<String,String>> |
parseMetadatas(List<Element> metadataElements)
|
protected List<Operation> |
parseOperations(List<Element> operationElements)
|
OperationsMetadata |
parseOperationsMetadata()
|
protected ServiceContact |
parseServiceContact(Element serviceContact)
|
ServiceIdentification |
parseServiceIdentification()
|
ServiceProvider |
parseServiceProvider()
|
Methods inherited from class org.deegree.ogcbase.OGCDocument |
parseCodeList, parseCodeListArray, parseInterval, parseKeywords, parseKeywords, parseLonLatEnvelope, parseOnLineResource, parsePropertyPath, parseTimePeriod, parseTimePeriods, parseTimePositions, parseTimeSequence, parseTypedLiteral, parseValues |
Methods inherited from class org.deegree.framework.xml.XMLFragment |
getAsPrettyString, getAsString, getAttachedSchemas, getQualifiedName, getRootElement, getSystemId, hasSchema, load, load, load, parseQualifiedName, parseSimpleLink, prettyPrint, prettyPrint, resolve, setRootElement, setSystemId, setSystemId, toString, write, write, write, write |
PRE_OWS
protected static String PRE_OWS
OWSCommonCapabilitiesDocument
public OWSCommonCapabilitiesDocument()
parseServiceIdentification
public ServiceIdentification parseServiceIdentification()
throws XMLParsingException
- Parameters:
serviceID
- element to parse from
- Returns:
- the ServiceIdentification bean or
null
if ServiceIdentification element is
null
;
- Throws:
XMLParsingException
- if something could not be parsed.
parseServiceProvider
public ServiceProvider parseServiceProvider()
throws XMLParsingException
- Returns:
- the ServiceProvider bean or
null
if the ServiceProvider element is null
;
- Throws:
XMLParsingException
parseOperationsMetadata
public OperationsMetadata parseOperationsMetadata()
throws XMLParsingException
- Parameters:
operationsMetadata
-
- Returns:
- the OperationsMetadata bean or
null
if the OperationsMetadata element is null
;
- Throws:
XMLParsingException
parseOperations
protected List<Operation> parseOperations(List<Element> operationElements)
throws XMLParsingException
- Parameters:
operationElements
-
- Returns:
-
- Throws:
XMLParsingException
parseHTTPChild
protected Pair<String,List<DomainType>> parseHTTPChild(Element getOrPost)
throws XMLParsingException
- parses the post or get information beneath a http element.
- Parameters:
getOrPost
-
- Returns:
- the pair containing the xlink, list. or
null
if attribute and elements were
not found.
- Throws:
XMLParsingException
parseMetadatas
protected List<Pair<String,String>> parseMetadatas(List<Element> metadataElements)
- Parameters:
metadataElements
- to be parsed.
- Returns:
- a List of pairs of optional attributes, or an empty list
null
if no
elements were found.
parseMetaData
protected Pair<String,String> parseMetaData(Element metadataElement)
- Parameters:
metadataElement
- to be parsed.
- Returns:
- the pair of optional attributes.
parseDomainMetadataTypes
protected List<Pair<String,String>> parseDomainMetadataTypes(List<Element> domainMDElements)
throws XMLParsingException
- Parses the domain metadata type and it's reference attribute and puts them in a pair, like name, reference, which
may be null
- Parameters:
domainMDElements
-
- Returns:
- a list of pairs containing the values or
null
if given list is null or it does not contain
any domain elements value.
- Throws:
XMLParsingException
parseDomainMetadataType
protected Pair<String,String> parseDomainMetadataType(Element domainMDElement)
throws XMLParsingException
- Parses the domain metadata type and it's reference attribute and puts them in a pair, like name, reference, the
latter may be null
- Parameters:
domainMDElement
- to parse
- Returns:
- a pair containing the values or
null
if given element is null or it does not contain a
value.
- Throws:
XMLParsingException
parseServiceContact
protected ServiceContact parseServiceContact(Element serviceContact)
throws XMLParsingException
- Parameters:
serviceContact
-
- Returns:
-
- Throws:
XMLParsingException
parseContactInfo
protected ContactInfo parseContactInfo(Element contactInfo)
throws XMLParsingException
- Parameters:
contactInfo
-
- Returns:
- the contactinfo or
null
if all underlying elements are empty.
- Throws:
XMLParsingException
parseKeywords
protected Keywords parseKeywords(Element keywords)
throws XMLParsingException
- Return the ows_1_1_0 keywords..
- Parameters:
keywords
- element to parse from
- Returns:
- a
,Type> pair.
- Throws:
XMLParsingException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net