ExpressionOwner, ContentHandlerGrammarStatepublic 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, onEndChildclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitendDocument, endElement, isGrammarElement, startElement_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMappingprotected TREXGrammar previousGrammar
protected TREXGrammar newGrammar
protected Expression makeExpression()
ExpressionStatemakeExpression in class DivInGrammarStateprotected void startSelf()
Statepublic void endSelf()
SimpleStateendSelf in class ExpressionStateCopyright © 2019 Oracle Corporation. All rights reserved.