Package com.sun.msv.verifier.regexp
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 Set
TypedStringExps and ListExps that rejected this token are collected into this set. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringToken
createChildStringToken
(String literal, DatatypeRef dtRef) boolean
DataExp can consume this token if its datatype can accept this stringboolean
ListExp can consume this token if its pattern accepts this stringboolean
Methods inherited from class com.sun.msv.verifier.regexp.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:StringToken
DataExp can consume this token if its datatype can accept this string- Overrides:
match
in classStringToken
-
match
- Overrides:
match
in classStringToken
-
match
Description copied from class:StringToken
ListExp can consume this token if its pattern accepts this string- Overrides:
match
in classStringToken
-
createChildStringToken
- Overrides:
createChildStringToken
in classStringToken
-