com.sun.msv.verifier.regexp
public class StringToken extends Token
| Field Summary | |
|---|---|
| IDContextProvider2 | context |
| String | literal |
| DatatypeRef | refType
if this field is non-null,
this field will receive assigned DataType object. |
| Constructor Summary | |
|---|---|
| StringToken(REDocumentDeclaration docDecl, String literal, IDContextProvider2 context) | |
| StringToken(REDocumentDeclaration docDecl, String literal, IDContextProvider2 context, DatatypeRef refType) | |
| StringToken(ResidualCalculator resCalc, String literal, IDContextProvider2 context, DatatypeRef refType) | |
| Method Summary | |
|---|---|
| boolean | match(DataExp exp) DataExp can consume this token if its datatype can accept this string |
| boolean | match(ValueExp exp) |
| boolean | match(ListExp exp) ListExp can consume this token if its pattern accepts this string |
| boolean | matchAnyString() |