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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(char[] buf, int from, int len) void
ignorableWhitespace
(char[] buf, int from, int len) protected NameClass
This method is called from endElement method.Methods inherited from class com.sun.msv.reader.trex.NameClassWithoutChildState
createChildState
Methods inherited from class com.sun.msv.reader.trex.NameClassState
endSelf, getPropagatedNamespace
Methods inherited from class com.sun.msv.reader.SimpleState
endDocument, endElement, isGrammarElement, startElement
Methods inherited from class com.sun.msv.reader.State
_assert, callInterceptExpression, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, startSelf
-
Field Details
-
text
-
-
Constructor Details
-
NameClassNameState
public NameClassNameState()
-
-
Method Details
-
characters
public void characters(char[] buf, int from, int len) - Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classState
-
ignorableWhitespace
public void ignorableWhitespace(char[] buf, int from, int len) - Specified by:
ignorableWhitespace
in interfaceContentHandler
- Overrides:
ignorableWhitespace
in classState
-
makeNameClass
Description copied from class:NameClassState
This method is called from endElement method. Implementation has to provide NameClass object that represents the content of this element.- Specified by:
makeNameClass
in classNameClassState
-