|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.services.wcts.protocol.WCTS_ProtocolFactory
Factory class for creating WCTS_Protocol classes from a XML document that's conform to the WCTS-specification.
----------------------------------------------------------------------
Constructor Summary | |
WCTS_ProtocolFactory()
|
Method Summary | |
static DescribeTransformationRequest |
createDescribeTransformationRequest(java.lang.String id,
java.util.HashMap vendorSpecificParameter,
org.w3c.dom.Document doc)
factory method for creating a DescribeTransformationRequest object from a WCTS-specification conform XML describetransformation-request document |
static DescribeTransformationRequest |
createDescribeTransformationRequest(java.lang.String id,
java.util.HashMap vendorSpecificParameter,
java.io.Reader reader)
factory method to create DescribeTransformation object |
static DescribeTransformationResponse |
createDescribeTransformationResponse(OGCWebServiceRequest request,
OGCWebServiceException exception,
CT_MathTransform[] parameterizedTransformation)
DescribeTransformationResponse |
static GetCapabilitiesRequest |
createGetCapabilitiesRequest(java.lang.String id,
java.util.HashMap vendorSpecificParameter)
factory method for creating a Capabilities Request |
static GetCapabilitiesResponse |
createGetCapabilitiesResponse(OGCWebServiceRequest request,
OGCWebServiceException exception,
java.lang.String capabilities)
|
static IsTransformableRequest |
createIsTransformableRequest(java.lang.String id,
java.util.HashMap vendorSpecificParameter,
org.w3c.dom.Document doc)
factory method for creating a Transformable object from a WCTS-specification conform XML transformable-request document |
static IsTransformableRequest |
createIsTransformableRequest(java.lang.String id,
java.util.HashMap vendorSpecificParameter,
java.io.Reader reader)
factory method for creating a Transformable object from a file that contains a WCTS-specification conform XML transformable-request document. |
static IsTransformableResponse |
createIsTransformableResponse(OGCWebServiceRequest request,
OGCWebServiceException exception,
boolean istransformable)
factory method for creating a Transformable object from a file that contains a WCTS-specification conform XML transformable-response document. |
static OGCWebServiceRequest |
createRequest(java.lang.String id,
java.io.Reader reader)
factory method for creating a Request where the type of the Request is chosen and initialized. |
static TransformRequest |
createTransformRequest(java.lang.String id,
java.util.HashMap vendorSpecificParameter,
org.w3c.dom.Document doc)
factory method for creating a Transform object from a WCTS-specification conform XML transform-request document |
static TransformRequest |
createTransformRequest(java.lang.String id,
java.util.HashMap vendorSpecificParameter,
java.io.Reader reader)
factory method for creating a Transform object from a file that contains a WCTS-specification conform XML transform-request document. |
static TransformResponse |
createTransformResponse(OGCWebServiceRequest request,
OGCWebServiceException exception,
GMLGeometry[] data)
factory method for creating a Transform object from a file that contains a WCTS-specification conform XML transform-response document. |
static GMLGeometry[] |
getData(org.w3c.dom.NodeList nl)
gets the Data element |
static CS_CoordinateSystem |
getDestinationCRS(org.w3c.dom.Element element)
gets the DestinationCRS out of the Transformable element |
static java.lang.String |
getFormat(org.w3c.dom.Element element)
gets the format element |
static java.lang.String |
getInputFormat(org.w3c.dom.Element element)
gets the InputFormat element |
static java.lang.String |
getOutputFormat(org.w3c.dom.Element element)
gets the OutputFormat element |
static CS_CoordinateSystem |
getSourceCRS(org.w3c.dom.Element element)
gets the SourceCRS out of the Transformable element |
static TransformationSequence[] |
getTransformationSequence(org.w3c.dom.Element element)
gets TransformationSequence element |
java.lang.String |
replace(java.lang.String target,
java.lang.String from,
java.lang.String to,
boolean all)
replaces occurences of a string fragment within a string by a new string. |
private static CS_CoordinateSystem |
String2CS_CoordinateSystem(java.lang.String string)
creates an CS_CoordinateSystem from a String. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WCTS_ProtocolFactory()
Method Detail |
public static OGCWebServiceRequest createRequest(java.lang.String id, java.io.Reader reader)
reader
- the post-requestpublic static GetCapabilitiesRequest createGetCapabilitiesRequest(java.lang.String id, java.util.HashMap vendorSpecificParameter) throws java.lang.Exception
java.lang.Exception
public static GetCapabilitiesResponse createGetCapabilitiesResponse(OGCWebServiceRequest request, OGCWebServiceException exception, java.lang.String capabilities) throws java.lang.Exception
java.lang.Exception
createGetCapabilitiesResponse(OGCWebServiceRequest, OGCWebServiceException, String)
public static IsTransformableRequest createIsTransformableRequest(java.lang.String id, java.util.HashMap vendorSpecificParameter, java.io.Reader reader) throws java.lang.Exception
java.lang.Exception
public static IsTransformableRequest createIsTransformableRequest(java.lang.String id, java.util.HashMap vendorSpecificParameter, org.w3c.dom.Document doc) throws java.lang.Exception
java.lang.Exception
public static CS_CoordinateSystem getSourceCRS(org.w3c.dom.Element element) throws java.rmi.RemoteException
java.rmi.RemoteException
public static CS_CoordinateSystem getDestinationCRS(org.w3c.dom.Element element) throws java.rmi.RemoteException
java.rmi.RemoteException
private static CS_CoordinateSystem String2CS_CoordinateSystem(java.lang.String string) throws java.rmi.RemoteException
java.rmi.RemoteException
public static IsTransformableResponse createIsTransformableResponse(OGCWebServiceRequest request, OGCWebServiceException exception, boolean istransformable) throws java.lang.Exception
java.lang.Exception
public static TransformRequest createTransformRequest(java.lang.String id, java.util.HashMap vendorSpecificParameter, java.io.Reader reader) throws java.io.IOException, org.xml.sax.SAXException, java.lang.Exception
java.io.IOException
org.xml.sax.SAXException
java.lang.Exception
public static TransformRequest createTransformRequest(java.lang.String id, java.util.HashMap vendorSpecificParameter, org.w3c.dom.Document doc) throws java.lang.Exception
java.lang.Exception
public static java.lang.String getInputFormat(org.w3c.dom.Element element)
public static java.lang.String getOutputFormat(org.w3c.dom.Element element)
public static TransformationSequence[] getTransformationSequence(org.w3c.dom.Element element)
public static GMLGeometry[] getData(org.w3c.dom.NodeList nl) throws GMLException
GMLException
public static TransformResponse createTransformResponse(OGCWebServiceRequest request, OGCWebServiceException exception, GMLGeometry[] data)
public static DescribeTransformationRequest createDescribeTransformationRequest(java.lang.String id, java.util.HashMap vendorSpecificParameter, java.io.Reader reader) throws java.lang.Exception
java.lang.Exception
public static DescribeTransformationRequest createDescribeTransformationRequest(java.lang.String id, java.util.HashMap vendorSpecificParameter, org.w3c.dom.Document doc) throws java.lang.Exception
java.lang.Exception
public static java.lang.String getFormat(org.w3c.dom.Element element)
public static DescribeTransformationResponse createDescribeTransformationResponse(OGCWebServiceRequest request, OGCWebServiceException exception, CT_MathTransform[] parameterizedTransformation) throws java.lang.Exception
java.lang.Exception
public java.lang.String replace(java.lang.String target, java.lang.String from, java.lang.String to, boolean all)
target
- is the original stringfrom
- is the string to be replacedto
- is the string which will used to replaceall
- if it's true all occurences of the string to be replaced
will be replaced. else only the first occurence will be
replaced.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |