com.sun.msv.verifier.regexp
Class AttributeToken

java.lang.Object
  extended by com.sun.msv.verifier.regexp.Token
      extended by com.sun.msv.verifier.regexp.AttributeToken

public class AttributeToken
extends Token

represents attribute and its value.

Author:
Kohsuke KAWAGUCHI

Field Summary
 String localName
           
 AttributeExp matchedExp
          holds a reference to the assigned type.
 String namespaceURI
           
 String qName
           
 StringToken value
           
 
Method Summary
 boolean match(AttributeExp exp)
           
 
Methods inherited from class com.sun.msv.verifier.regexp.Token
match, match, match, match, matchAnyString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

namespaceURI

public String namespaceURI

localName

public String localName

qName

public String qName

value

public StringToken value

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.

Method Detail

match

public boolean match(AttributeExp exp)
Overrides:
match in class Token