Package com.sun.msv.relaxns.reader
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.
- Author:
- Kohsuke KAWAGUCHI
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
endElement
(String namespace, String localName, String qName) protected RELAXNSReader
gets reader in type-safe fashionvoid
startElement
(String namespace, String localName, String qName, Attributes atts) protected void
performs a task that should be done before reading any child elements.Methods inherited from class com.sun.msv.reader.State
_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
NamespaceState
public NamespaceState()
-
-
Method Details
-
startSelf
protected void startSelf()Description copied from class:State
performs a task that should be done before reading any child elements. derived-class can safely read startTag and/or parentState values. -
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
-