com.sun.msv.grammar

Interface IDContextProvider2

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

public interface IDContextProvider2
extends ValidationContext

ValidationContextProvider that supports limited ID/IDREF implementation.
Author:
Kohsuke KAWAGUCHI

Method Summary

void
onID(Datatype datatype, StringToken literal)
this method is called when a type with ID semantics is matched.

Method Details

onID

public void onID(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.