com.sun.msv.grammar

Interface IDContextProvider2

public interface IDContextProvider2 extends ValidationContext

ValidationContextProvider that supports limited ID/IDREF implementation.

Author: Kohsuke KAWAGUCHI

Method Summary
voidonID(Datatype datatype, StringToken literal)
this method is called when a type with ID semantics is matched.

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.