Package de.xima.fc.workflow
Class PlaceholderReference<Location>
- java.lang.Object
-
- de.xima.fc.workflow.PlaceholderReference<Location>
-
- All Implemented Interfaces:
IPlaceholderReference<Location>
public final class PlaceholderReference<Location> extends Object implements IPlaceholderReference<Location>
-
-
Constructor Summary
Constructors Constructor Description PlaceholderReference(Location location, String placeholderPrefix, String placeholderContent, String placeholderSuffix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Location
getLocation()
String
getPlaceholderContent()
String
getPlaceholderPrefix()
String
getPlaceholderSuffix()
-
-
-
Method Detail
-
getLocation
public Location getLocation()
- Specified by:
getLocation
in interfaceIPlaceholderReference<Location>
- Returns:
- A key that uniquely identifies this placeholder within the
IPlaceholderProperty
that contains this placeholder. For example, this could be the zero-based index of the n-th token in a string property.
-
getPlaceholderContent
public String getPlaceholderContent()
- Specified by:
getPlaceholderContent
in interfaceIPlaceholderReference<Location>
- Returns:
- The content of this placeholder without the lexer mode changing tokens, e.g.
tfEmail
ortemplateSuccessullySubmitted
.
-
getPlaceholderPrefix
public String getPlaceholderPrefix()
- Specified by:
getPlaceholderPrefix
in interfaceIPlaceholderReference<Location>
- Returns:
- The prefix of this placeholder that marks its beginning, e.g.
[%
.
-
getPlaceholderSuffix
public String getPlaceholderSuffix()
- Specified by:
getPlaceholderSuffix
in interfaceIPlaceholderReference<Location>
- Returns:
- The suffix of this placeholder that marks its end, e.g.
%]
.
-
-