Package com.sun.msv.reader.trex.ng
Class DataParamState
- java.lang.Object
-
- com.sun.msv.reader.State
-
- com.sun.msv.reader.SimpleState
-
- com.sun.msv.reader.ChildlessState
-
- com.sun.msv.reader.trex.ng.DataParamState
-
- All Implemented Interfaces:
ContentHandler
public class DataParamState extends ChildlessState
parses <param> element inside <data> element.- Author:
- Kohsuke KAWAGUCHI
-
-
Field Summary
Fields Modifier and Type Field Description protected StringBuffer
text
-
Constructor Summary
Constructors Constructor Description DataParamState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
characters(char[] buf, int from, int len)
protected void
endSelf()
this method is called in endElement method when the state is about to be removed.void
ignorableWhitespace(char[] buf, int from, int len)
-
Methods inherited from class com.sun.msv.reader.ChildlessState
createChildState
-
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 Detail
-
text
protected final StringBuffer text
-
-
Method Detail
-
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
-
endSelf
protected void endSelf()
Description copied from class:SimpleState
this method is called in endElement method when the state is about to be removed. derived-class should perform any wrap-up job- Overrides:
endSelf
in classSimpleState
-
-