public class DescribeProcessValidation extends DataFixture
| Modifier and Type | Field and Description |
|---|---|
(package private) String |
processId |
dataFile, executeHttpGetUri, executeRequestFileRawDataOutputSubject, executeRequestFileResponseDocumentOutputSubject, executeRequestFileUpdatingResponseDocumentOutputSubject, model, originalSubject, Resource_GML_Path, Resource_SWE_Path, testSubject, testSubjectUri| Constructor and Description |
|---|
DescribeProcessValidation() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeClass() |
String |
CheckXPath2(String xpath,
Document testSubject)
Check XPath2.0
|
void |
DescribeProcessResponseValidation()
A.4.3.3 DescribeProcess operation response
|
net.sf.saxon.s9api.XdmValue |
evaluateXPath2(Source xmlSource,
String expr,
Map<String,String> nsBindings)
Evaluates an XPath 2.0 expression using the Saxon s9api interfaces.
|
HttpURLConnection |
GetConnection(String serviceURL,
String param) |
Map<String,String> |
getStandardBindings() |
void |
HTTPGETTransferredKVPDescribeProcessValidation()
A.4.3.1 Accept DescribeProcess HTTP GET transferred operation requests
|
void |
HTTPPOSTTransferredXMLDescribeProcessValidation()
A.4.3.2 Accept DescribeProcess HTTP POST transferred operation requests
|
void |
LanguageSelectionGetCapabilitiesValidation()
A.4.3.4 Language selection
|
String |
postMessage(String xmlString,
String serviceURL) |
String |
sendGetRequest(String serviceURL,
String param) |
boolean |
validateXMLString(String inputXml,
String schemaLocation) |
CheckObservationTypeCategory, CheckObservationTypeCount, CheckObservationTypeMeasurement, CheckObservationTypeTruth, CheckXPath2, CheckXPath2Modified, CreateValidator, CreateValidatorFromXSD, evaluateXPath2Modified, generateXPathExpression, GetFileViaResourcePath, GetResultTypeHref, obtainTestSubject, SchemaElement, setDataFile, setSchemaModelString processId
public void beforeClass()
throws IOException,
ParserConfigurationException,
SAXException,
net.sf.saxon.s9api.SaxonApiException
IOExceptionParserConfigurationExceptionSAXExceptionnet.sf.saxon.s9api.SaxonApiExceptionpublic void HTTPGETTransferredKVPDescribeProcessValidation()
throws IOException,
URISyntaxException
IOExceptionURISyntaxExceptionpublic void HTTPPOSTTransferredXMLDescribeProcessValidation()
throws IOException,
URISyntaxException,
ParserConfigurationException,
SAXException,
net.sf.saxon.s9api.SaxonApiException
IOExceptionURISyntaxExceptionParserConfigurationExceptionSAXExceptionnet.sf.saxon.s9api.SaxonApiExceptionpublic void DescribeProcessResponseValidation()
throws IOException,
SAXException
IOExceptionSAXExceptionpublic void LanguageSelectionGetCapabilitiesValidation()
throws IOException,
ParserConfigurationException,
SAXException,
net.sf.saxon.s9api.SaxonApiException
IOExceptionParserConfigurationExceptionSAXExceptionnet.sf.saxon.s9api.SaxonApiExceptionpublic HttpURLConnection GetConnection(String serviceURL, String param) throws IOException
IOExceptionpublic String sendGetRequest(String serviceURL, String param) throws IOException
IOExceptionpublic boolean validateXMLString(String inputXml, String schemaLocation) throws SAXException, IOException
SAXExceptionIOExceptionpublic String CheckXPath2(String xpath, Document testSubject)
xpath - String denoting an xpath syntaxpublic String postMessage(String xmlString, String serviceURL) throws IOException
IOExceptionpublic net.sf.saxon.s9api.XdmValue evaluateXPath2(Source xmlSource, String expr, Map<String,String> nsBindings) throws net.sf.saxon.s9api.SaxonApiException
xmlSource - The XML Source.expr - The XPath expression to be evaluated.nsBindings - A collection of namespace bindings required to evaluate the
XPath expression, where each entry maps a namespace URI (key)
to a prefix (value); this may be null if not needed.net.sf.saxon.s9api.SaxonApiException - If an error occurs while evaluating the expression; this
always wraps some other underlying exception.Copyright © 2021 Open Geospatial Consortium. All rights reserved.