| 
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
org.deegree.ogcwebservices.wmps.capabilities.WMPSCapabilitiesDocument
public class WMPSCapabilitiesDocument
Represents an XML capabilities document for an OGC WFS 1.1.0 compliant web service.
| Field Summary | |
|---|---|
protected static URI | 
WMPSNS
 | 
| 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 | |
|---|---|
WMPSCapabilitiesDocument()
 | 
|
| Method Summary | |
|---|---|
 void | 
createEmptyDocument()
Creates a skeleton capabilities document that contains the mandatory elements only.  | 
protected  DCPType | 
getDCP(Element element)
Creates a DCPType object from the passed DCP element. | 
protected  Attribution | 
parseAttribution(Element layerElem)
Parse Attribution  | 
protected  AuthorityURL[] | 
parseAuthorityURLs(Element layerElem)
Parse AuthorityURL  | 
 OGCCapabilities | 
parseCapabilities()
Creates a class representation of the document.  | 
protected  ContactInfo | 
parseContactInfo()
Parse Contact Information  | 
protected  DataURL[] | 
parseDataURL(Element layerElem)
Parse Data URL  | 
protected  Dimension[] | 
parseDimensions(Element layerElem)
Parse Dimensions  | 
protected  Extent[] | 
parseExtents(Element layerElem)
Parse Extents  | 
protected  FeatureListURL[] | 
parseFeatureListURL(Element layerElem)
Parse FeatureListURL  | 
protected  Identifier[] | 
parseIdentifiers(Element layerElem)
Parse Identifiers  | 
protected  Envelope | 
parseLatLonBoundingBox(Element llBox)
Parse Lat Lon Bounding Box  | 
protected  LayerBoundingBox[] | 
parseLayerBoundingBoxes(List<Node> nl)
Parse Layer Bounding Boxes  | 
protected  Layer | 
parseLayers(Element layerElem,
                       Layer parent)
returns the layers offered by the WMPS  | 
protected  LegendURL[] | 
parseLegendURL(Node node)
Parse Legend URL  | 
protected  MetadataURL[] | 
parseMetadataURLs(Element layerElem)
Parse MetadataURL  | 
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 WMPS capabilities file  | 
protected  ScaleHint | 
parseScaleHint(Element layerElem)
Parse Scale Hint  | 
protected  ServiceIdentification | 
parseServiceIdentification()
returns the services indentification read from the WMPS capabilities service section  | 
protected  ServiceProvider | 
parseServiceProvider()
returns WMPS contact informaion encapsulated within a ServiceProvider object | 
protected  Style[] | 
parseStyles(Element layerElem)
Parse Styles  | 
protected  StyleSheetURL | 
parseStyleSheetURL(Node node)
Parse Style Sheet URL  | 
protected  StyleURL | 
parseStyleURL(Node node)
Parse Style URL  | 
protected  UserDefinedSymbolization | 
parseUserDefinedSymbolization()
Parse the UserDefinedSymbolization  | 
| 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 | 
| Field Detail | 
|---|
protected static final URI WMPSNS
| Constructor Detail | 
|---|
public WMPSCapabilitiesDocument()
| Method Detail | 
|---|
public void createEmptyDocument()
                         throws IOException,
                                SAXException
IOException
SAXException
public OGCCapabilities parseCapabilities()
                                  throws InvalidCapabilitiesException
parseCapabilities in class OGCCapabilitiesDocumentInvalidCapabilitiesException
protected UserDefinedSymbolization parseUserDefinedSymbolization()
                                                          throws XMLParsingException
XMLParsingException
protected ServiceIdentification parseServiceIdentification()
                                                    throws XMLParsingException
XMLParsingException
protected ServiceProvider parseServiceProvider()
                                        throws XMLParsingException
ServiceProvider object
XMLParsingException
protected ContactInfo parseContactInfo()
                                throws XMLParsingException
XMLParsingException
protected OperationsMetadata parseOperationsMetadata()
                                              throws XMLParsingException
XMLParsingException
protected Operation parseOperation(Node node)
                            throws XMLParsingException
Notice: operation to be parsed must be operations in sense of WMPS (draft). The method will return an OWSCommon Operation which encapsulates parsed WMPS operation
node - the Element that describes an Operation
XMLParsingException - if a syntactic or semantic error in the DOM-subtree is encountered
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.
getDCP in class OWSCommonCapabilitiesDocument
element - 
DCPType
XMLParsingExceptionOGCStandardCapabilities
protected Layer parseLayers(Element layerElem,
                            Layer parent)
                     throws XMLParsingException,
                            UnknownCRSException
layerElem - parent - 
XMLParsingException
UnknownCRSException
protected Dimension[] parseDimensions(Element layerElem)
                               throws XMLParsingException
layerElem - 
XMLParsingException
protected Extent[] parseExtents(Element layerElem)
                         throws XMLParsingException
layerElem - 
XMLParsingException
protected Attribution parseAttribution(Element layerElem)
                                throws XMLParsingException
layerElem - 
XMLParsingException
protected AuthorityURL[] parseAuthorityURLs(Element layerElem)
                                     throws XMLParsingException
layerElem - 
XMLParsingException
protected MetadataURL[] parseMetadataURLs(Element layerElem)
                                   throws XMLParsingException
layerElem - 
XMLParsingException
protected DataURL[] parseDataURL(Element layerElem)
                          throws XMLParsingException
layerElem - 
XMLParsingException
protected FeatureListURL[] parseFeatureListURL(Element layerElem)
                                        throws XMLParsingException
layerElem - 
XMLParsingException
protected Style[] parseStyles(Element layerElem)
                       throws XMLParsingException
layerElem - 
XMLParsingException
protected LegendURL[] parseLegendURL(Node node)
                              throws XMLParsingException
node - 
XMLParsingException
protected StyleURL parseStyleURL(Node node)
                          throws XMLParsingException
node - 
XMLParsingException
protected StyleSheetURL parseStyleSheetURL(Node node)
                                    throws XMLParsingException
node - 
XMLParsingException
protected ScaleHint parseScaleHint(Element layerElem)
                            throws XMLParsingException
layerElem - 
XMLParsingException
protected Identifier[] parseIdentifiers(Element layerElem)
                                 throws XMLParsingException
layerElem - 
XMLParsingException
protected LayerBoundingBox[] parseLayerBoundingBoxes(List<Node> nl)
                                              throws XMLParsingException
nl - 
XMLParsingException
protected Envelope parseLatLonBoundingBox(Element llBox)
                                   throws XMLParsingException,
                                          UnknownCRSException
llBox - 
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