Class StringRecoveryToken
java.lang.Object
com.sun.msv.verifier.regexp.Token
com.sun.msv.verifier.regexp.StringToken
com.sun.msv.verifier.regexp.StringRecoveryToken
special StringToken that acts as a wild card.
This object is used for error recovery. It collects all TypedStringExps
that ate the token.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final SetTypedStringExps and ListExps that rejected this token are collected into this set. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringTokencreateChildStringToken(String literal, DatatypeRef dtRef) booleanDataExp can consume this token if its datatype can accept this stringbooleanListExp can consume this token if its pattern accepts this stringbooleanMethods inherited from class StringToken
isIgnorable, matchAnyString
-
Field Details
-
failedExps
TypedStringExps and ListExps that rejected this token are collected into this set.
-
-
Constructor Details
-
StringRecoveryToken
StringRecoveryToken(StringToken base) -
StringRecoveryToken
StringRecoveryToken(StringToken base, Set failedExps)
-
-
Method Details
-
match
Description copied from class:StringTokenDataExp can consume this token if its datatype can accept this string- Overrides:
matchin classStringToken
-
match
- Overrides:
matchin classStringToken
-
match
Description copied from class:StringTokenListExp can consume this token if its pattern accepts this string- Overrides:
matchin classStringToken
-
createChildStringToken
- Overrides:
createChildStringTokenin classStringToken
-