Class SafeString
- java.lang.Object
-
- io.pebbletemplates.pebble.extension.escaper.SafeString
-
public class SafeString extends java.lang.ObjectWrap a string in this to mark the string as safe to ignore by the Escape extension.Warning: The EscaperExtension will never escape a string that is wrapped with this class.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringcontent
-
Constructor Summary
Constructors Constructor Description SafeString(java.lang.String content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString()
-