public class CswRequestCreator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static ObjectFactory |
cswFactory |
protected static String |
defaultEscapeChar |
protected static String |
defaultSingleChar |
protected static String |
defaultWildCard |
protected static ObjectFactory |
filterFactory |
| Constructor and Description |
|---|
CswRequestCreator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addMaxRecords(GetRecordsType getRecordsType,
BigInteger maxRecords) |
static void |
addStartPosition(GetRecordsType getRecordsType,
BigInteger startPosition) |
static GetRecords |
createCswRequest(FilterType filterType) |
static GetRecords |
createCswRequest(FilterType filterType,
BigInteger startPosition,
BigInteger maxRecords,
SortBy sortBy) |
static GetRecords |
createCswRequest(FilterType filterType,
BigInteger startPosition,
BigInteger maxRecords,
SortBy sortBy,
String elementSetName,
String outputSchema,
String resultTypeString) |
static GetRecords |
createCswRequest(JAXBElement<BinarySpatialOpType> binarySpatialOp,
String propertyName,
String wktFilter) |
static GetRecords |
createCswRequest(String queryString,
String propertyName,
BigInteger startPosition,
BigInteger maxRecords,
SortBy sortBy,
String elementSetName,
String outputSchema,
String resultTypeString) |
static GetRecords |
createCswRequest(String queryString,
String propertyName,
BigInteger startPosition,
BigInteger maxRecords,
SortBy sortBy,
String elementSetName,
String outputSchema,
String resultTypeString,
boolean forceSearchUsingPartialWords)
Defaults to simple PropertyIsLike filter
|
static GetRecords |
createCswRequest(String queryString,
String propertyName,
String elementSetName,
String outputSchema,
String resultTypeString) |
static GetRecords |
createCswRequest(String queryString,
String propertyName,
String elementSetName,
String outputSchema,
String resultTypeString,
boolean forceSearchUsingPartialWords) |
static GetRecords |
createCswRequestPropertyIsEqual(String queryString,
String propertyName,
BigInteger startPosition,
BigInteger maxRecords,
SortBy sortBy,
String elementSetName,
String outputSchema,
String resultTypeString,
boolean forceSearchUsingPartialWords) |
static SortBy |
createDefaultSortBy() |
static ElementSetNameType |
createElementSetNameType(String elementSetName) |
static GetRecords |
createEmptyCswRequest() |
static GetRecords |
createEmptyCswRequest(BigInteger startPosition,
BigInteger maxRecords,
SortBy sortBy,
String elementSetName,
String outputSchema,
String resultTypeString) |
static GetRecordById |
createGetRecordByIdRequest(String id) |
static GetRecordById |
createGetRecordByIdRequest(String[] ids) |
static String |
createOutputSchema(String outputSchema) |
static String |
createPropertyName(String propertyName) |
static String |
createQueryString(String queryString,
boolean forceSearchUsingPartialWords) |
static ResultType |
createResultType(String resultTypeString) |
static GetRecords |
createSimpleCswRequest(String queryString) |
static GetRecords |
createSimpleCswRequest(String queryString,
BigInteger startPosition,
BigInteger maxRecords,
SortBy sortBy) |
static SortBy |
createSortBy(String propertyName,
SortOrderType type) |
protected static String |
surroundWithWildCards(String queryString) |
protected static final ObjectFactory cswFactory
protected static final ObjectFactory filterFactory
protected static final String defaultWildCard
protected static final String defaultSingleChar
protected static final String defaultEscapeChar
public static String createQueryString(String queryString, boolean forceSearchUsingPartialWords)
public static ResultType createResultType(String resultTypeString)
public static ElementSetNameType createElementSetNameType(String elementSetName)
public static SortBy createDefaultSortBy()
public static SortBy createSortBy(String propertyName, SortOrderType type)
public static void addStartPosition(GetRecordsType getRecordsType, BigInteger startPosition)
public static void addMaxRecords(GetRecordsType getRecordsType, BigInteger maxRecords)
public static GetRecords createSimpleCswRequest(String queryString)
public static GetRecords createSimpleCswRequest(String queryString, BigInteger startPosition, BigInteger maxRecords, SortBy sortBy)
public static GetRecords createCswRequest(String queryString, String propertyName, String elementSetName, String outputSchema, String resultTypeString)
public static GetRecords createCswRequest(String queryString, String propertyName, String elementSetName, String outputSchema, String resultTypeString, boolean forceSearchUsingPartialWords)
public static GetRecords createCswRequest(String queryString, String propertyName, BigInteger startPosition, BigInteger maxRecords, SortBy sortBy, String elementSetName, String outputSchema, String resultTypeString)
public static GetRecords createCswRequest(String queryString, String propertyName, BigInteger startPosition, BigInteger maxRecords, SortBy sortBy, String elementSetName, String outputSchema, String resultTypeString, boolean forceSearchUsingPartialWords)
queryString - propertyName - elementSetName - outputSchema - resultTypeString - forceSearchUsingPartialWords - public static GetRecords createCswRequestPropertyIsEqual(String queryString, String propertyName, BigInteger startPosition, BigInteger maxRecords, SortBy sortBy, String elementSetName, String outputSchema, String resultTypeString, boolean forceSearchUsingPartialWords)
public static GetRecords createCswRequest(JAXBElement<BinarySpatialOpType> binarySpatialOp, String propertyName, String wktFilter) throws org.jdom2.JDOMException, IOException, OperationNotSupportedException, JAXBException, org.locationtech.jts.io.ParseException, org.opengis.referencing.NoSuchAuthorityCodeException, org.opengis.referencing.FactoryException, SAXException, TransformerException
org.jdom2.JDOMExceptionIOExceptionOperationNotSupportedExceptionJAXBExceptionorg.locationtech.jts.io.ParseExceptionorg.opengis.referencing.NoSuchAuthorityCodeExceptionorg.opengis.referencing.FactoryExceptionSAXExceptionTransformerExceptionpublic static GetRecords createCswRequest(FilterType filterType)
public static GetRecords createCswRequest(FilterType filterType, BigInteger startPosition, BigInteger maxRecords, SortBy sortBy)
public static GetRecords createCswRequest(FilterType filterType, BigInteger startPosition, BigInteger maxRecords, SortBy sortBy, String elementSetName, String outputSchema, String resultTypeString)
public static GetRecords createEmptyCswRequest()
public static GetRecords createEmptyCswRequest(BigInteger startPosition, BigInteger maxRecords, SortBy sortBy, String elementSetName, String outputSchema, String resultTypeString)
public static GetRecordById createGetRecordByIdRequest(String id)
public static GetRecordById createGetRecordByIdRequest(String[] ids)
Copyright © 2020 B3Partners B.V.. All rights reserved.