com.sun.msv.reader

Class ExpressionState

Implemented Interfaces:
ContentHandler
Known Direct Subclasses:
AttributeState, DataState, DivInGrammarState, ExpressionWithChildState, ExpressionWithoutChildState, InlineElementState

public abstract class ExpressionState
extends SimpleState

Base implementation for those states who read tags representing an expression.

Responsibility of derived classes are:

  1. if necessary, implement startSelf method to do something.
  2. implement createChildState method, which is mandated by SimpleState.
  3. implement makeExpression method to create Expression object as the outcome of parsing. This method is called at endElement.
Author:
Kohsuke KAWAGUCHI

Field Summary

Fields inherited from class com.sun.msv.reader.State

reader

Method Summary

Methods inherited from class com.sun.msv.reader.SimpleState

endDocument, endElement, startElement

Methods inherited from class com.sun.msv.reader.State

_assert, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping