|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.taco.text.MatchResult
com.taco.text.InterpolatedValueMatchResult
public class InterpolatedValueMatchResult
A data structure used to hold the information about an interpolated value
found in a CharSequence
.
Field Summary | |
---|---|
java.lang.String |
argMapFallbackString
A string to convert in case the argument map did not contain the desired key. |
java.lang.String |
argMapKey
The name of the argument map key that this value references. |
java.lang.String |
assignedGlobalName
The name of the global variable the string literal is to be assigned to. |
java.lang.String |
bundleKey
The name of the resource bundle key that this value references. |
java.lang.String |
fromMapValueConverterString
The string that represents the converter from the argument map value to the value actually used. |
java.lang.String |
literal
The string literal used to represent the value. |
boolean |
readArgMap
True if the value from the argument map should be used for a value. |
java.lang.String |
referencedGlobalName
The name of the global variable this value references. |
java.lang.String |
toMapValueConverterString
The string that represents the converter from the value actually used to the argument map value. |
boolean |
updateArgMap
True if the argument map key should be observed so that later changes to the associated value cause an update in the converted object. |
boolean |
writeArgMap
True if changes to a property of a composite object should be reflected in the argument map. |
Fields inherited from class com.taco.text.MatchResult |
---|
endIndex, s, startIndex |
Constructor Summary | |
---|---|
InterpolatedValueMatchResult()
|
Method Summary | |
---|---|
boolean |
removeBraces(char braceChar)
If this instance represents a literal, try to remove the opening and closing braces from it, and adjust literal and
s accordingly. |
void |
reset()
Reset all fields to their default state. |
java.lang.String |
toString()
|
Methods inherited from class com.taco.text.MatchResult |
---|
clone |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.String bundleKey
null
.
public java.lang.String argMapKey
null
.
public java.lang.String fromMapValueConverterString
null
.
public java.lang.String toMapValueConverterString
null
.
public boolean readArgMap
true
.
public boolean updateArgMap
true
.
public boolean writeArgMap
false
.
public java.lang.String argMapFallbackString
null
.
public java.lang.String referencedGlobalName
null
.
public java.lang.String assignedGlobalName
null
.
public java.lang.String literal
null
.
Constructor Detail |
---|
public InterpolatedValueMatchResult()
Method Detail |
---|
public java.lang.String toString()
toString
in class MatchResult
public void reset()
reset
in class MatchResult
public boolean removeBraces(char braceChar)
literal
and
s
accordingly. Return true if successful. If this instance
represents a variable reference, or braces do not appear in the
literal, return false.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |