Package com.sun.msv.verifier.regexp
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 REDocumentDeclaration
holds a reference to the assigned type.private boolean
If this value is false, the "matched" field must always null. -
Constructor Summary
ConstructorsModifierConstructorDescription(package private)
AttributeToken
(REDocumentDeclaration docDecl) protected
AttributeToken
(REDocumentDeclaration docDecl, String namespaceURI, String localName, String qName, StringToken value) protected
AttributeToken
(REDocumentDeclaration docDecl, String namespaceURI, String localName, String qName, String value, IDContextProvider2 context) -
Method Summary
Modifier and TypeMethodDescription(package private) final AttributeRecoveryToken
creates a special AttributeToken which matchs any content restrictions.boolean
match
(AttributeExp exp) (package private) void
reinit
(String namespaceURI, String localName, String qName, StringToken value) Methods inherited from class com.sun.msv.verifier.regexp.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