Class FunctionUtilities
- java.lang.Object
-
- org.pentaho.reporting.libraries.css.resolver.function.FunctionUtilities
-
public class FunctionUtilities extends Object
Creation-Date: 04.07.2006, 14:30:10- Author:
- Thomas Morgner
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
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
public static CSSValue parseValue(DocumentContext process, String text)
-
parseNumberValue
public static CSSNumericValue parseNumberValue(String text, String type) throws FunctionEvaluationException
- Throws:
FunctionEvaluationException
-
parseNumberValue
public static CSSNumericValue parseNumberValue(String text) throws FunctionEvaluationException
- Throws:
FunctionEvaluationException
-
getUnitType
public static CSSNumericType getUnitType(String typeText)
-
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)
-
-