Top Description Methods
com.sun.msv.reader.datatype.xsd

public Interface XSDatatypeResolver

Known Direct Implementers
com.sun.msv.reader.relax.core.RELAXCoreReader, com.sun.msv.reader.trex.classic.TREXGrammarReader, com.sun.msv.reader.xmlschema.XMLSchemaReader

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

Modifier and TypeMethod and Description
public XSDatatypeExp

Returns:

A non-null valid object. An error should be reported and recovered by the callee.
resolveXSDatatype
(String
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.
datatypeName
)

Method Detail

resolveXSDatatypeback to summary
public XSDatatypeExp resolveXSDatatype(String datatypeName)
Parameters
datatypeName:String

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:XSDatatypeExp

A non-null valid object. An error should be reported and recovered by the callee.