A C D E F G I J L P R S U V W X

A

AbstractSchema - class com.thaiopensource.relaxng.AbstractSchema.
A skeleton implementation of Schema.
AbstractSchema() - Constructor for class com.thaiopensource.relaxng.AbstractSchema
 
addFileset(FileSet) - Method in class com.thaiopensource.relaxng.util.JingTask
 

C

close() - Method in class com.thaiopensource.relaxng.util.ErrorHandlerImpl
 
com.thaiopensource.relaxng - package com.thaiopensource.relaxng
Provides a SAX-based API for validating XML documents using RELAX NG.
com.thaiopensource.relaxng.util - package com.thaiopensource.relaxng.util
Provides convenience classes for working with the API in com.thaiopensource.relaxng.
createSchema(InputSource) - Method in class com.thaiopensource.relaxng.SchemaFactory
Creates a schema by parsing an XML document.
createValidator() - Method in interface com.thaiopensource.relaxng.Schema
Creates a new ValidatorHandler that validates XML documents against this schema.
createValidator() - Method in class com.thaiopensource.relaxng.AbstractSchema
Calls createValidator(null).
createValidator(ErrorHandler) - Method in interface com.thaiopensource.relaxng.Schema
Creates a new ValidatorHandler that validates XML documents against this schema.
createXMLReader() - Method in interface com.thaiopensource.relaxng.XMLReaderCreator
Creates a new XMLReader.
createXMLReader() - Method in class com.thaiopensource.relaxng.util.Sax2XMLReaderCreator
 
createXMLReader() - Method in class com.thaiopensource.relaxng.util.Jaxp11XMLReaderCreator
 

D

DraconianErrorHandler - class com.thaiopensource.relaxng.util.DraconianErrorHandler.
An ErrorHandler implementing a brutal error handling policy.
DraconianErrorHandler() - Constructor for class com.thaiopensource.relaxng.util.DraconianErrorHandler
 

E

error(SAXParseException) - Method in class com.thaiopensource.relaxng.util.ErrorHandlerImpl
 
error(SAXParseException) - Method in class com.thaiopensource.relaxng.util.DraconianErrorHandler
 
ErrorHandlerImpl - class com.thaiopensource.relaxng.util.ErrorHandlerImpl.
 
ErrorHandlerImpl() - Constructor for class com.thaiopensource.relaxng.util.ErrorHandlerImpl
 
ErrorHandlerImpl(OutputStream) - Constructor for class com.thaiopensource.relaxng.util.ErrorHandlerImpl
 
ErrorHandlerImpl(Writer) - Constructor for class com.thaiopensource.relaxng.util.ErrorHandlerImpl
 
execute() - Method in class com.thaiopensource.relaxng.util.JingTask
 

F

fatalError(SAXParseException) - Method in class com.thaiopensource.relaxng.util.ErrorHandlerImpl
 
fatalError(SAXParseException) - Method in class com.thaiopensource.relaxng.util.DraconianErrorHandler
 
fileInputSource(File) - Static method in class com.thaiopensource.relaxng.util.ValidationEngine
Returns an InputSource for a File.
fileInputSource(String) - Static method in class com.thaiopensource.relaxng.util.ValidationEngine
Returns an InputSource for a filename.

G

getCheckIdIdref() - Method in class com.thaiopensource.relaxng.SchemaFactory
Indicates whether ID/IDREF/IDREFS attributes will be checked in accordance RELAX NG DTD Compatibility.
getCompactSyntax() - Method in class com.thaiopensource.relaxng.SchemaFactory
Indicates whether the compact syntax will be used to parse the RELAX NG schema rather than the normal XML syntax.
getDatatypeLibraryFactory() - Method in class com.thaiopensource.relaxng.SchemaFactory
Returns the DatatypeLibraryFactory that will be used for handling datatypes in the schema.
getErrorHandler() - Method in interface com.thaiopensource.relaxng.ValidatorHandler
Returns the current ErrorHandler as set by setErrorHandler.
getErrorHandler() - Method in class com.thaiopensource.relaxng.SchemaFactory
Returns the ErrorHandler that will be used for reporting errors while creating the schema.
getFeasible() - Method in class com.thaiopensource.relaxng.SchemaFactory
 
getXMLReaderCreator() - Method in class com.thaiopensource.relaxng.SchemaFactory
Returns the current XMLReaderCreator as specified by setXMLReaderCreator.

I

IncorrectSchemaException - exception com.thaiopensource.relaxng.IncorrectSchemaException.
Thrown to indicate an XML document is not a correct schema, either because the XML document is not well-formed or because it fails to be correct in some other way.
IncorrectSchemaException() - Constructor for class com.thaiopensource.relaxng.IncorrectSchemaException
 
isComplete() - Method in interface com.thaiopensource.relaxng.ValidatorHandler
Reports whether the complete document has been received, that is, whether endDocument has been called.
isValidSoFar() - Method in interface com.thaiopensource.relaxng.ValidatorHandler
Reports whether the content received so far is valid.

J

Jaxp11XMLReaderCreator - class com.thaiopensource.relaxng.util.Jaxp11XMLReaderCreator.
An XMLReaderCreator that uses JAXP 1.1 to create XMLReaders.
Jaxp11XMLReaderCreator() - Constructor for class com.thaiopensource.relaxng.util.Jaxp11XMLReaderCreator
Default constructor.
JingTask - class com.thaiopensource.relaxng.util.JingTask.
Ant task to validate XML files using RELAX NG.
JingTask() - Constructor for class com.thaiopensource.relaxng.util.JingTask
 

L

loadSchema(InputSource) - Method in class com.thaiopensource.relaxng.util.ValidationEngine
Loads a schema.

P

print(String) - Method in class com.thaiopensource.relaxng.util.ErrorHandlerImpl
 
printException(Throwable) - Method in class com.thaiopensource.relaxng.util.ErrorHandlerImpl
 

R

reset() - Method in interface com.thaiopensource.relaxng.ValidatorHandler
Prepares to receive the content of another document.

S

Sax2XMLReaderCreator - class com.thaiopensource.relaxng.util.Sax2XMLReaderCreator.
An XMLReaderCreator that creates XMLReaders using the SAX2 XMLReaderFactory.
Sax2XMLReaderCreator() - Constructor for class com.thaiopensource.relaxng.util.Sax2XMLReaderCreator
Constructs a Sax2XMLReaderCreator that uses system defaults to construct XMLReaders.
Sax2XMLReaderCreator(String) - Constructor for class com.thaiopensource.relaxng.util.Sax2XMLReaderCreator
Constructs a Sax2XMLReaderCreator that constructs XMLReaders with the specified class name.
Schema - interface com.thaiopensource.relaxng.Schema.
A schema that can be used to validate an XML document.
SchemaFactory - class com.thaiopensource.relaxng.SchemaFactory.
A factory for RELAX NG schemas.
SchemaFactory() - Constructor for class com.thaiopensource.relaxng.SchemaFactory
Constructs a schema factory.
setCheckid(boolean) - Method in class com.thaiopensource.relaxng.util.JingTask
Handles the checkid attribute.
setCheckIdIdref(boolean) - Method in class com.thaiopensource.relaxng.SchemaFactory
Specifies whether to perform checking of ID/IDREF/IDREFS attributes in accordance with RELAX NG DTD Compatibility.
setCompactsyntax(boolean) - Method in class com.thaiopensource.relaxng.util.JingTask
Handles the compactsyntax attribute.
setCompactSyntax(boolean) - Method in class com.thaiopensource.relaxng.SchemaFactory
Specifies whether to use the compact syntax to parse the RELAX NG schema rather than the normal XML syntax.
setDatatypeLibraryFactory(DatatypeLibraryFactory) - Method in class com.thaiopensource.relaxng.SchemaFactory
Specifies the DatatypeLibraryFactory to be used for handling datatypes in the schema.
setErrorHandler(ErrorHandler) - Method in interface com.thaiopensource.relaxng.ValidatorHandler
Sets the current ErrorHandler to be used for reporting validation errors.
setErrorHandler(ErrorHandler) - Method in class com.thaiopensource.relaxng.SchemaFactory
Specifies the ErrorHandler to be used for reporting errors while creating the schema.
setFeasible(boolean) - Method in class com.thaiopensource.relaxng.SchemaFactory
 
setFile(File) - Method in class com.thaiopensource.relaxng.util.JingTask
 
setRngfile(String) - Method in class com.thaiopensource.relaxng.util.JingTask
Handles the rngfile attribute.
setXMLReaderCreator(XMLReaderCreator) - Method in class com.thaiopensource.relaxng.SchemaFactory
Specifies the XMLReaderCreator to be used for creating XMLReaders for parsing the XML document.

U

uriOrFileInputSource(String) - Static method in class com.thaiopensource.relaxng.util.ValidationEngine
Returns an InputSource for a string that represents either a file or an absolute URI.

V

validate(InputSource) - Method in class com.thaiopensource.relaxng.util.ValidationEngine
Validates a document against the currently loaded schema.
ValidationEngine - class com.thaiopensource.relaxng.util.ValidationEngine.
Provides a simplified API for validating XML documents against RELAX NG schemas.
ValidationEngine() - Constructor for class com.thaiopensource.relaxng.util.ValidationEngine
Default constructor.
ValidationEngine(XMLReaderCreator, ErrorHandler, boolean) - Constructor for class com.thaiopensource.relaxng.util.ValidationEngine
Constructs a ValidationEngine.
ValidationEngine(XMLReaderCreator, ErrorHandler, boolean, boolean) - Constructor for class com.thaiopensource.relaxng.util.ValidationEngine
Constructs a ValidationEngine.
ValidationEngine(XMLReaderCreator, ErrorHandler, boolean, boolean, boolean) - Constructor for class com.thaiopensource.relaxng.util.ValidationEngine
 
ValidatorHandler - interface com.thaiopensource.relaxng.ValidatorHandler.
A SAX 2 content handler that validates the content it receives.

W

warning(SAXParseException) - Method in class com.thaiopensource.relaxng.util.ErrorHandlerImpl
 
warning(SAXParseException) - Method in class com.thaiopensource.relaxng.util.DraconianErrorHandler
 

X

XMLReaderCreator - interface com.thaiopensource.relaxng.XMLReaderCreator.
A factory for XMLReaders.

A C D E F G I J L P R S U V W X