Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addAllBindings(Map<String, String>) - Method in class org.opengis.cite.swecommon20.util.NamespaceBindings
-
Adds all of the supplied namespace bindings to the existing set of entries.
- addNamespaceBinding(String, String) - Method in class org.opengis.cite.swecommon20.util.NamespaceBindings
-
Adds a namespace binding that associates a namespace name with a prefix.
- AdvancedEncodings - Class in org.opengis.cite.swecommon20.level1
-
AdvancedEncodings class.
- AdvancedEncodings() - Constructor for class org.opengis.cite.swecommon20.level1.AdvancedEncodings
- AdvancedEncodingsSchema - Class in org.opengis.cite.swecommon20.level1
-
AdvancedEncodingsSchema class.
- AdvancedEncodingsSchema() - Constructor for class org.opengis.cite.swecommon20.level1.AdvancedEncodingsSchema
- assertDescendantElementCount(Document, QName, int) - Static method in class org.opengis.cite.swecommon20.ETSAssert
-
Asserts that the given XML entity contains the expected number of descendant elements having the specified name.
- assertQualifiedName(Node, QName) - Static method in class org.opengis.cite.swecommon20.ETSAssert
-
Asserts that the qualified name of a DOM Node matches the expected value.
- assertSchematronValid(URL, Source) - Static method in class org.opengis.cite.swecommon20.ETSAssert
-
Asserts that an XML resource satisfies all applicable constraints specified in a Schematron (ISO 19757-3) schema.
- assertSchemaValid(Validator, Source) - Static method in class org.opengis.cite.swecommon20.ETSAssert
-
Asserts that an XML resource is schema-valid.
- assertXPath(String, Node, Map<String, String>) - Static method in class org.opengis.cite.swecommon20.ETSAssert
-
Asserts that an XPath 1.0 expression holds true for the given evaluation context.
B
- BlockComponents - Class in org.opengis.cite.swecommon20.level1
-
BlockComponents class.
- BlockComponents() - Constructor for class org.opengis.cite.swecommon20.level1.BlockComponents
- buildClient() - Static method in class org.opengis.cite.swecommon20.util.ClientUtils
-
Builds a client component for interacting with HTTP endpoints.
- buildSchematronValidator(String, String) - Static method in class org.opengis.cite.swecommon20.util.ValidationUtils
-
Constructs a SchematronValidator that will check an XML resource against the rules defined in a Schematron schema.
C
- checkAdvancedEncodingsSchemaSchematron() - Method in class org.opengis.cite.swecommon20.level1.AdvancedEncodingsSchema
-
checkAdvancedEncodingsSchemaSchematron.
- checkAdvancedEncodingsSchematron() - Method in class org.opengis.cite.swecommon20.level1.AdvancedEncodings
-
checkAdvancedEncodingsSchematron.
- checkBlockComponentsSchematron() - Method in class org.opengis.cite.swecommon20.level1.BlockComponents
-
checkBlockComponentsSchematron.
- checkChoiceComponentsSchematron() - Method in class org.opengis.cite.swecommon20.level1.ChoiceComponents
-
checkChoiceComponentsSchematron.
- checkCoreConceptsSchematron() - Method in class org.opengis.cite.swecommon20.level1.CoreConcept
-
checkCoreConceptsSchematron.
- checkGeneralEncodingRulesSchematron() - Method in class org.opengis.cite.swecommon20.level1.GeneralEncodingRules
-
checkGeneralEncodingRulesSchematron.
- checkRecordComponentsSchematron() - Method in class org.opengis.cite.swecommon20.level1.RecordComponents
-
checkRecordComponentsSchematron.
- checkSimpleComponentsSchemasSchematron() - Method in class org.opengis.cite.swecommon20.level1.SimpleComponentsSchemas
-
checkSimpleComponentsSchemasSchematron.
- checkSimpleComponentsSchematron() - Method in class org.opengis.cite.swecommon20.level1.SimpleComponents
-
checkSimpleComponentsSchematron.
- checkSimpleEncodingsSchematron() - Method in class org.opengis.cite.swecommon20.level1.SimpleEncodings
-
checkSimpleEncodingsSchematron.
- CheckXPath2(String) - Method in class org.opengis.cite.swecommon20.level1.DataFixture
-
Check XPath2.0
- ChoiceComponents - Class in org.opengis.cite.swecommon20.level1
-
ChoiceComponents class.
- ChoiceComponents() - Constructor for class org.opengis.cite.swecommon20.level1.ChoiceComponents
- ClientUtils - Class in org.opengis.cite.swecommon20.util
-
Provides various utility methods for creating and configuring HTTP client components.
- ClientUtils() - Constructor for class org.opengis.cite.swecommon20.util.ClientUtils
- Core() - Method in class org.opengis.cite.swecommon20.level1.CoreConcept
-
Core.
- CoreConcept - Class in org.opengis.cite.swecommon20.level1
-
CoreConcept class.
- CoreConcept() - Constructor for class org.opengis.cite.swecommon20.level1.CoreConcept
- createElement(QName) - Static method in class org.opengis.cite.swecommon20.util.XMLUtils
-
Creates a new Element having the specified qualified name.
- createSchemaResolver(URI) - Static method in class org.opengis.cite.swecommon20.util.ValidationUtils
-
Creates a resource resolver suitable for locating schemas using an entity catalog.
- CreateValidator(URL) - Method in class org.opengis.cite.swecommon20.level1.DataFixture
-
CreateValidator.
D
- dataFile - Variable in class org.opengis.cite.swecommon20.level1.DataFixture
-
Files containing tested subject.
- DataFixture - Class in org.opengis.cite.swecommon20.level1
-
A supporting base class that provides a common fixture for validating data sets.
- DataFixture() - Constructor for class org.opengis.cite.swecommon20.level1.DataFixture
-
Constructor for DataFixture.
- dereferenceURI(URI) - Static method in class org.opengis.cite.swecommon20.util.URIUtils
-
Dereferences the given URI and stores the resulting resource representation in a local file.
- doTestRun(Document) - Method in class org.opengis.cite.swecommon20.TestNGController
E
- EMPTY_STRING - Static variable in class org.opengis.cite.swecommon20.ErrorMessageKeys
-
Constant
EMPTY_STRING="EmptyString"
- ErrorMessage - Class in org.opengis.cite.swecommon20
-
Utility class for retrieving and formatting localized error messages that describe failed assertions.
- ErrorMessage() - Constructor for class org.opengis.cite.swecommon20.ErrorMessage
- ErrorMessageKeys - Class in org.opengis.cite.swecommon20
-
Defines keys used to access localized messages for assertion errors.
- ErrorMessageKeys() - Constructor for class org.opengis.cite.swecommon20.ErrorMessageKeys
- ETSAssert - Class in org.opengis.cite.swecommon20
-
Provides a set of custom assertion methods.
- evaluateXPath(Node, String, Map<String, String>) - Static method in class org.opengis.cite.swecommon20.util.XMLUtils
-
Evaluates an XPath 1.0 expression using the given context and returns the result as a node set.
- evaluateXPath(Node, String, Map<String, String>, QName) - Static method in class org.opengis.cite.swecommon20.util.XMLUtils
-
Evaluates an XPath expression using the given context and returns the result as the specified type.
- evaluateXPath2(Source, String, Map<String, String>) - Static method in class org.opengis.cite.swecommon20.util.XMLUtils
-
Evaluates an XPath 2.0 expression using the Saxon s9api interfaces.
- expandReferencesInText(String) - Static method in class org.opengis.cite.swecommon20.util.XMLUtils
-
Expands character entity and numeric references that occur within a given string value.
- extractSchemaReferences(Source, String) - Static method in class org.opengis.cite.swecommon20.util.ValidationUtils
-
Extracts a set of XML Schema references from a source XML document.
F
- filter(ClientRequestContext, ClientResponseContext) - Method in class org.opengis.cite.swecommon20.ReusableEntityFilter
- format(String, Object...) - Static method in class org.opengis.cite.swecommon20.ErrorMessage
-
Produces a formatted error message using the supplied substitution arguments and the current locale.
G
- GeneralEncodingRules - Class in org.opengis.cite.swecommon20.level1
-
GeneralEncodingRules class.
- GeneralEncodingRules() - Constructor for class org.opengis.cite.swecommon20.level1.GeneralEncodingRules
- generateXPathExpression(List<QName>, Map<String, String>) - Method in class org.opengis.cite.swecommon20.level1.DataFixture
-
Generates an XPath expression to find all instances of the given elements in the data being validated.
- get(String) - Static method in class org.opengis.cite.swecommon20.ErrorMessage
-
Retrieves a simple message according to the current locale.
- getAllBindings() - Method in class org.opengis.cite.swecommon20.util.NamespaceBindings
-
Returns an unmodifiable view of the declared namespace bindings.
- getCode() - Method in class org.opengis.cite.swecommon20.TestNGController
- getElementsByNamespaceURI(Node, String) - Static method in class org.opengis.cite.swecommon20.util.XMLUtils
-
Returns a List of all descendant Element nodes having the specified [namespace name] property.
- getName() - Method in enum class org.opengis.cite.swecommon20.SuiteAttribute
-
getName.
- getNamespaceURI(String) - Method in class org.opengis.cite.swecommon20.util.NamespaceBindings
- getPrefix(String) - Method in class org.opengis.cite.swecommon20.util.NamespaceBindings
- getPrefixes(String) - Method in class org.opengis.cite.swecommon20.util.NamespaceBindings
- getResponseEntityAsDocument(Response, String) - Static method in class org.opengis.cite.swecommon20.util.ClientUtils
-
Obtains the (XML) response entity as a DOM Document and resets the entity input stream for subsequent reads.
- getResponseEntityAsSource(Response, String) - Static method in class org.opengis.cite.swecommon20.util.ClientUtils
-
Obtains the (XML) response entity as a JAXP Source object and resets the entity input stream for subsequent reads.
- getStandardBindings() - Static method in class org.opengis.cite.swecommon20.util.NamespaceBindings
-
getStandardBindings.
- getTitle() - Method in class org.opengis.cite.swecommon20.TestNGController
- getType() - Method in enum class org.opengis.cite.swecommon20.SuiteAttribute
-
getType.
- getVersion() - Method in class org.opengis.cite.swecommon20.TestNGController
- GML - Enum constant in enum class org.opengis.cite.swecommon20.TestRunArg
-
An absolute URI that refers to a representation of the test subject or metadata about it.
- GML - Static variable in class org.opengis.cite.swecommon20.Namespaces
-
ISO 19136 (GML 3.2)
I
- isLoggable(Level) - Static method in class org.opengis.cite.swecommon20.util.TestSuiteLogger
-
Indicates if the logger is enabled at a given logging level.
- isXMLSchema(File) - Static method in class org.opengis.cite.swecommon20.util.XMLUtils
-
isXMLSchema.
- IUT - Enum constant in enum class org.opengis.cite.swecommon20.TestRunArg
L
- LOCAL_NAME - Static variable in class org.opengis.cite.swecommon20.ErrorMessageKeys
-
Constant
LOCAL_NAME="LocalName"
- log(Level, String) - Static method in class org.opengis.cite.swecommon20.util.TestSuiteLogger
-
Logs a simple message at the specified logging level.
- log(Level, String, Exception) - Static method in class org.opengis.cite.swecommon20.util.TestSuiteLogger
-
Logs a message at the specified logging level with the given Exception object that represents a noteworthy error condition.
- log(Level, String, Object[]) - Static method in class org.opengis.cite.swecommon20.util.TestSuiteLogger
-
Logs a message at the specified logging level with the given message parameters.
M
- main(String[]) - Static method in class org.opengis.cite.swecommon20.TestNGController
-
A convenience method to facilitate test development.
- MISSING_ENTITY - Static variable in class org.opengis.cite.swecommon20.ErrorMessageKeys
-
Constant
MISSING_ENTITY="MissingEntity"
- MISSING_INFOSET_ITEM - Static variable in class org.opengis.cite.swecommon20.ErrorMessageKeys
-
Constant
MISSING_INFOSET_ITEM="MissingInfosetItem"
- model - Variable in class org.opengis.cite.swecommon20.level1.DataFixture
-
An XSModel object representing a GML application schema.
N
- NAMESPACE_NAME - Static variable in class org.opengis.cite.swecommon20.ErrorMessageKeys
-
Constant
NAMESPACE_NAME="NamespaceName"
- NamespaceBindings - Class in org.opengis.cite.swecommon20.util
-
Provides namespace bindings for evaluating XPath 1.0 expressions using the JAXP XPath API.
- NamespaceBindings() - Constructor for class org.opengis.cite.swecommon20.util.NamespaceBindings
- Namespaces - Class in org.opengis.cite.swecommon20
-
XML namespace names.
- NOT_SCHEMA_VALID - Static variable in class org.opengis.cite.swecommon20.ErrorMessageKeys
-
Constant
NOT_SCHEMA_VALID="NotSchemaValid"
O
- obtainTestSubject(ITestContext) - Method in class org.opengis.cite.swecommon20.level1.DataFixture
-
obtainTestSubject.
- onExecutionFinish() - Method in class org.opengis.cite.swecommon20.TestRunListener
- onExecutionStart() - Method in class org.opengis.cite.swecommon20.TestRunListener
- onFinish(ISuite) - Method in class org.opengis.cite.swecommon20.SuiteFixtureListener
- onStart(ISuite) - Method in class org.opengis.cite.swecommon20.SuiteFixtureListener
- org.opengis.cite.swecommon20 - package org.opengis.cite.swecommon20
-
The root package includes supporting classes of general utility such as the main controller, listeners, and reporters.
- org.opengis.cite.swecommon20.level1 - package org.opengis.cite.swecommon20.level1
-
Conformance Level 1 includes basic facilities.
- org.opengis.cite.swecommon20.level2 - package org.opengis.cite.swecommon20.level2
-
Conformance Level 2 extends Level 1.
- org.opengis.cite.swecommon20.util - package org.opengis.cite.swecommon20.util
-
This package includes miscellaneous utility classes to support testing.
- originalSubject - Variable in class org.opengis.cite.swecommon20.level1.DataFixture
- OWS - Static variable in class org.opengis.cite.swecommon20.Namespaces
-
OGC 06-121r3 (OWS 1.1)
P
- parseURI(URI) - Static method in class org.opengis.cite.swecommon20.util.URIUtils
-
Parses the content of the given URI as an XML document and returns a new DOM Document object.
- processIUTParameter(ISuite) - Method in class org.opengis.cite.swecommon20.SuiteFixtureListener
- processSchematronSchema(ISuite) - Method in class org.opengis.cite.swecommon20.SuiteFixtureListener
- processSuiteParameters(ISuite) - Method in class org.opengis.cite.swecommon20.SuiteFixtureListener
-
Processes test suite arguments and sets suite attributes accordingly.
- processXmlReference(ISuite) - Method in class org.opengis.cite.swecommon20.SuiteFixtureListener
R
- RecordComponents - Class in org.opengis.cite.swecommon20.level1
-
RecordComponents class.
- RecordComponents() - Constructor for class org.opengis.cite.swecommon20.level1.RecordComponents
- resolveRelativeURI(String, String) - Static method in class org.opengis.cite.swecommon20.util.URIUtils
-
Constructs an absolute URI from the given URI reference and a base URI.
- resolveURIAsFile(URI) - Static method in class org.opengis.cite.swecommon20.util.URIUtils
-
Resolves the given URI and stores the resulting resource representation in a local file.
- Resource_GML_Path - Variable in class org.opengis.cite.swecommon20.level1.DataFixture
- Resource_SWE_Path - Variable in class org.opengis.cite.swecommon20.level1.DataFixture
- ReusableEntityFilter - Class in org.opengis.cite.swecommon20
-
Buffers the (response) entity so it can be read multiple times.
- ReusableEntityFilter() - Constructor for class org.opengis.cite.swecommon20.ReusableEntityFilter
- ROOT_PKG - Static variable in class org.opengis.cite.swecommon20.util.ValidationUtils
S
- SCH - Enum constant in enum class org.opengis.cite.swecommon20.TestRunArg
- SCH - Static variable in class org.opengis.cite.swecommon20.Namespaces
-
Schematron (ISO 19757-3) namespace
- SCHEMA_LOC_SET - Enum constant in enum class org.opengis.cite.swecommon20.SuiteAttribute
- SCHEMATRON - Enum constant in enum class org.opengis.cite.swecommon20.SuiteAttribute
- setDataFile(File) - Method in class org.opengis.cite.swecommon20.level1.DataFixture
-
Sets the data file.
- setSchemaModel(XSModel) - Method in class org.opengis.cite.swecommon20.level1.DataFixture
-
Sets the schema model (for unit testing purposes).
- SimpleComponents - Class in org.opengis.cite.swecommon20.level1
-
SimpleComponents class.
- SimpleComponents() - Constructor for class org.opengis.cite.swecommon20.level1.SimpleComponents
- SimpleComponentsSchemas - Class in org.opengis.cite.swecommon20.level1
-
SimpleComponentsSchemas class.
- SimpleComponentsSchemas() - Constructor for class org.opengis.cite.swecommon20.level1.SimpleComponentsSchemas
- SimpleEncodings - Class in org.opengis.cite.swecommon20.level1
-
SimpleEncodings class.
- SimpleEncodings() - Constructor for class org.opengis.cite.swecommon20.level1.SimpleEncodings
- SOAP_ENV - Static variable in class org.opengis.cite.swecommon20.Namespaces
-
SOAP 1.2 message envelopes.
- SuiteAttribute - Enum Class in org.opengis.cite.swecommon20
-
An enumerated type defining ISuite attributes that may be set to constitute a shared test fixture.
- SuiteFixtureListener - Class in org.opengis.cite.swecommon20
-
A listener that performs various tasks before and after a test suite is run, usually concerned with maintaining a shared test suite fixture.
- SuiteFixtureListener() - Constructor for class org.opengis.cite.swecommon20.SuiteFixtureListener
- SWE - Static variable in class org.opengis.cite.swecommon20.Namespaces
-
Constant
SWE="http://www.opengis.net/swe/2.0"
T
- TEST_SUBJECT - Enum constant in enum class org.opengis.cite.swecommon20.SuiteAttribute
-
A DOM Document representation of the test subject or metadata about it.
- TEST_SUBJECT_URI - Enum constant in enum class org.opengis.cite.swecommon20.SuiteAttribute
-
An absolute URI referring to a DOM Document schema.
- TestNGController - Class in org.opengis.cite.swecommon20
-
Main test run controller oversees execution of TestNG test suites.
- TestNGController() - Constructor for class org.opengis.cite.swecommon20.TestNGController
-
Default constructor uses the location given by the "user.home" system property as the root output directory.
- TestNGController(String) - Constructor for class org.opengis.cite.swecommon20.TestNGController
-
Construct a controller that writes results to the given output directory.
- TestRunArg - Enum Class in org.opengis.cite.swecommon20
-
An enumerated type defining all recognized test run arguments.
- TestRunListener - Class in org.opengis.cite.swecommon20
-
A listener that is invoked before and after a test run.
- TestRunListener() - Constructor for class org.opengis.cite.swecommon20.TestRunListener
- testSubject - Variable in class org.opengis.cite.swecommon20.level1.DataFixture
- testSubjectUri - Variable in class org.opengis.cite.swecommon20.level1.DataFixture
- TestSuiteLogger - Class in org.opengis.cite.swecommon20.util
-
Logging utility class that provides simple access to the JDK Logging API.
- toString() - Method in enum class org.opengis.cite.swecommon20.SuiteAttribute
- toString() - Method in enum class org.opengis.cite.swecommon20.TestRunArg
- toString() - Method in class org.opengis.cite.swecommon20.util.NamespaceBindings
- transform(Source, Node) - Static method in class org.opengis.cite.swecommon20.util.XMLUtils
-
Transforms the content of a DOM Node using a specified XSLT stylesheet.
U
- UNEXPECTED_MEDIA_TYPE - Static variable in class org.opengis.cite.swecommon20.ErrorMessageKeys
-
Constant
UNEXPECTED_MEDIA_TYPE="UnexpectedMediaType"
- UNEXPECTED_STATUS - Static variable in class org.opengis.cite.swecommon20.ErrorMessageKeys
-
Constant
UNEXPECTED_STATUS="UnexpectedStatus"
- URIUtils - Class in org.opengis.cite.swecommon20.util
-
Provides a collection of utility methods for manipulating or resolving URI references.
- URIUtils() - Constructor for class org.opengis.cite.swecommon20.util.URIUtils
V
- validateTestRunArgs(Document) - Method in class org.opengis.cite.swecommon20.TestNGController
-
Validates the test run arguments.
- ValidationUtils - Class in org.opengis.cite.swecommon20.util
-
A utility class that provides convenience methods to support schema validation.
- ValidationUtils() - Constructor for class org.opengis.cite.swecommon20.util.ValidationUtils
- valueOf(String) - Static method in enum class org.opengis.cite.swecommon20.SuiteAttribute
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.opengis.cite.swecommon20.TestRunArg
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.opengis.cite.swecommon20.SuiteAttribute
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.opengis.cite.swecommon20.TestRunArg
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withStandardBindings() - Static method in class org.opengis.cite.swecommon20.util.NamespaceBindings
-
Creates a NamespaceBindings object that declares the following namespace bindings: ows: "http://www.opengis.net/ows/1.1" xlink: "http://www.w3.org/1999/xlink" gml: "http://www.opengis.net/gml/3.2"
- writeNode(Node, OutputStream) - Static method in class org.opengis.cite.swecommon20.util.XMLUtils
-
Writes the content of a DOM Node to a byte stream.
- writeNodeToString(Node) - Static method in class org.opengis.cite.swecommon20.util.XMLUtils
-
Writes the content of a DOM Node to a String.
X
- XLINK - Static variable in class org.opengis.cite.swecommon20.Namespaces
-
W3C XLink
- XML - Enum constant in enum class org.opengis.cite.swecommon20.SuiteAttribute
- XML - Enum constant in enum class org.opengis.cite.swecommon20.TestRunArg
- XML_ERROR - Static variable in class org.opengis.cite.swecommon20.ErrorMessageKeys
-
Constant
XML_ERROR="XMLError"
- XMLUtils - Class in org.opengis.cite.swecommon20.util
-
Provides various utility methods for accessing or manipulating XML representations.
- XMLUtils() - Constructor for class org.opengis.cite.swecommon20.util.XMLUtils
- XPATH_ERROR - Static variable in class org.opengis.cite.swecommon20.ErrorMessageKeys
-
Constant
XPATH_ERROR="XPathError"
- XPATH_RESULT - Static variable in class org.opengis.cite.swecommon20.ErrorMessageKeys
-
Constant
XPATH_RESULT="XPathResult"
- XSD - Enum constant in enum class org.opengis.cite.swecommon20.TestRunArg
- XSD - Static variable in class org.opengis.cite.swecommon20.Namespaces
-
W3C XML Schema namespace
- XSMODEL - Enum constant in enum class org.opengis.cite.swecommon20.SuiteAttribute
-
Contains the XML Schema components comprising an application schema.
All Classes and Interfaces|All Packages|Constant Field Values