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.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IDContextProvider2
create
(IDContextProvider core) boolean
isNotation
(String arg0) boolean
isUnparsedEntity
(String arg0) void
onID
(org.relaxng.datatype.Datatype datatype, StringToken token) this method is called when a type with ID semantics is matched.resolveNamespacePrefix
(String arg0)
-
Field Details
-
core
-
-
Constructor Details
-
IDContextProviderWrapper
-
-
Method Details
-
create
-
getBaseUri
- Specified by:
getBaseUri
in interfaceorg.relaxng.datatype.ValidationContext
-
isNotation
- Specified by:
isNotation
in interfaceorg.relaxng.datatype.ValidationContext
-
isUnparsedEntity
- Specified by:
isUnparsedEntity
in interfaceorg.relaxng.datatype.ValidationContext
-
onID
Description copied from interface:IDContextProvider2
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.- Specified by:
onID
in interfaceIDContextProvider2
-
resolveNamespacePrefix
- Specified by:
resolveNamespacePrefix
in interfaceorg.relaxng.datatype.ValidationContext
-