com.sun.msv.reader

Class TerminalState

Implemented Interfaces:
ContentHandler

public class TerminalState
extends ExpressionWithoutChildState

State that always returns the same expression. Typically used for <empty/>, <notAllowed/> and <text/> of RELAX NG.
Author:
Kohsuke KAWAGUCHI

Field Summary

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

reader

Constructor Summary

TerminalState(Expression exp)

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

Constructor Details

TerminalState

public TerminalState(Expression exp)