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
protected  REDocumentDeclaration docDecl
           
 String localName
           
 AttributeExp matchedExp
          holds a reference to the assigned type.
 String namespaceURI
           
 String qName
           
 StringToken value
           
 
Constructor Summary
protected AttributeToken(REDocumentDeclaration docDecl, String namespaceURI, String localName, String qName, String value, IDContextProvider2 context)
           
protected AttributeToken(REDocumentDeclaration docDecl, String namespaceURI, String localName, 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
clone, equals, finalize, 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

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)
Overrides:
match in class Token


MSV