Package org.pentaho.reporting.engine.classic.core.filter.templates

Examples of org.pentaho.reporting.engine.classic.core.filter.templates.ImageURLFieldTemplate


   *
   * @return The object.
   */
  public Object createObject()
  {
    final ImageURLFieldTemplate t = (ImageURLFieldTemplate) super.createObject();
    if (t.getBaseURL() == null)
    {
      final String baseURL = getConfig().getConfigProperty(AbstractXmlResourceFactory.CONTENTBASE_KEY);
      try
      {
        final URL bURL = new URL(baseURL);
        t.setBaseURL(bURL);
      }
      catch (Exception e)
      {
        ImageURLFieldTemplateDescription.logger.warn("Relative URLs may not be resolvable, as the BaseURL is invalid.",
            e);
View Full Code Here


   *
   * @return The object.
   */
  public Object createObject()
  {
    final ImageURLFieldTemplate t = (ImageURLFieldTemplate) super.createObject();
    if (t.getBaseURL() == null)
    {
      final String baseURL = getConfig().getConfigProperty(AbstractXmlResourceFactory.CONTENTBASE_KEY);
      try
      {
        final URL bURL = new URL(baseURL);
        t.setBaseURL(bURL);
      }
      catch (Exception e)
      {
        ImageURLFieldTemplateDescription.logger.warn("Relative URLs may not be resolvable, as the BaseURL is invalid.",
            e);
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.filter.templates.ImageURLFieldTemplate

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.