public class PagesDialectUtil extends Object
| Constructor and Description |
|---|
PagesDialectUtil() |
| Modifier and Type | Method and Description |
|---|---|
static List |
convertToList(Object iterable)
Converts and iterable object to a List.
|
static org.thymeleaf.dom.Element |
getContainerElement(org.thymeleaf.dom.Element element)
Return the container element for some elements.
|
static Object |
getProperty(Object obj,
String propertyPath)
Return a property from an object via reflection.
|
static String |
getStandardDialectPrefix(org.thymeleaf.Arguments arguments)
Look up StandardDialect prefix, usually "th".
|
static String |
now()
Return current date in format yyyy_MM_dd.
|
static String |
simplifyString(String str)
Simplifies a String removing all non alphanumeric data and replacing spaces by underscores.
|
public static String getStandardDialectPrefix(org.thymeleaf.Arguments arguments)
public static org.thymeleaf.dom.Element getContainerElement(org.thymeleaf.dom.Element element)
public static Object getProperty(Object obj, String propertyPath)
propertyPath - using dot notation, as in, "product.category.name".public static List convertToList(Object iterable)
iterable - object of type List, Collection or array.public static String now()
Copyright © 2012. All Rights Reserved.