Package com.sun.msv.grammar.util
Class IDContextProviderWrapper
java.lang.Object
com.sun.msv.grammar.util.IDContextProviderWrapper
- All Implemented Interfaces:
IDContextProvider2,org.relaxng.datatype.ValidationContext
Wraps
IDContextProvider so that it can be used
where IDContextProvider2 is expected.- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
-
Method Summary
Modifier and TypeMethodDescriptionstatic IDContextProvider2create(IDContextProvider core) booleanisNotation(String arg0) booleanisUnparsedEntity(String arg0) voidonID(org.relaxng.datatype.Datatype datatype, StringToken token) this method is called when a type with ID semantics is matched.resolveNamespacePrefix(String arg0)
-
Method Details
-
create
-
getBaseUri
- Specified by:
getBaseUriin interfaceorg.relaxng.datatype.ValidationContext
-
isNotation
- Specified by:
isNotationin interfaceorg.relaxng.datatype.ValidationContext
-
isUnparsedEntity
- Specified by:
isUnparsedEntityin interfaceorg.relaxng.datatype.ValidationContext
-
onID
Description copied from interface:IDContextProvider2this 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.- Specified by:
onIDin interfaceIDContextProvider2
-
resolveNamespacePrefix
- Specified by:
resolveNamespacePrefixin interfaceorg.relaxng.datatype.ValidationContext
-