| Modifier and Type | Field and Description |
|---|---|
| protected ComplexTypeExp | decl
ComplexType object that we are now constructing. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Expression | annealExpression(Expression contentType)
Overrides com. |
| protected Expression | castExpression(Expression halfCastedExpression, Expression newChildExpression)
Implements abstract com. |
| protected State | createChildState(StartTagInfo tag)
Overrides com. |
| protected Expression | defaultExpression()
Overrides com. |
| protected ReferenceContainer | getContainer()
Implements abstract com. |
| private int | |
| public void | setAttributeWildcard(AttributeWildcard local)
Implements com. |
| protected void | startSelf()
Overrides com. |
| decl | back to summary |
|---|---|
| protected ComplexTypeExp decl ComplexType object that we are now constructing. | |
| ComplexTypeDeclState | back to summary |
|---|---|
| public ComplexTypeDeclState() | |
| annealExpression | back to summary |
|---|---|
| protected Expression annealExpression(Expression contentType) Overrides com. Doc from com. performs final wrap-up and returns a fully created Expression object that represents this element. | |
| castExpression | back to summary |
|---|---|
| protected Expression castExpression(Expression halfCastedExpression, Expression newChildExpression) Implements abstract com. Doc from com. 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) Overrides com. Doc from com. creates appropriate child state object for this element | |
| defaultExpression | back to summary |
|---|---|
| protected Expression defaultExpression() Overrides com. Doc from com. computes default expression. this method is called before annealExpression when no child expression is given during parsing. return null to signal an error. | |
| getContainer | back to summary |
|---|---|
| protected ReferenceContainer getContainer() Implements abstract com. Doc from com. gets appropriate ReferenceContainer to store this declaration. | |
| parseFinalValue | back to summary |
|---|---|
| private int parseFinalValue(String attName, String defaultValue) parses the value of the block/finel attribute. | |
| setAttributeWildcard | back to summary |
|---|---|
| public void setAttributeWildcard(AttributeWildcard local) Implements com. Doc from com. Sets the attribtue wildcard. | |
| 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. | |