com.sun.msv.grammar

Interface IDContextProvider

All Superinterfaces:
ValidationContext

public interface IDContextProvider
extends ValidationContext

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

Method Summary

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

Method Details

onID

public void onID(Datatype datatype,
                 String 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.