|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyExpander
Responsible for locating a property reference inside a String.
Method Summary | |
---|---|
java.lang.String |
parsePropertyName(java.lang.String s,
java.text.ParsePosition pos,
ParseNextProperty parseNextProperty)
Determine whether there is a property reference at the current ParsePosition and return its name (or null if there is none). |
Method Detail |
---|
java.lang.String parsePropertyName(java.lang.String s, java.text.ParsePosition pos, ParseNextProperty parseNextProperty)
Implementations should advance the ParsePosition to the last
character that makes up the property reference. E.g. the
default implementation would return "foo"
for
${foo}
and advance the ParsePosition to the
}
character.
s
- the String to parse.pos
- the ParsePosition in use, the location is expected
to be modified if a property reference has been found (and may
even be modified if no reference has been found).parseNextProperty
- provides access to the Project and may
be used to look up property values.
null
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |