| 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 String | 
ALL_NAME
 | 
static String | 
CONTENTS_NAME
 | 
protected static URI | 
OGCNS
 | 
static String | 
OPERATIONS_METADATA_NAME
 | 
protected static URI | 
OWSNS
 | 
static String | 
SERVICE_IDENTIFICATION_NAME
 | 
static 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(Element element)
Creates a class representation of an element of type ows:CodeType. | 
protected  OWSDomainType[] | 
getContraints(Element root)
 | 
protected  DCPType | 
getDCP(Element element)
Creates a DCPType object from the passed DCP element. | 
protected  DCPType[] | 
getDCPs(List<Element> el)
Creates an array of DCPType objects from the passed element list. | 
protected  Keywords | 
getKeywords(Element element)
Creates a Keywords instance from the given element of type
 ows:KeywordsType. | 
 Keywords[] | 
getKeywords(List nl)
Creates an array of  Keywords  instances from the passed list of elements of
 type  ows:KeywordsType . | 
protected  Operation | 
getOperation(String name,
                         boolean isMandatory,
                         Map operations)
Creates a class representation of an ows:Operation- element. | 
protected  OWSDomainType | 
getOWSDomainType(String opname,
                                 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(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 String ALL_NAME
public static final String SERVICE_IDENTIFICATION_NAME
public static final String SERVICE_PROVIDER_NAME
public static final String OPERATIONS_METADATA_NAME
public static final String CONTENTS_NAME
protected static final URI OWSNS
protected static final 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(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(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(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
XMLParsingExceptionOGCStandardCapabilities
protected DCPType[] getDCPs(List<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(String name,
                                 boolean isMandatory,
                                 Map operations)
                          throws XMLParsingException
ows:Operation- element.
name - isMandatory - operations - 
XMLParsingException
protected OWSDomainType[] getContraints(Element root)
                                 throws XMLParsingException
root - 
XMLParsingException
protected OWSDomainType getOWSDomainType(String opname,
                                         Element element)
                                  throws XMLParsingException
ows:DomainType.
element - 
XMLParsingException
protected TypeCode getCodeType(Element element)
                        throws XMLParsingException
ows:CodeType.
element - an ows:CodeType element
XMLParsingException
protected Envelope getWGS84BoundingBoxType(Element element)
                                    throws XMLParsingException
Envelope object from the given element of type
 ows:WGS84BoundingBoxType.
element - 
Envelope object
XMLParsingException
  | 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| 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