Top Description Constructors Methods
com.sun.msv.verifier.regexp

public abstract Class Token

extends Object
Class Inheritance
Known Direct Subclasses
com.sun.msv.verifier.regexp.AttributeToken, com.sun.msv.verifier.regexp.ElementToken, com.sun.msv.verifier.regexp.StringToken
Imports
com.sun.msv.grammar.AttributeExp, .DataExp, .ElementExp, .ListExp, .ValueExp

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

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv boolean
isIgnorable()

checks if this token is ignorable.

public boolean
match(ElementExp p)

returns true if the given ElementExp can consume this token

public boolean
public boolean
match(DataExp p)

returns true if the given DataExp can consume this token

public boolean
public boolean
match(ListExp p)

returns true if the given ListExp can consume this token

public boolean
matchAnyString()

returns true if anyString pattern can consume this token

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Tokenback to summary
public Token()

Method Detail

isIgnorableback to summary
pack-priv boolean isIgnorable()

checks if this token is ignorable.

matchback to summary
public boolean match(ElementExp p)

returns true if the given ElementExp can consume this token

matchback to summary
public boolean match(AttributeExp p)
matchback to summary
public boolean match(DataExp p)

returns true if the given DataExp can consume this token

matchback to summary
public boolean match(ValueExp p)
matchback to summary
public boolean match(ListExp p)

returns true if the given ListExp can consume this token

matchAnyStringback to summary
public boolean matchAnyString()

returns true if anyString pattern can consume this token