|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use InterpolatedValueMatchResult | |
---|---|
com.taco.text | Provides converters to and from text, and other text processing and formatting capabilities. |
Uses of InterpolatedValueMatchResult in com.taco.text |
---|
Methods in com.taco.text that return InterpolatedValueMatchResult | |
---|---|
protected InterpolatedValueMatchResult |
BracedPropertyCompositeConverter._extractPropertyValue(java.lang.String propertyName,
java.lang.CharSequence cs)
Given a character sequence beginning with the string representation of a property value for the argument property name, return a new instance of InterpolatedValueMatchResult whose
s field is the portion of the character sequence that
represents the property value, and whose endIndex field is
set to the index just after the property value representation. |
static InterpolatedValueMatchResult |
StringConverterUtilities.nextValue(java.lang.CharSequence cs,
int startIndex)
Parse the sequence starting at the argument index, looking for the default end pattern to terminate the subsequence used for the value. |
static InterpolatedValueMatchResult |
StringConverterUtilities.nextValue(java.lang.CharSequence cs,
int startIndex,
java.util.regex.Pattern endPattern)
Given a character sequence that starting from startIndex , contains a subsequence specifying a (possibly
interpolated) value, return a new instance of
InterpolatedValueMatchResult . |
static InterpolatedValueMatchResult |
StringConverterUtilities.valueForSequence(java.lang.CharSequence cs)
Parse the entire sequence to get a single interpolated value. |
Methods in com.taco.text with parameters of type InterpolatedValueMatchResult | |
---|---|
protected java.lang.Object |
InterpolatingConverter._argMapReferenceToObject(InterpolatedValueMatchResult result,
java.util.ResourceBundle bundle,
INoReturnMap argMap,
KeyLookupRecord context)
Convert a result which is a reference to a value in the argument map to an object. |
protected java.lang.Object |
InterpolatingConverter._literalResultToObject(InterpolatedValueMatchResult result,
java.util.ResourceBundle bundle,
INoReturnMap argMap,
KeyLookupRecord context)
Convert a result which is a literal to an object. |
protected static int |
StringConverterUtilities._parseArgumentMapSuffix(java.lang.CharSequence cs,
int prefixEndOffset,
InterpolatedValueMatchResult result)
Given a character sequence that begins with a reference to an argument map key, the location of the end of the reference, and an instance of InterpolatedValueMatchResult which has its
startIndex field set to the index in the original
character sequence at which cs starts, set the
fromMapValueConverterString ,
toMapValueConverterString fields of result . |
protected static int |
StringConverterUtilities._parseLiteral(java.lang.CharSequence cs,
java.util.regex.Pattern endPattern,
InterpolatedValueMatchResult result)
Given that cs begins with a string literal, parse it an
fill in the appropriate fields of result . |
java.lang.Object |
InterpolatingConverter.toObject(InterpolatedValueMatchResult result,
java.util.ResourceBundle bundle,
INoReturnMap argMap,
KeyLookupRecord context)
Given a result that has just been parsed from a literal, return the object meant by the result. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |