net.sourceforge.jfacets.impl
Class DefaultFacetFactory

java.lang.Object
  extended by net.sourceforge.jfacets.impl.DefaultFacetFactory
All Implemented Interfaces:
IFacetFactory

public class DefaultFacetFactory
extends Object
implements IFacetFactory

Default facet factory implementation : creates facets using Class.newInstance().

Author:
Remi VANKEISBELCK - rvkb.com (remi 'at' rvkb.com)

Constructor Summary
DefaultFacetFactory()
           
 
Method Summary
 Object createFacet(FacetDescriptor d)
          Creates the facet for passed descriptor using Class.newInstance().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFacetFactory

public DefaultFacetFactory()
Method Detail

createFacet

public Object createFacet(FacetDescriptor d)
Creates the facet for passed descriptor using Class.newInstance(). Return null and logs an ERROR if an error occured while invoking no-args constructor.

Specified by:
createFacet in interface IFacetFactory


Copyright © 2012. All Rights Reserved.