Package com.sun.msv.reader.trex
Class NameClassNameState
java.lang.Object
com.sun.msv.reader.State
com.sun.msv.reader.SimpleState
com.sun.msv.reader.trex.NameClassState
com.sun.msv.reader.trex.NameClassWithoutChildState
com.sun.msv.reader.trex.NameClassNameState
- All Implemented Interfaces:
ContentHandler
parses <name> name class.
- Author:
- Kohsuke KAWAGUCHI
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] buf, int from, int len) voidignorableWhitespace(char[] buf, int from, int len) protected NameClassThis method is called from endElement method.Methods inherited from class com.sun.msv.reader.trex.NameClassWithoutChildState
createChildStateMethods inherited from class com.sun.msv.reader.trex.NameClassState
endSelf, getPropagatedNamespaceMethods inherited from class com.sun.msv.reader.SimpleState
endDocument, endElement, isGrammarElement, startElementMethods inherited from class com.sun.msv.reader.State
_assert, callInterceptExpression, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, startSelfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
text
-
-
Constructor Details
-
NameClassNameState
public NameClassNameState()
-
-
Method Details
-
characters
public void characters(char[] buf, int from, int len) - Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classState
-
ignorableWhitespace
public void ignorableWhitespace(char[] buf, int from, int len) - Specified by:
ignorableWhitespacein interfaceContentHandler- Overrides:
ignorableWhitespacein classState
-
makeNameClass
Description copied from class:NameClassStateThis method is called from endElement method. Implementation has to provide NameClass object that represents the content of this element.- Specified by:
makeNameClassin classNameClassState
-