com.sun.msv.reader.trex
Class IncludePatternState

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.IncludePatternState
All Implemented Interfaces:
ExpressionOwner, ContentHandler

public class IncludePatternState
extends ExpressionWithoutChildState
implements ExpressionOwner

<include> element in the pattern. (<externalRef> of RELAX NG).

Author:
Kohsuke KAWAGUCHI

Field Summary
protected  Expression included
           
 
Fields inherited from class com.sun.msv.reader.State
baseURI, location, parentState, reader, startTag
 
Constructor Summary
IncludePatternState()
           
 
Method Summary
protected  Expression makeExpression()
          This method is called from endElement method.
 void onEndChild(Expression included)
           
 
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

included

protected Expression included
Constructor Detail

IncludePatternState

public IncludePatternState()
Method Detail

onEndChild

public void onEndChild(Expression included)
Specified by:
onEndChild in interface ExpressionOwner

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