Package com.sun.msv.reader.trex.ng
Class ValueState
- java.lang.Object
-
- com.sun.msv.reader.State
-
- com.sun.msv.reader.SimpleState
-
- com.sun.msv.reader.ExpressionState
-
- com.sun.msv.reader.ExpressionWithoutChildState
-
- com.sun.msv.reader.trex.ng.ValueState
-
- All Implemented Interfaces:
ContentHandler
public class ValueState extends ExpressionWithoutChildState
parses <value> pattern.- Author:
- Kohsuke KAWAGUCHI
-
-
Field Summary
Fields Modifier and Type Field Description protected StringBuffer
text
-
Constructor Summary
Constructors Constructor Description ValueState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
characters(char[] buf, int from, int len)
void
ignorableWhitespace(char[] buf, int from, int len)
protected Expression
makeExpression()
This method is called from endElement method.-
Methods inherited from class com.sun.msv.reader.ExpressionWithoutChildState
createChildState
-
Methods inherited from class com.sun.msv.reader.ExpressionState
endSelf
-
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
-
makeExpression
protected Expression makeExpression()
Description copied from class:ExpressionState
This method is called from endElement method. Implementation has to provide Expression object that represents the content of this element.- Specified by:
makeExpression
in classExpressionState
-
-