public class FunctionUtilities extends Object
Modifier and Type | Method and Description |
---|---|
static org.pentaho.reporting.libraries.resourceloader.ResourceKey |
createURI(String uri,
DocumentContext layoutProcess) |
static CSSNumericType |
getUnitType(String typeText) |
static CSSResourceValue |
loadResource(DocumentContext process,
Object value) |
static CSSResourceValue |
loadResource(DocumentContext process,
Object value,
Class[] type) |
static CSSNumericValue |
parseNumberValue(String text) |
static CSSNumericValue |
parseNumberValue(String text,
String type) |
static CSSValue |
parseValue(DocumentContext process,
String text) |
static CSSValue |
resolveParameter(DocumentContext layoutProcess,
LayoutElement layoutElement,
CSSValue value) |
static String |
resolveString(DocumentContext layoutProcess,
LayoutElement layoutElement,
CSSValue value) |
public static CSSResourceValue loadResource(DocumentContext process, Object value) throws FunctionEvaluationException
FunctionEvaluationException
public static CSSResourceValue loadResource(DocumentContext process, Object value, Class[] type) throws FunctionEvaluationException
FunctionEvaluationException
public static CSSValue parseValue(DocumentContext process, String text)
public static CSSNumericValue parseNumberValue(String text, String type) throws FunctionEvaluationException
FunctionEvaluationException
public static CSSNumericValue parseNumberValue(String text) throws FunctionEvaluationException
FunctionEvaluationException
public static CSSNumericType getUnitType(String typeText)
public static String resolveString(DocumentContext layoutProcess, LayoutElement layoutElement, CSSValue value) throws FunctionEvaluationException
FunctionEvaluationException
public static CSSValue resolveParameter(DocumentContext layoutProcess, LayoutElement layoutElement, CSSValue value) throws FunctionEvaluationException
FunctionEvaluationException
public static org.pentaho.reporting.libraries.resourceloader.ResourceKey createURI(String uri, DocumentContext layoutProcess)