public class OgcWfsClient extends Object
| Constructor and Description |
|---|
OgcWfsClient() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addBboxFilter(GetFeature gf,
String attributeName,
double[] bbox,
String srsName,
FeatureType ft)
Voegt een bbox toe aan het GetFeature object.
|
static void |
addCombinedAndFilter(GetFeature gf,
FeatureType ft,
Filter queryFilter,
Filter geomFilter) |
static void |
addPolygonFilter(GetFeature gf,
String attributeName,
String polygon,
String srsName,
FeatureType ft) |
static void |
addPropertyIsEqualToFilter(GetFeature gf,
String propertyName,
String compareValue) |
static void |
addQueryFilter(GetFeature gf,
String adminQuery,
String srsName,
FeatureType ft) |
static Filter |
createBboxFilter(String attributeName,
double[] bbox,
String srsName,
FeatureType feature)
Creates a bbox filter
|
static Filter |
createPolygonFilter(String attributeName,
String polygon,
String srsName,
FeatureType feature) |
static Filter |
createQueryFilter(GetFeature gf,
String query,
String srsName,
FeatureType feature) |
static Element |
doRequest(Object o,
String host,
HashMap namespaces,
String username,
String password) |
static Element |
doRequest(Object o,
String host,
String username,
String password)
Doe een request naar de host die meegegeven is stuur het object als body
Kijkt tevens of het een serviceExceptionReport is en trowed dat dan als Exception.
|
static String |
elementToString(Element e) |
static FeatureType |
getCapabilitieFeatureType(WFS_Capabilities cap,
String name)
Get the feature in the capabilities with given name.
|
static WFS_Capabilities |
getCapabilities(OGCRequest original)
Doe een getCapabilities request naar de host aangegeven in de OGCRequest die meegegeven wordt
|
static WFS_Capabilities |
getCapabilitiesVersion100(Element element) |
static WFS_Capabilities |
getCapabilitiesVersion110(Element element) |
static ArrayList |
getDescribeFeatureElements(Element el)
Haal de elementen uit de describefeaturetype request
|
static Element |
getDescribeFeatureType(OGCRequest original)
Doe een getDescribeFeatureType request naar de host aangegeven in de OGCRequest die meegegeven wordt
|
static DescribeFeatureType |
getDescribeFeatureTypeRequest(OGCRequest original)
Get the DescribeFeaturetype Request object.
|
static ArrayList |
getFeatureElements(GetFeature gf,
OGCRequest or) |
static GetCapabilities |
getGetCapabilitiesRequest(OGCRequest or)
Get the GetCapabilities request object
|
static GetFeature |
getGetFeatureRequest(OGCRequest original)
Get the GetFeature request object.
|
static String |
getRequestBody(OGCRequest or)
The request parameter of the OGCRequest must be filled because it is used to choose the body returned.
|
static ServiceExceptionReport |
getServiceExceptionReport(Element element)
Unmarshal the object to a serviceexception report.
|
static Transaction |
getTransactionRequest(OGCRequest original) |
protected static Element |
readXml2Element(Reader src) |
static String |
removeFilterTags(Filter filter) |
static org.exolab.castor.types.AnyNode |
xmlStringToAnyNode(String xml) |
public static WFS_Capabilities getCapabilities(OGCRequest original) throws Exception
Exceptionpublic static Element doRequest(Object o, String host, String username, String password) throws Exception
Exceptionpublic static Element doRequest(Object o, String host, HashMap namespaces, String username, String password) throws Exception
Exceptionpublic static Element getDescribeFeatureType(OGCRequest original) throws Exception
Exceptionpublic static ArrayList getDescribeFeatureElements(Element el) throws Exception
Exceptionpublic static FeatureType getCapabilitieFeatureType(WFS_Capabilities cap, String name)
public static DescribeFeatureType getDescribeFeatureTypeRequest(OGCRequest original) throws Exception
Exceptionpublic static GetCapabilities getGetCapabilitiesRequest(OGCRequest or)
public static GetFeature getGetFeatureRequest(OGCRequest original) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException, Exception
org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionExceptionpublic static Transaction getTransactionRequest(OGCRequest original) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException, Exception
org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionExceptionpublic static String getRequestBody(OGCRequest or) throws Exception
Exceptionpublic static ServiceExceptionReport getServiceExceptionReport(Element element) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic static WFS_Capabilities getCapabilitiesVersion110(Element element) throws org.exolab.castor.xml.ValidationException, Exception
org.exolab.castor.xml.ValidationExceptionExceptionpublic static WFS_Capabilities getCapabilitiesVersion100(Element element) throws org.exolab.castor.xml.ValidationException, Exception
org.exolab.castor.xml.ValidationExceptionExceptionpublic static void addBboxFilter(GetFeature gf, String attributeName, double[] bbox, String srsName, FeatureType ft) throws Exception
Exceptionpublic static void addPolygonFilter(GetFeature gf, String attributeName, String polygon, String srsName, FeatureType ft) throws Exception
Exceptionpublic static void addQueryFilter(GetFeature gf, String adminQuery, String srsName, FeatureType ft) throws Exception
Exceptionpublic static Filter createBboxFilter(String attributeName, double[] bbox, String srsName, FeatureType feature) throws Exception
Exceptionpublic static Filter createPolygonFilter(String attributeName, String polygon, String srsName, FeatureType feature) throws Exception
Exceptionpublic static Filter createQueryFilter(GetFeature gf, String query, String srsName, FeatureType feature) throws Exception
Exceptionpublic static void addPropertyIsEqualToFilter(GetFeature gf, String propertyName, String compareValue)
public static ArrayList getFeatureElements(GetFeature gf, OGCRequest or) throws Exception
Exceptionprotected static Element readXml2Element(Reader src) throws Exception
Exceptionpublic static org.exolab.castor.types.AnyNode xmlStringToAnyNode(String xml) throws Exception
Exceptionpublic static void addCombinedAndFilter(GetFeature gf, FeatureType ft, Filter queryFilter, Filter geomFilter) throws Exception
ExceptionCopyright © 2020 B3Partners B.V.. All rights reserved.