com.sun.msv.verifier.regexp

Class Token

public abstract class Token extends Object

primitive unit of XML instance. this object is fed to expression.

Author: Kohsuke KAWAGUCHI

Method Summary
booleanmatch(ElementExp p)
returns true if the given ElementExp can consume this token
booleanmatch(AttributeExp p)
booleanmatch(DataExp p)
returns true if the given DataExp can consume this token
booleanmatch(ValueExp p)
booleanmatch(ListExp p)
returns true if the given ListExp can consume this token
booleanmatchAnyString()
returns true if anyString pattern can consume this token

Method Detail

match

public boolean match(ElementExp p)
returns true if the given ElementExp can consume this token

match

public boolean match(AttributeExp p)

match

public boolean match(DataExp p)
returns true if the given DataExp can consume this token

match

public boolean match(ValueExp p)

match

public boolean match(ListExp p)
returns true if the given ListExp can consume this token

matchAnyString

public boolean matchAnyString()
returns true if anyString pattern can consume this token