com.sun.msv.relaxns.reader.relax

Class RELAXCoreIslandSchemaReader

Implemented Interfaces:
IslandSchemaReader, IDContextProvider2, ValidationContext, XSDatatypeResolver

public class RELAXCoreIslandSchemaReader
extends RELAXCoreReader
implements IslandSchemaReader

reads RELAX-Namespace-extended RELAX Core.
Author:
Kohsuke KAWAGUCHI

Nested Class Summary

Nested classes/interfaces inherited from class com.sun.msv.reader.relax.core.RELAXCoreReader

RELAXCoreReader.StateFactory

Nested classes/interfaces inherited from class com.sun.msv.reader.relax.RELAXReader

RELAXReader.StateFactory

Nested classes/interfaces inherited from class com.sun.msv.reader.GrammarReader

GrammarReader.BackPatch, GrammarReader.BackwardReferenceMap, GrammarReader.ChainPrefixResolver, GrammarReader.PrefixResolver

Field Summary

Fields inherited from class com.sun.msv.reader.relax.core.RELAXCoreReader

ERR_EXPROTED_HEDGERULE_CONSTRAINT, ERR_ID_ABUSE, ERR_ID_ABUSE_1, ERR_INCONSISTENT_TARGET_NAMESPACE, ERR_LABEL_COLLISION, ERR_MISSING_TARGET_NAMESPACE, ERR_MORE_THAN_ONE_INLINE_TAG, ERR_MULTIPLE_ATTPOOL_DECLARATIONS, ERR_MULTIPLE_ATTRIBUTE_CONSTRAINT, ERR_MULTIPLE_TAG_DECLARATIONS, ERR_NAMESPACE_NOT_SUPPROTED, ERR_ROLE_COLLISION, ERR_UNDEFINED_ATTPOOL, ERR_UNDEFINED_ELEMENTRULE, ERR_UNDEFINED_HEDGERULE, ERR_UNDEFINED_TAG, WRN_ILLEGAL_RELAXCORE_VERSION, WRN_NO_EXPROTED_LABEL

Fields inherited from class com.sun.msv.reader.relax.RELAXReader

ERR_ILLEGAL_OCCURS, ERR_MISPLACED_OCCURS, RELAXCoreNamespace, sfactory

Fields inherited from class com.sun.msv.reader.GrammarReader

ERR_BAD_ATTRIBUTE_VALUE, ERR_BAD_TYPE, ERR_CHARACTERS, ERR_CONFLICTING_ATTRIBUTES, ERR_DATATYPE_ALREADY_DEFINED, ERR_DISALLOWED_ATTRIBUTE, ERR_FRAGMENT_IDENTIFIER, ERR_ILLEGAL_FINAL_VALUE, ERR_MALPLACED_ELEMENT, ERR_MISSING_ATTRIBUTE, ERR_MISSING_ATTRIBUTE_2, ERR_MISSING_CHILD_EXPRESSION, ERR_MISSING_CHILD_TYPE, ERR_MISSING_TOPLEVEL, ERR_MORE_THAN_ONE_CHILD_EXPRESSION, ERR_MORE_THAN_ONE_CHILD_TYPE, ERR_RECURSIVE_DATATYPE, ERR_RECURSIVE_INCLUDE, ERR_RUNAWAY_EXPRESSION, ERR_UNDEFINED_DATATYPE, WRN_DEPRECATED_TYPENAME, WRN_MAYBE_WRONG_NAMESPACE, backwardReference, basePrefixResolver, controller, locator, parserFactory, pool, prefixResolver

Constructor Summary

RELAXCoreIslandSchemaReader(GrammarReaderController controller, SAXParserFactory parserFactory, ExpressionPool pool, String expectedTargetnamespace)

Method Summary

State
createExpressionChildState(State parent, StartTagInfo tag)
this method must be implemented by the derived class to create language-default expresion state.
IslandSchema
getSchema()

Methods inherited from class com.sun.msv.reader.relax.core.RELAXCoreReader

addUserDefinedType, createExpressionChildState, getRELAXCoreSchema4Schema, getResult, getResultAsGrammar, parse, parse, resolveXSDatatype

Methods inherited from class com.sun.msv.reader.relax.RELAXReader

createExpressionChildState, createFacetState

Methods inherited from class com.sun.msv.reader.GrammarReader

_parse, addBackPatchJob, addBackPatchJob, combineURI, combineURL, createExpressionChildState, detectUndefinedOnes, endPrefixMapping, getBackwardCompatibleType, getBaseUri, getCurrentState, getDeclaredLocationOf, getResultAsGrammar, isNotation, isUnparsedEntity, iterateInscopeNamespaces, onID, parse, parse, popState, pushState, reportError, reportError, reportError, reportError, reportError, reportError, reportError, reportError, reportWarning, reportWarning, reportWarning, reportWarning, resolveLocation, resolveNamespacePrefix, runBackPatchJob, setDeclaredLocationOf, setDocumentLocator, splitQName, startPrefixMapping, switchSource, switchSource

Constructor Details

RELAXCoreIslandSchemaReader

public RELAXCoreIslandSchemaReader(GrammarReaderController controller,
                                   SAXParserFactory parserFactory,
                                   ExpressionPool pool,
                                   String expectedTargetnamespace)
            throws SAXException,
                   ParserConfigurationException

Method Details

createExpressionChildState

public State createExpressionChildState(State parent,
                                        StartTagInfo tag)
this method must be implemented by the derived class to create language-default expresion state.
Overrides:
createExpressionChildState in interface RELAXCoreReader
Returns:
null if the start tag is an error.

getSchema

public final IslandSchema getSchema()