com.sun.msv.reader
Class TerminalState

java.lang.Object
  extended bycom.sun.msv.reader.State
      extended bycom.sun.msv.reader.SimpleState
          extended bycom.sun.msv.reader.ExpressionState
              extended bycom.sun.msv.reader.ExpressionWithoutChildState
                  extended bycom.sun.msv.reader.TerminalState
All 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)
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TerminalState

public TerminalState(Expression exp)


Copyright © 2001-2003 Sun Microsystems, Inc. Documenation generated April 28 2005.