| Modifier and Type | Field and Description |
|---|---|
| protected final Vector | idcs
identity constraints found in this element. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Expression | annealDeclaration(ElementDeclExp exp)
This method is called after this class finishes augmenting ElementDeclExp. |
| 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 Expression | initialExpression()
Overrides com. |
| public boolean | |
| protected void | onIdentityConstraint(IdentityConstraint idc)
this method is called when an identity constraint declaration is found. |
| protected Expression | resolveTypeRef(final String typeQName)
If this element declaration has @type, then this method is called to resolve it. |
| idcs | back to summary |
|---|---|
| protected final Vector<IdentityConstraint> idcs identity constraints found in this element. | |
| ElementDeclState | back to summary |
|---|---|
| public ElementDeclState() | |
| annealDeclaration | back to summary |
|---|---|
| protected Expression annealDeclaration(ElementDeclExp exp) This method is called after this class finishes augmenting ElementDeclExp. Derived classes can override this method and modify an ElementDeclExp further. | |
| 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. | |
| initialExpression | back to summary |
|---|---|
| protected Expression initialExpression() Overrides com. Doc from com. sets initial pattern | |
| isGlobal | back to summary |
|---|---|
| public boolean isGlobal() Returns true if this element declaration is a global element declaration. | |
| onIdentityConstraint | back to summary |
|---|---|
| protected void onIdentityConstraint(IdentityConstraint idc) this method is called when an identity constraint declaration is found. | |
| resolveTypeRef | back to summary |
|---|---|
| protected Expression resolveTypeRef(final String typeQName) If this element declaration has @type, then this method is called to resolve it. Since the type refered to may not be processed yet, a late binding is needed here. | |