com.sun.msv.grammar
Interface IDContextProvider2

All Superinterfaces:
ValidationContext
All Known Implementing Classes:
AbstractVerifier, GrammarReader, IDContextProviderWrapper

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.
 
Methods inherited from interface org.relaxng.datatype.ValidationContext
getBaseUri, isNotation, isUnparsedEntity, resolveNamespacePrefix
 

Method Detail

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.