public class WRSRequestWriter extends AbstractRequestWriter<WRSQuery>
ioError, noKVP, noXML, timeFormat
Constructor and Description |
---|
WRSRequestWriter() |
Modifier and Type | Method and Description |
---|---|
protected Element |
addPropertyIsEqualToLiteral(DOMHelper domWriter,
Element parentElt,
String propName,
String literal) |
protected Element |
addPropertyIsEqualToProperty(DOMHelper domWriter,
Element parentElt,
String propName,
String targetProp) |
protected Element |
addPropertyIsLikeLiteral(DOMHelper domWriter,
Element parentElt,
String propName,
String literal) |
protected Element |
buildQueryAllSosElement(DOMHelper domWriter,
Element rootElt) |
protected Element |
buildQueryBboxElement(DOMHelper domWriter,
Element rootElt,
Bbox bbox) |
protected Element |
buildQueryKeywordElement(DOMHelper domWriter,
Element rootElt,
String keyword) |
protected Element |
buildQueryRootElement(DOMHelper domWriter) |
protected Element |
buildServiceSearchElement(DOMHelper domWriter,
Element rootElt,
String targetId) |
String |
buildURLQuery(WRSQuery query)
Builds a String containing the GET request URL
|
Element |
buildXMLQuery(DOMHelper domWriter,
WRSQuery query)
Builds a DOM element containing the request XML
Note that the element is not yet appended to any parent.
|
addCommonArgs, addCommonArgs, addCommonXML, buildURLParameters, getExtensionKvpValue, getGmlBboxCoordsList, urlEncode, writeBboxArgument, writeBboxArgument, writeKvpExtensions, writeKVPExtensions, writeTimeArgument, writeXMLQuery
public Element buildXMLQuery(DOMHelper domWriter, WRSQuery query) throws OWSException
OWSRequestWriter
buildXMLQuery
in interface OWSRequestWriter<WRSQuery>
buildXMLQuery
in class AbstractRequestWriter<WRSQuery>
domWriter
- DOMHelper instance that will own the generated elementquery
- OWs request objectOWSException
protected Element buildQueryRootElement(DOMHelper domWriter) throws OWSException
OWSException
protected Element buildQueryAllSosElement(DOMHelper domWriter, Element rootElt) throws OWSException
domWriter
- rootElt
- OWSException
protected Element buildQueryBboxElement(DOMHelper domWriter, Element rootElt, Bbox bbox) throws OWSException
domWriter
- rootElt
- bbox
- OWSException
protected Element buildServiceSearchElement(DOMHelper domWriter, Element rootElt, String targetId)
domWriter
- rootElt
- targetId
- protected Element buildQueryKeywordElement(DOMHelper domWriter, Element rootElt, String keyword) throws OWSException
OWSException
protected Element addPropertyIsEqualToProperty(DOMHelper domWriter, Element parentElt, String propName, String targetProp)
protected Element addPropertyIsEqualToLiteral(DOMHelper domWriter, Element parentElt, String propName, String literal)
protected Element addPropertyIsLikeLiteral(DOMHelper domWriter, Element parentElt, String propName, String literal)
public String buildURLQuery(WRSQuery query) throws OWSException
OWSRequestWriter
buildURLQuery
in interface OWSRequestWriter<WRSQuery>
buildURLQuery
in class AbstractRequestWriter<WRSQuery>
query
- OWS request objectOWSException
Copyright © 2016 Sensia Software LLC. All rights reserved.