| Modifier and Type | Field and Description |
|---|---|
| protected Expression | exp
expression object that is being created. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Expression | annealExpression(Expression exp)
performs final wrap-up and returns a fully created Expression object that represents this element. |
| protected abstract Expression | castExpression(Expression halfCastedExpression, Expression newChildExpression)
combines half-made expression and newly found child expression into the expression. |
| protected State | createChildState(StartTagInfo tag)
Implements abstract com. |
| protected Expression | |
| protected Expression | |
| protected final Expression | makeExpression()
Implements abstract com. |
| public final void | onEndChild(Expression childExpression)
Implements com. |
| protected void | startSelf()
Overrides com. |
| exp | back to summary |
|---|---|
| protected Expression exp expression object that is being created.
See | |
| ExpressionWithChildState | back to summary |
|---|---|
| public ExpressionWithChildState() | |
| annealExpression | back to summary |
|---|---|
| protected Expression annealExpression(Expression exp) performs final wrap-up and returns a fully created Expression object that represents this element. | |
| castExpression | back to summary |
|---|---|
| protected abstract Expression castExpression(Expression halfCastedExpression, Expression newChildExpression) combines half-made expression and newly found child expression into the expression. Say this container has three child expression exp1,exp2, and exp3. Then, the expression of this state will be made by the following method invocations.
annealExpression(
castExpression(
castExpression(
castExpression(null,exp1), exp2), exp3 ) )
| |
| createChildState | back to summary |
|---|---|
| protected State createChildState(StartTagInfo tag) Implements abstract com. Doc from com. creates appropriate child state object for this element | |
| defaultExpression | back to summary |
|---|---|
| protected Expression defaultExpression() computes default expression. this method is called before annealExpression when no child expression is given during parsing. return null to signal an error. | |
| initialExpression | back to summary |
|---|---|
| protected Expression initialExpression() sets initial pattern | |
| makeExpression | back to summary |
|---|---|
| protected final Expression makeExpression() Implements abstract com. Doc from com. This method is called from endElement method. Implementation has to provide Expression object that represents the content of this element. | |
| onEndChild | back to summary |
|---|---|
| public final void onEndChild(Expression childExpression) Implements com. receives a Pattern object that is contained in this element. | |
| startSelf | back to summary |
|---|---|
| protected void startSelf() Overrides com. Doc from com. performs a task that should be done before reading any child elements. derived-class can safely read startTag and/or parentState values. | |