|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.framework.xml.XMLFragment org.deegree.ogcbase.OGCDocument org.deegree.ogcwebservices.getcapabilities.OGCCapabilitiesDocument org.deegree.owscommon.OWSCommonCapabilitiesDocument
public abstract class OWSCommonCapabilitiesDocument
Represents a configuration document for an OGC-Webservice according to the
OWS Common Implementation Specification 0.3
.
It consists of the following elements:
Name | Function |
---|---|
ServiceIdentification | corresponds to and expands the SV_ServiceIdentification class in ISO 19119 |
ServiceProvider | corresponds to and expands the SV_ServiceProvider class in ISO 19119 |
OperationsMetadata | contains set of Operation elements that each corresponds to and expand the SV_OperationsMetadata class in ISO 19119 |
Contents | whenever relevant, contains set of elements that each corresponds to the MD_DataIdentification class in ISO 19119 and 19115 |
Field Summary | |
---|---|
static java.lang.String |
ALL_NAME
|
static java.lang.String |
CONTENTS_NAME
|
protected static java.net.URI |
OGCNS
|
static java.lang.String |
OPERATIONS_METADATA_NAME
|
protected static java.net.URI |
OWSNS
|
static java.lang.String |
SERVICE_IDENTIFICATION_NAME
|
static java.lang.String |
SERVICE_PROVIDER_NAME
|
Fields inherited from class org.deegree.ogcbase.OGCDocument |
---|
GMLNS |
Fields inherited from class org.deegree.framework.xml.XMLFragment |
---|
DEFAULT_URL, nsContext, XLNNS |
Constructor Summary | |
---|---|
OWSCommonCapabilitiesDocument()
|
Method Summary | |
---|---|
protected TypeCode |
getCodeType(org.w3c.dom.Element element)
Creates a class representation of an element of type ows:CodeType . |
protected OWSDomainType[] |
getContraints(org.w3c.dom.Element root)
|
protected DCPType |
getDCP(org.w3c.dom.Element element)
Creates a DCPType object from the passed DCP element. |
protected DCPType[] |
getDCPs(java.util.List<org.w3c.dom.Element> el)
Creates an array of DCPType objects from the passed element list. |
protected Keywords |
getKeywords(org.w3c.dom.Element element)
Creates a Keywords instance from the given element of type
ows:KeywordsType . |
Keywords[] |
getKeywords(java.util.List nl)
Creates an array of Keywords instances from the passed list of elements of
type ows:KeywordsType . |
protected Operation |
getOperation(java.lang.String name,
boolean isMandatory,
java.util.Map operations)
Creates a class representation of an ows:Operation - element. |
protected OWSDomainType |
getOWSDomainType(java.lang.String opname,
org.w3c.dom.Element element)
Creates a class representation of an element of type ows:DomainType . |
ServiceIdentification |
getServiceIdentification()
Returns the class representation for the ServiceIdentification section of the
document. |
ServiceProvider |
getServiceProvider()
Returns the class representation for the ServiceProvider section of the
document. |
protected Envelope |
getWGS84BoundingBoxType(org.w3c.dom.Element element)
Creates an Envelope object from the given element of type
ows:WGS84BoundingBoxType . |
Methods inherited from class org.deegree.ogcwebservices.getcapabilities.OGCCapabilitiesDocument |
---|
parseAddress, parseCapabilities, parseMetadataLink, parsePhone, parseUpdateSequence, parseVersion |
Methods inherited from class org.deegree.ogcbase.OGCDocument |
---|
parseCodeList, parseCodeListArray, parseExtendedPropertyPath, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ALL_NAME
public static final java.lang.String SERVICE_IDENTIFICATION_NAME
public static final java.lang.String SERVICE_PROVIDER_NAME
public static final java.lang.String OPERATIONS_METADATA_NAME
public static final java.lang.String CONTENTS_NAME
protected static final java.net.URI OWSNS
protected static final java.net.URI OGCNS
Constructor Detail |
---|
public OWSCommonCapabilitiesDocument()
Method Detail |
---|
public ServiceProvider getServiceProvider() throws XMLParsingException
ServiceProvider
section of the
document.
ServiceProvider
section
XMLParsingException
public ServiceIdentification getServiceIdentification() throws XMLParsingException
ServiceIdentification
section of the
document.
ServiceIdentification
section
XMLParsingException
protected Keywords getKeywords(org.w3c.dom.Element element) throws XMLParsingException
Keywords
instance from the given element of type
ows:KeywordsType
.
NOTE: This method is redefined here (it is already defined in OGCDocument
),
because the spelling of the first letter ('K') changed in the OWS Common Implementation
Specification 0.2 from lowercase to uppercase.
element
-
Keywords
XMLParsingException
public Keywords[] getKeywords(java.util.List nl) throws XMLParsingException
Keywords
instances from the passed list of elements of
type ows:KeywordsType
.
This may appear to be pretty superfluous (as one ows:KeywordsType
can hold
several elements of type ows:Keyword
.
nl
- may be null
Keywords
, null if NodeList
constains
zero elements
XMLParsingException
protected DCPType getDCP(org.w3c.dom.Element element) throws XMLParsingException
DCPType
object from the passed DCP
element.
NOTE: Currently the OnlineResources
included in the DCPType
are
just stored as simple URLs
(not as OnLineResource
instances)!
NOTE: In an
OGCStandardCapabilitiesDocument
the XLinks
(the
URLs
) are stored in separate elements (OnlineResource
), in
an OGCCommonCapabilitiesDocument
they are the
Get
/
Post
elements themselves.
element
-
DCPType
XMLParsingException
OGCStandardCapabilities
protected DCPType[] getDCPs(java.util.List<org.w3c.dom.Element> el) throws XMLParsingException
DCPType
objects from the passed element list.
NOTE: Currently the OnlineResources
included in the DCPType
are
just stored as simple URLs
(not as OnLineResource
instances)!
el
-
DCPType
XMLParsingException
protected Operation getOperation(java.lang.String name, boolean isMandatory, java.util.Map operations) throws XMLParsingException
ows:Operation
- element.
name
- isMandatory
- operations
-
XMLParsingException
protected OWSDomainType[] getContraints(org.w3c.dom.Element root) throws XMLParsingException
root
-
XMLParsingException
protected OWSDomainType getOWSDomainType(java.lang.String opname, org.w3c.dom.Element element) throws XMLParsingException
ows:DomainType
.
element
-
XMLParsingException
protected TypeCode getCodeType(org.w3c.dom.Element element) throws XMLParsingException
ows:CodeType
.
element
- an ows:CodeType element
XMLParsingException
protected Envelope getWGS84BoundingBoxType(org.w3c.dom.Element element) throws XMLParsingException
Envelope
object from the given element of type
ows:WGS84BoundingBoxType
.
element
-
Envelope
object
XMLParsingException
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org