Interface IDContextProvider2

All Superinterfaces:
org.relaxng.datatype.ValidationContext
All Known Implementing Classes:
AbstractVerifier, GrammarReader, IDConstraintChecker, IDContextProviderWrapper, RELAXCoreIslandSchemaReader, RELAXCoreReader, RELAXNGCompReader, RELAXNGReader, RELAXNSReader, RELAXReader, TREXBaseReader, TREXGrammarReader, TypeDetector, Verifier, XMLSchemaReader

public interface IDContextProvider2 extends org.relaxng.datatype.ValidationContext
ValidationContextProvider that supports limited ID/IDREF implementation.
Author:
Kohsuke KAWAGUCHI
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onID(org.relaxng.datatype.Datatype datatype, StringToken literal)
    this method is called when a type with ID semantics is matched.

    Methods inherited from interface org.relaxng.datatype.ValidationContext

    getBaseUri, isNotation, isUnparsedEntity, resolveNamespacePrefix
  • Method Details

    • onID

      void onID(org.relaxng.datatype.Datatype datatype, StringToken literal)
      this method is called when a type with ID semantics is matched. It is the callee's responsibility that stores ID and checks doubly defined ID, if it is necessary.