| 
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.ogcwebservices.wms.capabilities.WMSCapabilitiesDocument
org.deegree.ogcwebservices.wms.capabilities.WMSCapabilitiesDocument_1_0_0
public class WMSCapabilitiesDocument_1_0_0
WMSCapabilitiesDocument is the parser class for WMS capabilities documents that
 uses the new OWS common classes to encapsulate the data.
| 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_0_0()
 | 
|
| Method Summary | |
|---|---|
 void | 
createEmptyDocument()
Creates a skeleton capabilities document that contains the mandatory elements only.  | 
 OGCCapabilities | 
parseCapabilities()
Creates a class representation of the document.  | 
protected  DataURL[] | 
parseDataURL(Element layerElem)
 | 
protected  DCP | 
parseDCP(Element element)
Parses a DCPType element.  | 
protected  List<String> | 
parseExceptionFormats(Element elem)
 | 
protected  Envelope | 
parseLatLonBoundingBox(Element llBox)
 | 
protected  LayerBoundingBox[] | 
parseLayerBoundingBoxes(List<Element> nl)
 | 
protected  Layer | 
parseLayers(Element layerElem,
                       Layer parent,
                       ScaleHint scaleHint)
returns the layers offered by the WMS  | 
protected  Operation | 
parseOperation(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(Element layerElem,
                             ScaleHint scaleHint)
 | 
protected  ServiceIdentification | 
parseServiceIdentification()
returns the services indentification read from the WMS capabilities service section  | 
protected  Style[] | 
parseStyles(Element layerElem)
 | 
protected  StyleURL | 
parseStyleURL(Node node)
 | 
| Methods inherited from class org.deegree.ogcwebservices.wms.capabilities.WMSCapabilitiesDocument | 
|---|
parseAttribution, parseAuthorityURLs, parseContactInfo, parseDimensions, parseExtents, parseFeatureListURL, parseIdentifiers, parseLegendURL, parseMetadataURLs, parseServiceProvider, parseStyleSheetURL, 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_0_0()
| Method Detail | 
|---|
public void createEmptyDocument()
                         throws IOException,
                                SAXException
createEmptyDocument in class WMSCapabilitiesDocumentIOException
SAXException
protected List<String> parseExceptionFormats(Element elem)
                                      throws XMLParsingException
parseExceptionFormats in class WMSCapabilitiesDocumentelem - 
XMLParsingException
public OGCCapabilities parseCapabilities()
                                  throws InvalidCapabilitiesException
parseCapabilities in class WMSCapabilitiesDocumentInvalidCapabilitiesException
protected ServiceIdentification parseServiceIdentification()
                                                    throws XMLParsingException
parseServiceIdentification in class WMSCapabilitiesDocumentXMLParsingException
protected OperationsMetadata parseOperationsMetadata()
                                              throws XMLParsingException
parseOperationsMetadata in class WMSCapabilitiesDocumentXMLParsingException
protected Operation parseOperation(Node node)
                            throws XMLParsingException
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 WMSCapabilitiesDocumentnode - the Element that describes an Operation
XMLParsingException - if a syntactic or semantic error in the DOM-subtree is encountered
protected DCP parseDCP(Element element)
                throws XMLParsingException
parseDCP in class WMSCapabilitiesDocumentelement - 
DCPType
XMLParsingExceptionOGCStandardCapabilities
protected Layer parseLayers(Element layerElem,
                            Layer parent,
                            ScaleHint scaleHint)
                     throws XMLParsingException,
                            UnknownCRSException
parseLayers in class WMSCapabilitiesDocumentXMLParsingException
UnknownCRSException
protected DataURL[] parseDataURL(Element layerElem)
                          throws XMLParsingException
parseDataURL in class WMSCapabilitiesDocumentlayerElem - 
XMLParsingException
protected Style[] parseStyles(Element layerElem)
                       throws XMLParsingException
parseStyles in class WMSCapabilitiesDocumentlayerElem - 
XMLParsingException
protected StyleURL parseStyleURL(Node node)
                          throws XMLParsingException
parseStyleURL in class WMSCapabilitiesDocumentnode - 
XMLParsingException
protected ScaleHint parseScaleHint(Element layerElem,
                                   ScaleHint scaleHint)
                            throws XMLParsingException
parseScaleHint in class WMSCapabilitiesDocumentlayerElem - scaleHint - the default scale hint
XMLParsingException
protected LayerBoundingBox[] parseLayerBoundingBoxes(List<Element> nl)
                                              throws XMLParsingException
parseLayerBoundingBoxes in class WMSCapabilitiesDocumentnl - 
XMLParsingException
protected Envelope parseLatLonBoundingBox(Element llBox)
                                   throws XMLParsingException,
                                          UnknownCRSException
parseLatLonBoundingBox in class WMSCapabilitiesDocumentllBox - 
XMLParsingException
UnknownCRSException
  | 
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