Package org.jfree.layouting.layouter.style.functions.content

Examples of org.jfree.layouting.layouter.style.functions.content.ContentFunction


    return function;
  }

  public ContentFunction getContentFunction (final String name)
  {
    final ContentFunction function = (ContentFunction) contentFunctions.get(name.toLowerCase());
    if (function == null)
    {
      DebugLog.log("Unrecognized content function encountered: " + name);
    }
    // todo: Check for null values in all callers ..
View Full Code Here


  private ContentToken evaluateFunction(final CSSFunctionValue function,
                                        final LayoutProcess process,
                                        final LayoutElement element)
  {
    final ContentFunction styleFunction =
        FunctionFactory.getInstance().getContentFunction(function.getFunctionName());
    if (styleFunction == null)
    {
      return null;
    }
    try
    {
      return styleFunction.evaluate(process, element, function);
    }
    catch (FunctionEvaluationException e)
    {
      DebugLog.log("Evaluation failed " + e);
      return null;
View Full Code Here

    return function;
  }

  public ContentFunction getContentFunction (final String name)
  {
    final ContentFunction function = (ContentFunction) contentFunctions.get(name.toLowerCase());
    if (function == null)
    {
      Log.warn ("Unrecognized content function encountered: " + name);
    }
    // todo: Check for null values in all callers ..
View Full Code Here

                                        final LayoutElement element)

  {

    ContentFunction styleFunction =

        FunctionFactory.getInstance().getContentFunction(function.getFunctionName());

    if (styleFunction == null)

    {

      return null;

    }

    try

    {

      return styleFunction.evaluate(process, element, function);

    }

    catch (FunctionEvaluationException e)
View Full Code Here

    return function;
  }

  public ContentFunction getContentFunction (String name)
  {
    final ContentFunction function = (ContentFunction) contentFunctions.get(name.toLowerCase());
    if (function == null)
    {
      Log.warn ("Unrecognized content function encountered: " + name);
    }
    // todo: Check for null values in all callers ..
View Full Code Here

  private ContentToken evaluateFunction(final CSSFunctionValue function,
                                        final LayoutProcess process,
                                        final LayoutElement element)
  {
    final ContentFunction styleFunction =
        FunctionFactory.getInstance().getContentFunction(function.getFunctionName());
    if (styleFunction == null)
    {
      return null;
    }
    try
    {
      return styleFunction.evaluate(process, element, function);
    }
    catch (FunctionEvaluationException e)
    {
      Log.debug("Evaluation failed " + e);
      return null;
View Full Code Here

TOP

Related Classes of org.jfree.layouting.layouter.style.functions.content.ContentFunction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.