com.jrefinery.report.io.ext.factory.templates
Class AbstractTemplateDescription
java.lang.Object
org.jfree.xml.factory.objects.AbstractObjectDescription
org.jfree.xml.factory.objects.BeanObjectDescription
com.jrefinery.report.io.ext.factory.templates.AbstractTemplateDescription
- All Implemented Interfaces:
- java.lang.Cloneable, org.jfree.xml.factory.objects.ObjectDescription, TemplateDescription
- Direct Known Subclasses:
- DateFieldTemplateDescription, ImageFieldTemplateDescription, ImageURLElementTemplateDescription, ImageURLFieldTemplateDescription, LabelTemplateDescription, NumberFieldTemplateDescription, ResourceFieldTemplateDescription, ResourceLabelTemplateDescription, ShapeFieldTemplateDescription, StringFieldTemplateDescription
- public abstract class AbstractTemplateDescription
- extends org.jfree.xml.factory.objects.BeanObjectDescription
- implements TemplateDescription
An abstract class for implementing the TemplateDescription interface.
- Author:
- Thomas Morgner
|
Constructor Summary |
AbstractTemplateDescription(java.lang.String name,
java.lang.Class template,
boolean init)
Creates a new description. |
| Methods inherited from class org.jfree.xml.factory.objects.BeanObjectDescription |
createObject, setParameterFromObject |
| Methods inherited from class org.jfree.xml.factory.objects.AbstractObjectDescription |
configure, convertPrimitiveClass, getConfig, getDefinedParameterNames, getInstance, getObjectClass, getParameter, getParameterDefinition, getParameterNames, setParameter, setParameterDefinition |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jfree.xml.factory.objects.ObjectDescription |
configure, createObject, getInstance, getObjectClass, getParameter, getParameterDefinition, getParameterNames, setParameter, setParameterFromObject |
AbstractTemplateDescription
public AbstractTemplateDescription(java.lang.String name,
java.lang.Class template,
boolean init)
- Creates a new description.
- Parameters:
name - the name.template - the template class.init - initialise?
getName
public java.lang.String getName()
- Returns the name.
- Specified by:
getName in interface TemplateDescription
- Returns:
- The name.
setName
public void setName(java.lang.String name)
- Sets the name.
- Specified by:
setName in interface TemplateDescription
- Parameters:
name - the name (null not allowed).
createTemplate
public Template createTemplate()
- Creates a template.
- Specified by:
createTemplate in interface TemplateDescription
- Returns:
- The template.