| Modifier and Type | Field and Description |
|---|---|
| protected REDocumentDeclaration | |
| public String | |
| public AttributeExp | matchedExp
holds a reference to the assigned type. |
| public String | |
| public String | |
| private boolean | saturated
If this value is false, the "matched" field must always null. |
| public StringToken |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| protected | AttributeToken(REDocumentDeclaration docDecl, String namespaceURI, String localName, String qName, String value, IDContextProvider2 context)
|
| protected | AttributeToken(REDocumentDeclaration docDecl, String namespaceURI, String localName, String qName, StringToken value)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final AttributeRecoveryToken | |
| public boolean | |
| pack-priv void |
| docDecl | back to summary |
|---|---|
| protected REDocumentDeclaration docDecl | |
| localName | back to summary |
|---|---|
| public String localName | |
| matchedExp | back to summary |
|---|---|
| public AttributeExp matchedExp holds a reference to the assigned type. If this AttributeToken is successfully consumed, then this field contains the AttributeExp which consumed this token. If this token is not consumed or several different AttributeExps consumed this token, then null. | |
| namespaceURI | back to summary |
|---|---|
| public String namespaceURI | |
| qName | back to summary |
|---|---|
| public String qName | |
| saturated | back to summary |
|---|---|
| private boolean saturated If this value is false, the "matched" field must always null. This indicates that no AttributeExp has consumed this token yet. If this value is true and the "matched" field is non-null, then it means that AttributeExp has consumed this token. If this value is true and the "matched" field is null, then more than one AttributeExps have consumed this token. | |
| value | back to summary |
|---|---|
| public StringToken value | |
| AttributeToken | back to summary |
|---|---|
| pack-priv AttributeToken(REDocumentDeclaration docDecl) | |
| AttributeToken | back to summary |
|---|---|
| protected AttributeToken(REDocumentDeclaration docDecl, String namespaceURI, String localName, String qName, String value, IDContextProvider2 context) | |
| AttributeToken | back to summary |
|---|---|
| protected AttributeToken(REDocumentDeclaration docDecl, String namespaceURI, String localName, String qName, StringToken value) | |
| createRecoveryAttToken | back to summary |
|---|---|
| pack-priv final AttributeRecoveryToken createRecoveryAttToken() creates a special AttributeToken which matchs any content restrictions. This token acts like a wild card for the attribute. This method is used for error recovery. | |
| match | back to summary |
|---|---|
| public boolean match(AttributeExp exp) Overrides com. | |
| reinit | back to summary |
|---|---|
| pack-priv void reinit(String namespaceURI, String localName, String qName, StringToken value) | |