Skip navigation links
A B C D E F G H I L O R S T V W X 

A

addError(ErrorSeverity, String, ErrorLocator) - Method in class org.opengis.cite.validation.ValidationErrorHandler
Adds a general validation error.
addError(ErrorSeverity, String, String, ErrorLocator) - Method in class org.opengis.cite.validation.ValidationErrorHandler
Adds a general validation error with diagnostic information.
addErrors(Collection<ValidationError>) - Method in class org.opengis.cite.validation.ValidationErrorHandler
Adds the given collection of validation errors to this handler.

B

buildXMLSchemaModel(Schema, String) - Static method in class org.opengis.cite.validation.XSModelBuilder
Builds an XSModel instance from a given Schema object.

C

compileSchema(Source, String) - Method in class org.opengis.cite.validation.SchematronValidator
Creates an immutable representation of a compiled stylesheet that will generate an SVRL representation of the validation results when run against an instance document.
compileXmlSchema(URI...) - Method in class org.opengis.cite.validation.XmlSchemaCompiler
Compiles W3C XML Schema resources obtained from the specified sequence of URI references.
compileXmlSchema(Source...) - Method in class org.opengis.cite.validation.XmlSchemaCompiler
Compiles a sequence of W3C XML Schema resources that may be used to perform grammar-based validation of an XML instance.
createRelaxNGSchema(URL, LSResourceResolver) - Method in class org.opengis.cite.validation.RelaxNGValidator
Creates a Schema object from the supplied URL reference.

D

dereferenceURI(URI) - Method in class org.opengis.cite.validation.XmlSchemaCompiler
Dereferences the given URI and writes the resulting entity (XML Schema) to a local file.

E

error(SAXParseException) - Method in class org.opengis.cite.validation.ValidationErrorHandler
Receives notification of a recoverable error.
ErrorLocator - Class in org.opengis.cite.validation
Provides information about the location of a validation error.
ErrorLocator(int, int, String) - Constructor for class org.opengis.cite.validation.ErrorLocator
 
errorsDetected() - Method in class org.opengis.cite.validation.ValidationErrorHandler
Indicates whether any validation errors have been detected.
ErrorSeverity - Enum in org.opengis.cite.validation
Enumerated type indicating the severity of a validation error.

F

fatalError(SAXParseException) - Method in class org.opengis.cite.validation.ValidationErrorHandler
Receives notification of a non-recoverable error, such as non-XML content, XML that is not well-formed, or an incorrect encoding declaration.

G

generateTextResult(Source) - Method in class org.opengis.cite.validation.SchematronValidator
Transforms a standard SVRL report to a plain text representation that only includes rule violations (positive or negative assertion failures).
getColumnNumber() - Method in class org.opengis.cite.validation.ErrorLocator
Returns the column number where the error is located.
getColumnNumber() - Method in class org.opengis.cite.validation.ValidationError
Returns the column number where the error is located.
getDiagnostics() - Method in class org.opengis.cite.validation.ValidationError
Returns additional diagnostic information about this error.
getErrorCount() - Method in class org.opengis.cite.validation.ValidationErrorHandler
Reports the number of errors detected during a validation episode.
getErrorHandler() - Method in class org.opengis.cite.validation.RelaxNGValidator
Returns the error handler.
getErrorHandler() - Method in class org.opengis.cite.validation.XmlSchemaCompiler
Returns the specialized error handler used to collect all errors encountered while parsing schemas.
getErrors() - Method in class org.opengis.cite.validation.ValidationErrorHandler
Gets the errors reported to this handler.
getLineNumber() - Method in class org.opengis.cite.validation.ErrorLocator
Returns the line number where the error is located.
getLineNumber() - Method in class org.opengis.cite.validation.ValidationError
Returns the line number where the error is located.
getMessage() - Method in class org.opengis.cite.validation.ValidationError
Returns the message describing this error.
getPointer() - Method in class org.opengis.cite.validation.ErrorLocator
Returns a pointer specifying the location of the error in some representation.
getPointer() - Method in class org.opengis.cite.validation.ValidationError
Returns a fragment identifier that identifies the invalid part of some resource representation.
getRuleViolationCount() - Method in class org.opengis.cite.validation.SchematronValidator
Get the number of violations (failed assertions and successful reports) for the validation episode.
getSchemaLanguage() - Method in class org.opengis.cite.validation.ValidationErrorHandler
 
getSeverity() - Method in class org.opengis.cite.validation.ValidationError
Returns the severity of this error.

H

handleError(DOMError) - Method in class org.opengis.cite.validation.ValidationErrorHandler
 

I

importElement(Element) - Method in class org.opengis.cite.validation.SchematronValidator
Creates a DOM Document with the given Element as the document element.
ISO_SCHEMATRON_SVRL_NS - Static variable in class org.opengis.cite.validation.SchematronValidator
 
isXMLStream(BufferedInputStream) - Method in class org.opengis.cite.validation.RelaxNGValidator
A utility method that attempts to determine if the given stream contains XML content.
iterator() - Method in class org.opengis.cite.validation.ValidationErrorHandler
Returns an iterator over the validation errors collected by this handler.

L

lookupSchemaByURI(URI) - Method in class org.opengis.cite.validation.XmlSchemaCompiler
Looks up a (schema) URI in an entity catalog by system identifier or namespace name.

O

org.opengis.cite.validation - package org.opengis.cite.validation
Contains classes for performing or facilitating schema validation.

R

RelaxNGValidator - Class in org.opengis.cite.validation
Validates an XML resource with respect to a RELAX NG (ISO 19757-2) schema.
RelaxNGValidator(URL) - Constructor for class org.opengis.cite.validation.RelaxNGValidator
Constructs a validator using the supplied schema reference and a default resource resolver (which will suffice for commonly used URL protocols such as the file and http schemes).
RelaxNGValidator(URL, LSResourceResolver) - Constructor for class org.opengis.cite.validation.RelaxNGValidator
Constructs a validator using the supplied schema reference and resource resolver.
reset() - Method in class org.opengis.cite.validation.ValidationErrorHandler
Clears all errors and messages.
ruleViolationsDetected() - Method in class org.opengis.cite.validation.SchematronValidator
Indicates the occurrence of any rule violations.

S

SchematronValidator - Class in org.opengis.cite.validation
Verifies that the content of an XML resource satisfies the constraints defined in an ISO Schematron (ISO 19757-3) schema.
SchematronValidator(Source) - Constructor for class org.opengis.cite.validation.SchematronValidator
Constructs a validator for the given Schematron schema with the default phase enabled.
SchematronValidator(Source, String) - Constructor for class org.opengis.cite.validation.SchematronValidator
Constructs a validator for the given Schematron schema and phase (pattern set).
setParameters(Map<String, String>) - Method in class org.opengis.cite.validation.SchematronValidator
Sets parameters required to evaluate Schematron rules.
setSchemaLanguage(String) - Method in class org.opengis.cite.validation.ValidationErrorHandler
 

T

toStreamSource(DOMSource) - Static method in class org.opengis.cite.validation.RelaxNGValidator
Converts a DOMSource object to a StreamSource.
toString() - Method in class org.opengis.cite.validation.ValidationError
Returns information about the error.
toString() - Method in class org.opengis.cite.validation.ValidationErrorHandler
Returns a concatenation of the summaries of all received errors.
toXml() - Method in class org.opengis.cite.validation.ValidationError
Returns an XML representation of the validation error.
toXml() - Method in class org.opengis.cite.validation.ValidationErrorHandler
Returns a simple XML representation of all received errors.

V

validate(Source) - Method in class org.opengis.cite.validation.RelaxNGValidator
Validates the given XML resource against the schema known to this validator.
validate(Source) - Method in class org.opengis.cite.validation.SchematronValidator
Validates the specified XML source document.
validate(Source, boolean) - Method in class org.opengis.cite.validation.SchematronValidator
Validates the specified XML source document.
validateSchema(Source) - Method in class org.opengis.cite.validation.SchematronValidator
Validates a Schematron schema against the official RELAX NG grammar (ISO 19757-3, Annex A).
ValidationError - Class in org.opengis.cite.validation
Provides information pertaining to a validation error.
ValidationError(ErrorSeverity, String, int, int, String) - Constructor for class org.opengis.cite.validation.ValidationError
Constructs an immutable validation error object from SAX or DOM error information.
ValidationError(ErrorSeverity, String, String, int, int, String) - Constructor for class org.opengis.cite.validation.ValidationError
Constructs an immutable validation error object from SAX or DOM error information.
ValidationError(ErrorSeverity, String, String, ErrorLocator) - Constructor for class org.opengis.cite.validation.ValidationError
Constructs an immutable validation error.
ValidationErrorHandler - Class in org.opengis.cite.validation
A SAX and DOM error handler that collects validation errors raised while verifying the structure and content of XML entities.
ValidationErrorHandler() - Constructor for class org.opengis.cite.validation.ValidationErrorHandler
 
valueOf(String) - Static method in enum org.opengis.cite.validation.ErrorSeverity
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.opengis.cite.validation.ErrorSeverity
Returns an array containing the constants of this enum type, in the order they are declared.

W

warning(SAXParseException) - Method in class org.opengis.cite.validation.ValidationErrorHandler
Receives notification of a warning.

X

XmlSchemaCompiler - Class in org.opengis.cite.validation
Provides various convenience methods for compiling W3C XML schemas and creating a thread-safe Schema object: an immutable in-memory representation of one or more grammars spanning one or more target namespaces.
XmlSchemaCompiler(URL) - Constructor for class org.opengis.cite.validation.XmlSchemaCompiler
Constructs and configures an XmlSchemaCompiler to use an OASIS entity catalog to resolve schema references.
XSModelBuilder - Class in org.opengis.cite.validation
Provides methods for building schema models that can be used to access and query the post-schema-validation infoset (PSVI).
XSModelBuilder() - Constructor for class org.opengis.cite.validation.XSModelBuilder
 
A B C D E F G H I L O R S T V W X 
Skip navigation links

Copyright © 2016 Open Geospatial Consortium. All rights reserved.