|
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 org.deegree.ogcwebservices.wpvs.capabilities.WPVSCapabilitiesDocument
public class WPVSCapabilitiesDocument
This class represents a WPVSCapabilitiesDocument
object.
Field Summary |
---|
Fields inherited from class org.deegree.owscommon.OWSCommonCapabilitiesDocument |
---|
ALL_NAME, CONTENTS_NAME, OGCNS, OPERATIONS_METADATA_NAME, OWSNS, SERVICE_IDENTIFICATION_NAME, 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 | |
---|---|
WPVSCapabilitiesDocument()
|
Method Summary | |
---|---|
void |
createEmptyDocument()
Creates a skeleton capabilities document that contains the mandatory elements only. |
protected Envelope[] |
getBoundingBoxes(org.w3c.dom.Element element,
CoordinateSystem defaultCoordinateSystem)
Gets an array of boundingBoxes from the given Element . |
protected DCPType |
getDCP(org.w3c.dom.Element element)
FIXME there is a similar method in org.deegree.owscommon.OWSCommonCapabilitiesDocument#getDCP. overrides that method! |
protected Envelope |
parseBoundingBox(org.w3c.dom.Element element,
CoordinateSystem defaultCoordinateSystem)
Usable with any BoundingBox. |
OGCCapabilities |
parseCapabilities()
Creates a class representation of the document. |
protected java.util.List<CoordinateSystem> |
parseCoordinateSystems(java.lang.String[] coordinateStrings)
|
protected DataProvider |
parseDataProvider(org.w3c.dom.Element datasetElement)
Creates and returns a new DataProvider object from the given Element . |
protected Identifier |
parseDatasetIdentifier(org.w3c.dom.Element element,
java.lang.String xPathQuery)
Creates and returns a new Identifier object from the given Element and the given
|
protected DatasetReference[] |
parseDatasetReferences(org.w3c.dom.Element datasetElement)
Creates and returns a new array of DatasetReference objects from the given Element . |
protected Dimension[] |
parseDimensions(org.w3c.dom.Element element)
|
protected FeatureListReference[] |
parseFeatureListReferences(org.w3c.dom.Element datasetElement)
Creates and returns a new array of FeatureListReference objects from the given
Element . |
protected MetaData[] |
parseMetaData(org.w3c.dom.Element datasetElement)
Creates and returns a new MetaData object from the given Element . |
protected OperationsMetadata |
parseOperationsMetadata(OnlineResource defaultOnlineResource)
Creates and returns a new OperationsMetadata object. |
protected Identifier |
parseStyleIdentifier(org.w3c.dom.Element element,
java.lang.String xPathQuery)
Creates and returns a new Identifier object from the given Element and the given
|
protected Style[] |
parseStyles(org.w3c.dom.Element datasetElement)
Creates and returns a new array of Style objects from the given Element . |
Methods inherited from class org.deegree.owscommon.OWSCommonCapabilitiesDocument |
---|
getCodeType, getContraints, getDCPs, getKeywords, getKeywords, getOperation, getOWSDomainType, getServiceIdentification, getServiceProvider, getWGS84BoundingBoxType |
Methods inherited from class org.deegree.ogcwebservices.getcapabilities.OGCCapabilitiesDocument |
---|
parseAddress, 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 |
Constructor Detail |
---|
public WPVSCapabilitiesDocument()
Method Detail |
---|
public void createEmptyDocument() throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
public OGCCapabilities parseCapabilities() throws InvalidCapabilitiesException
OGCCapabilitiesDocument
parseCapabilities
in class OGCCapabilitiesDocument
InvalidCapabilitiesException
OGCCapabilitiesDocument.parseCapabilities()
protected java.util.List<CoordinateSystem> parseCoordinateSystems(java.lang.String[] coordinateStrings)
coordinateStrings
- the Strings to create the coordinates from
protected Style[] parseStyles(org.w3c.dom.Element datasetElement) throws XMLParsingException, InvalidCapabilitiesException
Style
objects from the given Element
.
datasetElement
-
null
if none were defined
XMLParsingException
InvalidCapabilitiesException
protected FeatureListReference[] parseFeatureListReferences(org.w3c.dom.Element datasetElement) throws XMLParsingException, InvalidCapabilitiesException
FeatureListReference
objects from the given
Element
.
datasetElement
-
null
if none were defined
(optional).
XMLParsingException
InvalidCapabilitiesException
protected DatasetReference[] parseDatasetReferences(org.w3c.dom.Element datasetElement) throws XMLParsingException, InvalidCapabilitiesException
DatasetReference
objects from the given Element
.
datasetElement
-
null
if no DatasetReferences are
specified in this dataset (optional)
XMLParsingException
InvalidCapabilitiesException
protected MetaData[] parseMetaData(org.w3c.dom.Element datasetElement) throws XMLParsingException, InvalidCapabilitiesException
MetaData
object from the given Element
.
datasetElement
-
null
if no metadata was specified in the dataset
(optional).
XMLParsingException
InvalidCapabilitiesException
protected Identifier parseStyleIdentifier(org.w3c.dom.Element element, java.lang.String xPathQuery) throws XMLParsingException, InvalidCapabilitiesException
Identifier
object from the given Element
and the given
element
- xPathQuery
-
XMLParsingException
InvalidCapabilitiesException
- if no (valid) identifier is foundprotected Identifier parseDatasetIdentifier(org.w3c.dom.Element element, java.lang.String xPathQuery) throws XMLParsingException, InvalidCapabilitiesException
Identifier
object from the given Element
and the given
element
- xPathQuery
-
XMLParsingException
InvalidCapabilitiesException
- if no (valid) identifier is foundprotected DataProvider parseDataProvider(org.w3c.dom.Element datasetElement) throws XMLParsingException, InvalidCapabilitiesException
DataProvider
object from the given Element
.
datasetElement
-
null
if no provider was defined.
XMLParsingException
InvalidCapabilitiesException
protected Dimension[] parseDimensions(org.w3c.dom.Element element) throws XMLParsingException
element
-
null
if no dimension is found (optional).
XMLParsingException
protected Envelope[] getBoundingBoxes(org.w3c.dom.Element element, CoordinateSystem defaultCoordinateSystem) throws XMLParsingException, InvalidParameterValueException
boundingBoxes
from the given Element
. This method returns all
boundingBoxes together in one array.
element
- defaultCoordinateSystem
- to be used for not defined coordinate system attribute in the bbox element
XMLParsingException
InvalidParameterValueException
protected Envelope parseBoundingBox(org.w3c.dom.Element element, CoordinateSystem defaultCoordinateSystem) throws XMLParsingException, InvalidParameterValueException
Envelope
object from the given element of type ows:WGS84BoundingBox
or
ows:BoundingBox
.
element
- defaultCoordinateSystem
- if the crs-attribute of the bbox element is not defined
XMLParsingException
InvalidParameterValueException
protected OperationsMetadata parseOperationsMetadata(OnlineResource defaultOnlineResource) throws XMLParsingException, InvalidCapabilitiesException
OperationsMetadata
object.
defaultOnlineResource
- to fill in the left out dcp's or null
if no default URL was given.
XMLParsingException
InvalidCapabilitiesException
protected DCPType getDCP(org.w3c.dom.Element element) throws XMLParsingException
DCPType
object from the passed DCP
element.
getDCP
in class OWSCommonCapabilitiesDocument
element
-
DCPType
XMLParsingException
OGCStandardCapabilities
|
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