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
ConstructorsConstructorDescriptionPlaceholderReference
(Location location, String placeholderPrefix, String placeholderContent, String placeholderSuffix) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
PlaceholderReference
-
-
Method Details
-
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
- Specified by:
getPlaceholderContent
in interfaceIPlaceholderReference<Location>
- Returns:
- The content of this placeholder without the lexer mode changing tokens, e.g.
tfEmail
ortemplateSuccessullySubmitted
.
-
getPlaceholderPrefix
- Specified by:
getPlaceholderPrefix
in interfaceIPlaceholderReference<Location>
- Returns:
- The prefix of this placeholder that marks its beginning, e.g.
[%
.
-
getPlaceholderSuffix
- Specified by:
getPlaceholderSuffix
in interfaceIPlaceholderReference<Location>
- Returns:
- The suffix of this placeholder that marks its end, e.g.
%]
.
-