Package org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base

Examples of org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base.ObjectFactoryException


      throws ObjectFactoryException
  {
    final Integer i = (Integer) getParameter(name);
    if (i == null)
    {
      throw new ObjectFactoryException("Parameter " + name + " is not set");
    }
    return i.intValue();
  }
View Full Code Here


  public void setParameterFromObject(final Object o)
      throws ObjectFactoryException
  {
    if ((o instanceof FontDefinition) == false)
    {
      throw new ObjectFactoryException("The given object is no FontDefinition.");
    }

    final FontDefinition fdef = (FontDefinition) o;
    setParameter(FontDefinitionObjectDescription.FONT_ENCODING, fdef.getFontEncoding(null));
    setParameter(FontDefinitionObjectDescription.FONT_NAME, fdef.getFontName());
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base.ObjectFactoryException

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.