Package com.sun.msv.verifier.regexp
Class Token
- java.lang.Object
-
- com.sun.msv.verifier.regexp.Token
-
- Direct Known Subclasses:
AttributeToken
,ElementToken
,StringToken
public abstract class Token extends java.lang.Object
primitive unit of XML instance. this object is fed to expression.
-
-
Constructor Summary
Constructors Constructor Description Token()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
isIgnorable()
checks if this token is ignorable.boolean
match(AttributeExp p)
boolean
match(DataExp p)
returns true if the given DataExp can consume this tokenboolean
match(ElementExp p)
returns true if the given ElementExp can consume this tokenboolean
match(ListExp p)
returns true if the given ListExp can consume this tokenboolean
match(ValueExp p)
boolean
matchAnyString()
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
-
isIgnorable
boolean isIgnorable()
checks if this token is ignorable.
-
-