Package de.xima.fc.annotations
Annotation Type Placeholder
Informational annotation that may be placed on a field to indicate whether the field's value may contain formcycle
 placeholders, such as 
[%tf1%].
 This annotation does not prescribe which actions are to be taken when it is placed on a field. APIs may choose to use this annotation for custom behavior. If they do, they must document how they treat this annotation.
Note that while it is most common for String fields to contain placeholders, this annotation does not
 forbid its usage on fields of other types. APIs should clarify which field types they support.
- Since:
 - 7.0.0
 - Author:
 - XIMA MEDIA GmbH
 
- 
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanClass<? extends IPlaceholderEscaper>booleanbooleanbooleanbooleanbooleanboolean 
- 
Element Details
- 
context
boolean context- Returns:
 trueif the field's value may contain formcycle placeholders of typecontext, orfalseif it never contains such placeholders.
- Default:
 - true
 
 - 
customSyntax
Class<? extends IPlaceholderEscaper> customSyntax- Returns:
 - The syntax of the field's value. The class must have an accessible public no-arg constructor. This takes
     precedence over 
syntax(): If this is set toIPlaceholderEscaper.class, this value is ignored and the syntax given bysyntax()is used. Otherwise, this value is used andsyntax()is ignored. 
- Default:
 - de.xima.fc.interfaces.placeholder.params.IPlaceholderEscaper.class
 
 - 
form
boolean form- Returns:
 trueif the field's value may contain formcycle placeholders of typeform, orfalseif it never contains such placeholders.
- Default:
 - true
 
 - 
i18n
boolean i18n- Returns:
 trueif the field's value may contain formcycle placeholders of typei18n, orfalseif it never contains such placeholders.
- Default:
 - true
 
 - 
session
boolean session- Returns:
 trueif the field's value may contain formcycle placeholders of typesession, orfalseif it never contains such placeholders.
- Default:
 - true
 
 - 
syntax
EPlaceholderEscaper syntax- Returns:
 - The syntax of the field's value. APIs may use this to decide how to insert the evaluated value of a
     placeholder into the field's value. This value is ignored when 
customSyntax()is set to any value other thanIPlaceholderEscaper.class. 
- Default:
 - PLAIN_TEXT
 
 - 
system
boolean system- Returns:
 trueif the field's value may contain formcycle placeholders of typesystem, orfalseif it never contains such placeholders.
- Default:
 - true
 
 - 
template
boolean template- Returns:
 trueif the field's value may contain formcycle placeholders of typetemplate, orfalseif it never contains such placeholders.
- Default:
 - true
 
 - 
value
boolean value- Returns:
 trueif the field's value may contain formcycle placeholders of any type, orfalseotherwise. When set tofalse, the values ofcontext(),form()etc. are ignored.
- Default:
 - true
 
 
 -