com.sun.msv.reader.datatype.xsd
Interface XSDatatypeResolver

All Known Implementing Classes:
RELAXCoreIslandSchemaReader, RELAXCoreReader, TREXGrammarReader, XMLSchemaReader

public interface XSDatatypeResolver

Resolves a datatype name to the corresponding XSDatatypeExp object.

This interface has to be implemented by the GrammarReader if that GrammarReader uses this package.


Method Summary
 XSDatatypeExp resolveXSDatatype(String datatypeName)
           
 

Method Detail

resolveXSDatatype

XSDatatypeExp resolveXSDatatype(String datatypeName)
Parameters:
datatypeName - The type of this value varies in the schema language. In XML Schema, for example, in which QNames are used to designate datatypes, this parameter will be QName. In RELAX Core, in which the same syntax is used but NCName is used to designate datatypes. So this parameter will be NCName.
Returns:
A non-null valid object. An error should be reported and recovered by the callee.