com.sun.msv.reader.trex
Class RefState

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.RefState
All Implemented Interfaces:
ContentHandler
Direct Known Subclasses:
RefState

public class RefState
extends ExpressionWithoutChildState

parses <ref> pattern.

Author:
Kohsuke KAWAGUCHI

Field Summary
protected  boolean parentRef
           
 
Fields inherited from class com.sun.msv.reader.State
baseURI, location, parentState, reader, startTag
 
Constructor Summary
RefState(boolean parentRef)
           
 
Method Summary
protected  Expression makeExpression()
          This method is called from endElement method.
protected  void wrapUp(ReferenceExp r)
          Performs the final wrap-up.
 
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, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, 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

parentRef

protected boolean parentRef
Constructor Detail

RefState

public RefState(boolean parentRef)
Method Detail

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

wrapUp

protected void wrapUp(ReferenceExp r)
Performs the final wrap-up.



MSV