Package com.fizzed.rocker.model
Class ValueExpression
- java.lang.Object
-
- com.fizzed.rocker.model.TemplateUnit
-
- com.fizzed.rocker.model.ValueExpression
-
- All Implemented Interfaces:
NullSafety
- Direct Known Subclasses:
EvalExpression
public class ValueExpression extends TemplateUnit implements NullSafety
Model for @value or @?value
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringexpressionprivate booleannullSafe
-
Constructor Summary
Constructors Constructor Description ValueExpression(SourceRef sourceRef, java.lang.String expression, boolean nullSafe)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetExpression()booleanisNullSafe()-
Methods inherited from class com.fizzed.rocker.model.TemplateUnit
getSourceRef, isBlockLevel, supportsSourceJournaling
-
-
-
-
Constructor Detail
-
ValueExpression
public ValueExpression(SourceRef sourceRef, java.lang.String expression, boolean nullSafe)
-
-
Method Detail
-
getExpression
public java.lang.String getExpression()
-
isNullSafe
public boolean isNullSafe()
- Specified by:
isNullSafein interfaceNullSafety
-
-