Class NamespaceState
java.lang.Object
com.sun.msv.reader.State
com.sun.msv.relaxns.reader.NamespaceState
- All Implemented Interfaces:
ContentHandler
parses <namespace> element of RELAX Namespace.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanthis flag indicates we are in bail-out mode.private booleanthis flag indicates this object expects a module element to appear as the child.(package private) org.iso_relax.dispatcher.IslandSchemaReaderthis object will parse inlined grammar.private Stringinline module should have this primary namespace -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidendElement(String namespace, String localName, String qName) protected RELAXNSReadergets reader in type-safe fashionprivate voidgetSchema(org.iso_relax.dispatcher.IslandSchemaReader moduleReader) voidstartElement(String namespace, String localName, String qName, Attributes atts) protected voidperforms a task that should be done before reading any child elements.Methods inherited from class State
_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
-
Field Details
-
inlineModuleExpected
private boolean inlineModuleExpectedthis flag indicates this object expects a module element to appear as the child. -
bailOut
private boolean bailOutthis flag indicates we are in bail-out mode. any contents of <namespace> element will be ignored. this flag is used for error recovery. -
namespace
inline module should have this primary namespace -
moduleReader
org.iso_relax.dispatcher.IslandSchemaReader moduleReaderthis object will parse inlined grammar.
-
-
Constructor Details
-
NamespaceState
public NamespaceState()
-
-
Method Details
-
startSelf
-
getSchema
private void getSchema(org.iso_relax.dispatcher.IslandSchemaReader moduleReader) -
startElement
public void startElement(String namespace, String localName, String qName, Attributes atts) throws SAXException - Throws:
SAXException
-
endElement
-
endDocument
public void endDocument() -
getReader
gets reader in type-safe fashion
-