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 REDocumentDeclaration
docDecl
String
localName
AttributeExp
matchedExp
holds a reference to the assigned type.String
namespaceURI
String
qName
StringToken
value
-
Constructor Summary
Constructors Modifier Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
match(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)
-
-