deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcwebservices.wass.common
Class OWSCapabilitiesBaseDocument_1_0

java.lang.Object
  extended by org.deegree.framework.xml.XMLFragment
      extended by org.deegree.ogcbase.OGCDocument
          extended by org.deegree.ogcwebservices.getcapabilities.OGCCapabilitiesDocument
              extended by org.deegree.owscommon.OWSCommonCapabilitiesDocument
                  extended by org.deegree.ogcwebservices.wass.common.OWSCapabilitiesBaseDocument_1_0
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
WASCapabilitiesDocument, WSSCapabilitiesDocument

public abstract class OWSCapabilitiesBaseDocument_1_0
extends OWSCommonCapabilitiesDocument

The owscapabilities 1.0 specification parser. This class is able to parse the changes made in the ows capabilites specifications 1.0.

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Rutger Bezema, last edited by: $Author: mschneider $
See Also:
Serialized Form

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
OWSCapabilitiesBaseDocument_1_0()
           
 
Method Summary
 void createEmptyDocument(java.lang.String template)
          Creates an empty document loaded from the template given.
 Operation_1_0 parseOperation(org.w3c.dom.Element root)
           
 OperationsMetadata_1_0 parseOperationsMetadata()
           
 ServiceIdentification parseServiceIdentification()
          Returns the class representation for the ServiceIdentification section of the document, according to the ows 1.0 spec.
 ServiceProvider parseServiceProvider()
          Wrapper to make it consistent.
 java.util.ArrayList<SupportedAuthenticationMethod> parseSupportedAuthenticationMethods(java.lang.String nameSpace)
           
 
Methods inherited from class org.deegree.owscommon.OWSCommonCapabilitiesDocument
getCodeType, getContraints, getDCP, getDCPs, getKeywords, getKeywords, getOperation, getOWSDomainType, getServiceIdentification, getServiceProvider, getWGS84BoundingBoxType
 
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
 

Constructor Detail

OWSCapabilitiesBaseDocument_1_0

public OWSCapabilitiesBaseDocument_1_0()
Method Detail

createEmptyDocument

public void createEmptyDocument(java.lang.String template)
                         throws java.io.IOException,
                                org.xml.sax.SAXException
Creates an empty document loaded from the template given.

Parameters:
template - the location/name of the template
Throws:
java.io.IOException
org.xml.sax.SAXException

parseServiceIdentification

public ServiceIdentification parseServiceIdentification()
                                                 throws XMLParsingException
Returns the class representation for the ServiceIdentification section of the document, according to the ows 1.0 spec.

Returns:
class representation for the ServiceIdentification section
Throws:
XMLParsingException

parseServiceProvider

public ServiceProvider parseServiceProvider()
                                     throws XMLParsingException
Wrapper to make it consistent.

Returns:
the ServiceProvider representation
Throws:
XMLParsingException

parseOperationsMetadata

public OperationsMetadata_1_0 parseOperationsMetadata()
                                               throws XMLParsingException,
                                                      InvalidCapabilitiesException,
                                                      java.net.URISyntaxException
Returns:
the OperationsMetada representation
Throws:
XMLParsingException
InvalidCapabilitiesException
java.net.URISyntaxException

parseOperation

public Operation_1_0 parseOperation(org.w3c.dom.Element root)
                             throws XMLParsingException,
                                    java.net.URISyntaxException
Parameters:
root - the root node of the Operation xml fragment.
Returns:
The operation representation 1.0 conform
Throws:
XMLParsingException
java.net.URISyntaxException

parseSupportedAuthenticationMethods

public java.util.ArrayList<SupportedAuthenticationMethod> parseSupportedAuthenticationMethods(java.lang.String nameSpace)
                                                                                       throws XMLParsingException,
                                                                                              java.net.MalformedURLException
Parameters:
nameSpace - The namespace of the supportedauthenticationlist should be wss or was
Returns:
ArrayList
Throws:
XMLParsingException
java.net.MalformedURLException

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org