Class AttributeToken
java.lang.Object
com.sun.msv.verifier.regexp.Token
com.sun.msv.verifier.regexp.AttributeToken
- Direct Known Subclasses:
AttributeRecoveryToken
represents attribute and its value.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected REDocumentDeclarationholds a reference to the assigned type.private booleanIf this value is false, the "matched" field must always null. -
Constructor Summary
ConstructorsModifierConstructorDescription(package private)AttributeToken(REDocumentDeclaration docDecl) protectedAttributeToken(REDocumentDeclaration docDecl, String namespaceURI, String localName, String qName, StringToken value) protectedAttributeToken(REDocumentDeclaration docDecl, String namespaceURI, String localName, String qName, String value, IDContextProvider2 context) -
Method Summary
Modifier and TypeMethodDescription(package private) final AttributeRecoveryTokencreates a special AttributeToken which matchs any content restrictions.booleanmatch(AttributeExp exp) (package private) voidreinit(String namespaceURI, String localName, String qName, StringToken value) Methods inherited from class Token
isIgnorable, match, match, match, match, matchAnyString
-
Field Details
-
namespaceURI
-
localName
-
qName
-
value
-
docDecl
-
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. -
saturated
private boolean saturatedIf 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.
-
-
Constructor Details
-
AttributeToken
AttributeToken(REDocumentDeclaration docDecl) -
AttributeToken
protected AttributeToken(REDocumentDeclaration docDecl, String namespaceURI, String localName, String qName, String value, IDContextProvider2 context) -
AttributeToken
protected AttributeToken(REDocumentDeclaration docDecl, String namespaceURI, String localName, String qName, StringToken value)
-
-
Method Details