Package de.neuland.pug4j.compiler
Class Utils
- java.lang.Object
-
- de.neuland.pug4j.compiler.Utils
-
public class Utils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static PatterninterpolationPattern
-
Constructor Summary
Constructors Constructor Description Utils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stringinterpolate(String string, PugModel model, boolean escape, ExpressionHandler expressionHandler)static Stringinterpolate(List<Object> prepared, PugModel model, ExpressionHandler expressionHandler)static List<Object>prepareInterpolate(String string, boolean xmlEscape)
-
-
-
Field Detail
-
interpolationPattern
public static Pattern interpolationPattern
-
-
Method Detail
-
interpolate
public static String interpolate(List<Object> prepared, PugModel model, ExpressionHandler expressionHandler) throws ExpressionException
- Throws:
ExpressionException
-
interpolate
public static String interpolate(String string, PugModel model, boolean escape, ExpressionHandler expressionHandler) throws ExpressionException
- Throws:
ExpressionException
-
-