Top Description Methods
com.sun.msv.grammar

public Interface IDContextProvider2

extends ValidationContext
Known Direct Implementers
com.sun.msv.grammar.util.IDContextProviderWrapper, com.sun.msv.reader.GrammarReader, com.sun.msv.verifier.AbstractVerifier
Imports
org.relaxng.datatype.Datatype, .ValidationContext, com.sun.msv.verifier.regexp.StringToken

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

Method Summary

Modifier and TypeMethod and Description
public void
onID(Datatype datatype, StringToken literal)

this method is called when a type with ID semantics is matched.

Inherited from org.relaxng.datatype.ValidationContext:
getBaseUriisNotationisUnparsedEntityresolveNamespacePrefix

Method Detail

onIDback to summary
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.