Package com.sun.msv.verifier.regexp
Class Token
java.lang.Object
com.sun.msv.verifier.regexp.Token
- Direct Known Subclasses:
AttributeToken
,ElementToken
,StringToken
primitive unit of XML instance.
this object is fed to expression.
- Author:
- Kohsuke KAWAGUCHI
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
returns true if the given DataExp can consume this tokenboolean
match
(ElementExp p) returns true if the given ElementExp can consume this tokenboolean
returns true if the given ListExp can consume this tokenboolean
boolean
returns true if anyString pattern can consume this token
-
Constructor Details
-
Token
public Token()
-
-
Method Details
-
match
returns true if the given ElementExp can consume this token -
match
-
match
returns true if the given DataExp can consume this token -
match
-
match
returns true if the given ListExp can consume this token -
matchAnyString
public boolean matchAnyString()returns true if anyString pattern can consume this token
-