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