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.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)
-
-
-
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)
-
-