Index (RELAX NG Datatype API)

# Index

A C D G I O P R S U V
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

## A

addCharacters(char[], int, int) - Method in interface org.relaxng.datatype.DatatypeStreamingValidator
  Passes an additional fragment of the literal.
addCharacters(char[], int, int) - Method in class org.relaxng.datatype.helpers.StreamingValidatorImpl
addParameter(String, String, ValidationContext) - Method in interface org.relaxng.datatype.DatatypeBuilder
  Adds a new parameter.
addParameter(String, String, ValidationContext) - Method in class org.relaxng.datatype.helpers.ParameterlessDatatypeBuilder

## C

checkValid() - Method in interface org.relaxng.datatype.DatatypeStreamingValidator
  Similar to the isValid method, but this method throws Exception (with possibly diagnostic information), instead of returning false.
checkValid() - Method in class org.relaxng.datatype.helpers.StreamingValidatorImpl
checkValid(String, ValidationContext) - Method in interface org.relaxng.datatype.Datatype
  Similar to the isValid method but throws an exception with diagnosis in case of errors.
createDatatype() - Method in interface org.relaxng.datatype.DatatypeBuilder
  Derives a new Datatype from a Datatype by parameters that were already set through the addParameter method.
createDatatype() - Method in class org.relaxng.datatype.helpers.ParameterlessDatatypeBuilder
createDatatype(String) - Method in interface org.relaxng.datatype.DatatypeLibrary
  Gets or creates a pre-defined type.
createDatatypeBuilder(String) - Method in interface org.relaxng.datatype.DatatypeLibrary
  Creates a new instance of DatatypeBuilder.
createDatatypeLibrary(String) - Method in interface org.relaxng.datatype.DatatypeLibraryFactory
  Creates a new instance of a DatatypeLibrary that supports the specified namespace URI.
createDatatypeLibrary(String) - Method in class org.relaxng.datatype.helpers.DatatypeLibraryLoader
createStreamingValidator(ValidationContext) - Method in interface org.relaxng.datatype.Datatype
  Creates an instance of a streaming validator for this type.
createValue(String, ValidationContext) - Method in interface org.relaxng.datatype.Datatype
  Converts lexcial value and the current context to the corresponding value object.

## D

Datatype - Interface in org.relaxng.datatype
  Datatype object.
DatatypeBuilder - Interface in org.relaxng.datatype
  Creates a user-defined type by adding parameters to the pre-defined type.
DatatypeException - Exception Class in org.relaxng.datatype
  Signals Datatype related exceptions.
DatatypeException() - Constructor for exception class org.relaxng.datatype.DatatypeException
  A constructor for those datatype libraries which don't support any diagnostic information at all.
DatatypeException(int, String) - Constructor for exception class org.relaxng.datatype.DatatypeException
DatatypeException(String) - Constructor for exception class org.relaxng.datatype.DatatypeException
DatatypeLibrary - Interface in org.relaxng.datatype
  A Datatype library
DatatypeLibraryFactory - Interface in org.relaxng.datatype
  Factory class for the DatatypeLibrary class.
DatatypeLibraryLoader - Class in org.relaxng.datatype.helpers
  Discovers the datatype library implementation from the classpath.
DatatypeLibraryLoader() - Constructor for class org.relaxng.datatype.helpers.DatatypeLibraryLoader
DatatypeStreamingValidator - Interface in org.relaxng.datatype
  Datatype streaming validator.

## G

getBaseUri() - Method in interface org.relaxng.datatype.ValidationContext
  Returns the base URI of the context.
getIdType() - Method in interface org.relaxng.datatype.Datatype
  Checks if the ID/IDREF semantics is associated with this datatype.
getIndex() - Method in exception class org.relaxng.datatype.DatatypeException
  Gets the index of the content where the error occurred.

## I

ID_TYPE_ID - Static variable in interface org.relaxng.datatype.Datatype
  Indicates that RELAX NG compatibility processors should treat this datatype as having ID semantics.
ID_TYPE_IDREF - Static variable in interface org.relaxng.datatype.Datatype
  Indicates that RELAX NG compatibility processors should treat this datatype as having IDREF semantics.
ID_TYPE_IDREFS - Static variable in interface org.relaxng.datatype.Datatype
  Indicates that RELAX NG compatibility processors should treat this datatype as having IDREFS semantics.
ID_TYPE_NULL - Static variable in interface org.relaxng.datatype.Datatype
  Indicates that the datatype doesn't have ID/IDREF semantics.
isContextDependent() - Method in interface org.relaxng.datatype.Datatype
  Checks if this datatype may need a context object for the validation.
isNotation(String) - Method in interface org.relaxng.datatype.ValidationContext
  Checks if a notation is declared with the specified name.
isUnparsedEntity(String) - Method in interface org.relaxng.datatype.ValidationContext
  Checks if an unparsed entity is declared with the specified name.
isValid() - Method in interface org.relaxng.datatype.DatatypeStreamingValidator
  Tells if the accumulated literal is valid with respect to the underlying Datatype.
isValid() - Method in class org.relaxng.datatype.helpers.StreamingValidatorImpl
isValid(String, ValidationContext) - Method in interface org.relaxng.datatype.Datatype
  Checks if the specified 'literal' matches this Datatype with respect to the current context.

## O

org.relaxng.datatype - package org.relaxng.datatype
org.relaxng.datatype.helpers - package org.relaxng.datatype.helpers

## P

ParameterlessDatatypeBuilder - Class in org.relaxng.datatype.helpers
  Dummy implementation of `DatatypeBuilder`.
ParameterlessDatatypeBuilder(Datatype) - Constructor for class org.relaxng.datatype.helpers.ParameterlessDatatypeBuilder

## R

resolveNamespacePrefix(String) - Method in interface org.relaxng.datatype.ValidationContext
  Resolves a namespace prefix to the corresponding namespace URI.

## S

sameValue(Object, Object) - Method in interface org.relaxng.datatype.Datatype
  Tests the equality of two value objects which were originally created by the createValue method of this object.
StreamingValidatorImpl - Class in org.relaxng.datatype.helpers
  Dummy implementation of `DatatypeStreamingValidator`.
StreamingValidatorImpl(Datatype, ValidationContext) - Constructor for class org.relaxng.datatype.helpers.StreamingValidatorImpl

## U

UNKNOWN - Static variable in exception class org.relaxng.datatype.DatatypeException

## V

ValidationContext - Interface in org.relaxng.datatype
  An interface that must be implemented by caller to provide context information that is necessary to perform validation of some Datatypes.
valueHashCode(Object) - Method in interface org.relaxng.datatype.Datatype
  Computes the hash code for a value object, which is consistent with the sameValue method.

A C D G I O P R S U V
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form