deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.ogcwebservices.wcts.operation
Class IsTransformableDocument

java.lang.Object
  extended by org.deegree.framework.xml.XMLFragment
      extended by org.deegree.ogcwebservices.wcts.operation.WCTSRequestBaseDocument
          extended by org.deegree.ogcwebservices.wcts.operation.IsTransformableDocument
All Implemented Interfaces:
Serializable

public class IsTransformableDocument
extends WCTSRequestBaseDocument

IsTransformableDocument is a helper class which is able to parse wcts isTransformable requests version 0.4.0

Version:
$Revision:$, $Date:$
Author:
Rutger Bezema, last edited by: $Author:$
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.deegree.ogcwebservices.wcts.operation.WCTSRequestBaseDocument
PRE
 
Fields inherited from class org.deegree.framework.xml.XMLFragment
DEFAULT_URL, nsContext, XLNNS
 
Constructor Summary
IsTransformableDocument(String id, Element rootElement)
           
 
Method Summary
 IsTransformable getIsTransformable()
           
protected  List<Pair<String,String>> parseCoverageTypes()
           
protected  List<Pair<String,String>> parseGeometryTypes()
           
protected  List<Pair<String,String>> parseInterpolationTypes()
           
 
Methods inherited from class org.deegree.ogcwebservices.wcts.operation.WCTSRequestBaseDocument
parseService, parseVersion
 
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

IsTransformableDocument

public IsTransformableDocument(String id,
                               Element rootElement)
                        throws OGCWebServiceException
Parameters:
id -
rootElement -
Throws:
OGCWebServiceException - if an XMLParsingException occurred or a mandatory element/attribute is missing.
Method Detail

parseGeometryTypes

protected List<Pair<String,String>> parseGeometryTypes()
                                                throws XMLParsingException
Returns:
a list containing <value, codeSpace > pairs. If codeSpace, was not set it will contain the default value: http://schemas.opengis.net/wcts/0.0.0/geometryType.xml. The result can be empty but never null.
Throws:
XMLParsingException - if an error occurs while getting all elements of type geometryType.

parseCoverageTypes

protected List<Pair<String,String>> parseCoverageTypes()
                                                throws XMLParsingException,
                                                       OGCWebServiceException
Returns:
always null, because this operation is not supported by the wcts.
Throws:
XMLParsingException - if an error occurs while getting all elements of type coverageType.
OGCWebServiceException - if coverageType elements were found.

parseInterpolationTypes

protected List<Pair<String,String>> parseInterpolationTypes()
                                                     throws XMLParsingException,
                                                            OGCWebServiceException
Returns:
always null, because this operation is not supported by the wcts.
Throws:
XMLParsingException - if an error occurs while getting all elements of type interpolationType.
OGCWebServiceException - if interpolationType elements were found.

getIsTransformable

public final IsTransformable getIsTransformable()
Returns:
the isTransformable.

deegree 2.3 (2010/04/09 10:10 build-4-official)

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