com.sun.msv.reader.trex.ng
Class ValueState

java.lang.Object
  extended by com.sun.msv.reader.State
      extended by com.sun.msv.reader.SimpleState
          extended by com.sun.msv.reader.ExpressionState
              extended by com.sun.msv.reader.ExpressionWithoutChildState
                  extended by com.sun.msv.reader.trex.ng.ValueState
All Implemented Interfaces:
ContentHandler

public class ValueState
extends ExpressionWithoutChildState

parses <value> pattern.

Author:
Kohsuke KAWAGUCHI

Field Summary
protected  StringBuffer text
           
 
Fields inherited from class com.sun.msv.reader.State
baseURI, location, parentState, reader, startTag
 
Constructor Summary
ValueState()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

text

protected final StringBuffer text
Constructor Detail

ValueState

public ValueState()
Method Detail

characters

public void characters(char[] buf,
                       int from,
                       int len)
Specified by:
characters in interface ContentHandler
Overrides:
characters in class State

ignorableWhitespace

public void ignorableWhitespace(char[] buf,
                                int from,
                                int len)
Specified by:
ignorableWhitespace in interface ContentHandler
Overrides:
ignorableWhitespace in class State

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 class ExpressionState


MSV