Package com.sun.msv.verifier.regexp
Class AttributeToken
- java.lang.Object
-
- com.sun.msv.verifier.regexp.Token
-
- com.sun.msv.verifier.regexp.AttributeToken
-
public class AttributeToken extends Token
represents attribute and its value.- Author:
- Kohsuke KAWAGUCHI
-
-
Field Summary
Fields Modifier and Type Field Description protected REDocumentDeclarationdocDeclStringlocalNameAttributeExpmatchedExpholds a reference to the assigned type.StringnamespaceURIStringqNameStringTokenvalue
-
Constructor Summary
Constructors Modifier Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatch(AttributeExp exp)
-
-
-
Field Detail
-
namespaceURI
public String namespaceURI
-
localName
public String localName
-
qName
public String qName
-
value
public StringToken value
-
docDecl
protected REDocumentDeclaration docDecl
-
matchedExp
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.
-
-
Constructor Detail
-
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 Detail
-
match
public boolean match(AttributeExp exp)
-
-