ExpressionOwner
, ContentHandler
GrammarState
public class GrammarState extends DivInGrammarState
this class provides a new TREXGrammar object to localize names defined within this grammar.
Modifier and Type | Field | Description |
---|---|---|
protected TREXGrammar |
newGrammar |
|
protected TREXGrammar |
previousGrammar |
Constructor | Description |
---|---|
GrammarState() |
Modifier and Type | Method | Description |
---|---|---|
void |
endSelf() |
this method is called in endElement method
when the state is about to be removed.
|
protected Expression |
makeExpression() |
This method is called from endElement method.
|
protected void |
startSelf() |
performs a task that should be done before reading any child elements.
|
createChildState, getReader, onEndChild
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endDocument, endElement, isGrammarElement, startElement
_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
protected TREXGrammar previousGrammar
protected TREXGrammar newGrammar
protected Expression makeExpression()
ExpressionState
makeExpression
in class DivInGrammarState
protected void startSelf()
State
public void endSelf()
SimpleState
endSelf
in class ExpressionState
Copyright © 2019 Oracle Corporation. All rights reserved.