sk.uniba.euromath.document.schema.impl.tools
Class ValidationContextWrapper
java.lang.Object
sk.uniba.euromath.document.schema.impl.tools.ValidationContextWrapper
- All Implemented Interfaces:
- com.sun.msv.grammar.IDContextProvider2, org.relaxng.datatype.ValidationContext
public class ValidationContextWrapper
- extends Object
- implements com.sun.msv.grammar.IDContextProvider2
Wraps the ValidationContextP
class so it is usable to MSV.
- Author:
- Martin Vysny
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidationContextWrapper
public ValidationContextWrapper(SchemaImpl schema)
- Constructor.
- Parameters:
schema
- schema instance
onID
public void onID(org.relaxng.datatype.Datatype datatype,
com.sun.msv.verifier.regexp.StringToken literal)
- Specified by:
onID
in interface com.sun.msv.grammar.IDContextProvider2
getBaseUri
public String getBaseUri()
- Specified by:
getBaseUri
in interface org.relaxng.datatype.ValidationContext
isNotation
public boolean isNotation(String notationName)
- Specified by:
isNotation
in interface org.relaxng.datatype.ValidationContext
isUnparsedEntity
public boolean isUnparsedEntity(String entityName)
- Specified by:
isUnparsedEntity
in interface org.relaxng.datatype.ValidationContext
resolveNamespacePrefix
public String resolveNamespacePrefix(String prefix)
- Specified by:
resolveNamespacePrefix
in interface org.relaxng.datatype.ValidationContext
Copyright © 2003-2006 null. All Rights Reserved.