Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.sun.msv.verifier.regexp.Token
com.sun.msv.verifier.regexp.StringToken
public class StringToken
extends Token
Field Summary | |
IDContextProvider2 | |
String | |
DatatypeRef |
|
Constructor Summary | |
| |
| |
|
Method Summary | |
boolean | |
boolean | |
boolean | |
boolean |
Methods inherited from class com.sun.msv.verifier.regexp.Token | |
match , match , match , match , match , matchAnyString |
public final String literal
public DatatypeRef refType
if this field is non-null, this field will receive assigned DataType object.
public StringToken(REDocumentDeclaration docDecl, String literal, IDContextProvider2 context)
public StringToken(REDocumentDeclaration docDecl, String literal, IDContextProvider2 context, DatatypeRef refType)
public StringToken(ResidualCalculator resCalc, String literal, IDContextProvider2 context, DatatypeRef refType)
public boolean match(DataExp exp)
DataExp can consume this token if its datatype can accept this string
public boolean match(ListExp exp)
ListExp can consume this token if its pattern accepts this string