com.sun.msv.reader.relax
Class RELAXReader
java.lang.Object
|
+--org.xml.sax.helpers.XMLFilterImpl
|
+--com.sun.msv.reader.GrammarReader
|
+--com.sun.msv.reader.relax.RELAXReader
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler, IDContextProvider, ValidationContext, XMLFilter, XMLReader
- Direct Known Subclasses:
- RELAXCoreReader, RELAXNSReader
- public abstract class RELAXReader
- extends GrammarReader
reads RELAX grammar/module by SAX2 and constructs abstract grammar model.
- Author:
- Kohsuke KAWAGUCHI
Fields inherited from class com.sun.msv.reader.GrammarReader |
backwardReference, basePrefixResolver, controller, ERR_BAD_ATTRIBUTE_VALUE, ERR_BAD_TYPE, ERR_CHARACTERS, ERR_CONFLICTING_ATTRIBUTES, ERR_DATATYPE_ALREADY_DEFINED, ERR_DISALLOWED_ATTRIBUTE, ERR_ILLEGAL_FINAL_VALUE, ERR_IO_EXCEPTION, 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_SAX_EXCEPTION, ERR_UNDEFINED_DATATYPE, ERR_XMLPARSERFACTORY_EXCEPTION, hadError, locator, parserFactory, pool, prefixResolver, WRN_DEPRECATED_TYPENAME, WRN_MAYBE_WRONG_NAMESPACE |
Methods inherited from class com.sun.msv.reader.GrammarReader |
addBackPatchJob, combineURL, detectUndefinedOnes, endPrefixMapping, getBackwardCompatibleType, getCurrentState, getDeclaredLocationOf, getResultAsGrammar, isNotation, isUnparsedEntity, onID, onIDREF, parse, parse, popState, pushState, reportError, reportError, reportError, reportError, reportError, reportError, reportError, reportError, reportWarning, reportWarning, reportWarning, resolveDataType, resolveLocation, resolveNamespacePrefix, setDeclaredLocationOf, setDocumentLocator, splitQName, startPrefixMapping, switchSource |
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl |
characters, endDocument, endElement, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, startElement, unparsedEntityDecl, warning |
RELAXCoreNamespace
public static final String RELAXCoreNamespace
- Namespace URI of RELAX Core
sfactory
public final RELAXReader.StateFactory sfactory
ERR_ILLEGAL_OCCURS
public static final String ERR_ILLEGAL_OCCURS
ERR_MISPLACED_OCCURS
public static final String ERR_MISPLACED_OCCURS
RELAXReader
public RELAXReader(GrammarReaderController controller,
javax.xml.parsers.SAXParserFactory parserFactory,
RELAXReader.StateFactory stateFactory,
ExpressionPool pool,
State initialState)
createExpressionChildState
public State createExpressionChildState(State parent,
StartTagInfo tag)
- Description copied from class:
GrammarReader
- this method must be implemented by the derived class to create
language-default expresion state.
- Overrides:
createExpressionChildState
in class GrammarReader
- Following copied from class:
com.sun.msv.reader.GrammarReader
- Returns:
- null if the start tag is an error.
createFacetState
public FacetState createFacetState(State parent,
StartTagInfo tag)