Class FunctionUtilities
java.lang.Object
org.pentaho.reporting.libraries.css.resolver.function.FunctionUtilities
Creation-Date: 04.07.2006, 14:30:10
- Author:
- Thomas Morgner
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.pentaho.reporting.libraries.resourceloader.ResourceKeycreateURI(String uri, DocumentContext layoutProcess) static CSSNumericTypegetUnitType(String typeText) static CSSResourceValueloadResource(DocumentContext process, Object value) static CSSResourceValueloadResource(DocumentContext process, Object value, Class[] type) static CSSNumericValueparseNumberValue(String text) static CSSNumericValueparseNumberValue(String text, String type) static CSSValueparseValue(DocumentContext process, String text) static CSSValueresolveParameter(DocumentContext layoutProcess, LayoutElement layoutElement, CSSValue value) static StringresolveString(DocumentContext layoutProcess, LayoutElement layoutElement, CSSValue value)
-
Method Details
-
loadResource
public static CSSResourceValue loadResource(DocumentContext process, Object value) throws FunctionEvaluationException - Throws:
FunctionEvaluationException
-
loadResource
public static CSSResourceValue loadResource(DocumentContext process, Object value, Class[] type) throws FunctionEvaluationException - Throws:
FunctionEvaluationException
-
parseValue
-
parseNumberValue
public static CSSNumericValue parseNumberValue(String text, String type) throws FunctionEvaluationException - Throws:
FunctionEvaluationException
-
parseNumberValue
- Throws:
FunctionEvaluationException
-
getUnitType
-
resolveString
public static String resolveString(DocumentContext layoutProcess, LayoutElement layoutElement, CSSValue value) throws FunctionEvaluationException - Throws:
FunctionEvaluationException
-
resolveParameter
public static CSSValue resolveParameter(DocumentContext layoutProcess, LayoutElement layoutElement, CSSValue value) throws FunctionEvaluationException - Throws:
FunctionEvaluationException
-
createURI
public static org.pentaho.reporting.libraries.resourceloader.ResourceKey createURI(String uri, DocumentContext layoutProcess)
-