|
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.ogcwebservices.wms.capabilities.WMSCapabilitiesDocument org.deegree.ogcwebservices.wms.capabilities.WMSCapabilitiesDocument_1_3_0
public class WMSCapabilitiesDocument_1_3_0
WMSCapabilitiesDocument_1_3_0
is a parser class for capabilities documents according to the OGC WMS
1.3.0 specification.
Field Summary |
---|
Fields inherited from class org.deegree.ogcwebservices.getcapabilities.OGCCapabilitiesDocument |
---|
OGCNS |
Fields inherited from class org.deegree.ogcbase.OGCDocument |
---|
GMLNS |
Fields inherited from class org.deegree.framework.xml.XMLFragment |
---|
DEFAULT_URL, nsContext, XLNNS |
Constructor Summary | |
---|---|
WMSCapabilitiesDocument_1_3_0()
|
Method Summary | |
---|---|
void |
createEmptyDocument()
Creates a skeleton capabilities document that contains the mandatory elements only. |
protected Attribution |
parseAttribution(org.w3c.dom.Element layerElem)
|
protected AuthorityURL[] |
parseAuthorityURLs(org.w3c.dom.Element layerElem)
|
OGCCapabilities |
parseCapabilities()
Creates a class representation of the document. |
protected ContactInfo |
parseContactInfo()
|
protected DataURL[] |
parseDataURL(org.w3c.dom.Element layerElem)
|
protected DCP |
parseDCP(org.w3c.dom.Element element)
Parses a DCPType element. |
protected Dimension[] |
parseDimensions(org.w3c.dom.Element layerElem)
|
protected Envelope |
parseEX_GeographicBoundingBox(org.w3c.dom.Element llBox)
|
protected java.util.List<java.lang.String> |
parseExceptionFormats(org.w3c.dom.Element elem)
|
protected FeatureListURL[] |
parseFeatureListURL(org.w3c.dom.Element layerElem)
|
protected Identifier[] |
parseIdentifiers(org.w3c.dom.Element layerElem)
|
protected LayerBoundingBox[] |
parseLayerBoundingBoxes(java.util.List<org.w3c.dom.Element> nl)
|
protected Layer |
parseLayers(org.w3c.dom.Element layerElem,
Layer parent,
ScaleHint scaleHint)
|
protected LegendURL[] |
parseLegendURL(org.w3c.dom.Node node)
|
protected MetadataURL[] |
parseMetadataURLs(org.w3c.dom.Element layerElem)
|
protected Operation |
parseOperation(org.w3c.dom.Node node)
Creates an Operation-instance according to the contents of the DOM-subtree starting at the given Node. |
protected OperationsMetadata |
parseOperationsMetadata()
returns the services capabilitiy read from the WMS capabilities file |
protected ScaleHint |
parseScaleHint(org.w3c.dom.Element layerElem,
ScaleHint scaleHint)
|
protected ServiceIdentification |
parseServiceIdentification()
|
protected ServiceProvider |
parseServiceProvider()
returns WMS contact informaion encapsulated within a ServiceProvider object |
protected Style[] |
parseStyles(org.w3c.dom.Element layerElem)
|
protected StyleSheetURL |
parseStyleSheetURL(org.w3c.dom.Node node)
|
protected StyleURL |
parseStyleURL(org.w3c.dom.Node node)
|
Methods inherited from class org.deegree.ogcwebservices.wms.capabilities.WMSCapabilitiesDocument |
---|
parseExtents, parseLatLonBoundingBox, parseUserDefinedSymbolization |
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 WMSCapabilitiesDocument_1_3_0()
Method Detail |
---|
public void createEmptyDocument() throws java.io.IOException, org.xml.sax.SAXException
WMSCapabilitiesDocument
createEmptyDocument
in class WMSCapabilitiesDocument
java.io.IOException
org.xml.sax.SAXException
protected java.util.List<java.lang.String> parseExceptionFormats(org.w3c.dom.Element elem) throws XMLParsingException
parseExceptionFormats
in class WMSCapabilitiesDocument
XMLParsingException
public OGCCapabilities parseCapabilities() throws InvalidCapabilitiesException
WMSCapabilitiesDocument
parseCapabilities
in class WMSCapabilitiesDocument
InvalidCapabilitiesException
protected ServiceIdentification parseServiceIdentification() throws XMLParsingException
parseServiceIdentification
in class WMSCapabilitiesDocument
XMLParsingException
protected ServiceProvider parseServiceProvider() throws XMLParsingException
WMSCapabilitiesDocument
ServiceProvider
object
parseServiceProvider
in class WMSCapabilitiesDocument
XMLParsingException
protected ContactInfo parseContactInfo() throws XMLParsingException
parseContactInfo
in class WMSCapabilitiesDocument
XMLParsingException
protected OperationsMetadata parseOperationsMetadata() throws XMLParsingException
WMSCapabilitiesDocument
parseOperationsMetadata
in class WMSCapabilitiesDocument
XMLParsingException
protected Operation parseOperation(org.w3c.dom.Node node) throws XMLParsingException
WMSCapabilitiesDocument
Notice: operation to be parsed must be operations in sense of WMS 1.0.0 - 1.3.0 and not as defined in OWSCommons. But the method will return an OWSCommon Operation which encapsulates parsed WMS operation
parseOperation
in class WMSCapabilitiesDocument
node
- the Element that describes an Operation
XMLParsingException
- if a syntactic or semantic error in the DOM-subtree is encounteredprotected DCP parseDCP(org.w3c.dom.Element element) throws XMLParsingException
WMSCapabilitiesDocument
parseDCP
in class WMSCapabilitiesDocument
DCPType
XMLParsingException
OGCStandardCapabilities
protected Layer parseLayers(org.w3c.dom.Element layerElem, Layer parent, ScaleHint scaleHint) throws XMLParsingException, UnknownCRSException
parseLayers
in class WMSCapabilitiesDocument
XMLParsingException
UnknownCRSException
protected ScaleHint parseScaleHint(org.w3c.dom.Element layerElem, ScaleHint scaleHint) throws XMLParsingException
parseScaleHint
in class WMSCapabilitiesDocument
scaleHint
- the default scale hint
XMLParsingException
protected Dimension[] parseDimensions(org.w3c.dom.Element layerElem) throws XMLParsingException
parseDimensions
in class WMSCapabilitiesDocument
XMLParsingException
protected Attribution parseAttribution(org.w3c.dom.Element layerElem) throws XMLParsingException
parseAttribution
in class WMSCapabilitiesDocument
XMLParsingException
protected AuthorityURL[] parseAuthorityURLs(org.w3c.dom.Element layerElem) throws XMLParsingException
parseAuthorityURLs
in class WMSCapabilitiesDocument
XMLParsingException
protected MetadataURL[] parseMetadataURLs(org.w3c.dom.Element layerElem) throws XMLParsingException
parseMetadataURLs
in class WMSCapabilitiesDocument
XMLParsingException
protected DataURL[] parseDataURL(org.w3c.dom.Element layerElem) throws XMLParsingException
parseDataURL
in class WMSCapabilitiesDocument
XMLParsingException
protected FeatureListURL[] parseFeatureListURL(org.w3c.dom.Element layerElem) throws XMLParsingException
parseFeatureListURL
in class WMSCapabilitiesDocument
XMLParsingException
protected Style[] parseStyles(org.w3c.dom.Element layerElem) throws XMLParsingException
parseStyles
in class WMSCapabilitiesDocument
XMLParsingException
protected LegendURL[] parseLegendURL(org.w3c.dom.Node node) throws XMLParsingException
parseLegendURL
in class WMSCapabilitiesDocument
XMLParsingException
protected StyleURL parseStyleURL(org.w3c.dom.Node node) throws XMLParsingException
parseStyleURL
in class WMSCapabilitiesDocument
XMLParsingException
protected StyleSheetURL parseStyleSheetURL(org.w3c.dom.Node node) throws XMLParsingException
parseStyleSheetURL
in class WMSCapabilitiesDocument
XMLParsingException
protected Identifier[] parseIdentifiers(org.w3c.dom.Element layerElem) throws XMLParsingException
parseIdentifiers
in class WMSCapabilitiesDocument
XMLParsingException
protected LayerBoundingBox[] parseLayerBoundingBoxes(java.util.List<org.w3c.dom.Element> nl) throws XMLParsingException
parseLayerBoundingBoxes
in class WMSCapabilitiesDocument
XMLParsingException
protected Envelope parseEX_GeographicBoundingBox(org.w3c.dom.Element llBox) throws XMLParsingException, UnknownCRSException
llBox
-
XMLParsingException
UnknownCRSException
|
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