Class DecimalFormatObjectDescription
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base.AbstractObjectDescription
-
- org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base.BeanObjectDescription
-
- org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base.DecimalFormatObjectDescription
-
- All Implemented Interfaces:
Serializable
,Cloneable
,ObjectDescription
public class DecimalFormatObjectDescription extends BeanObjectDescription
An object-description for aDecimalFormat
object.- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DecimalFormatObjectDescription()
Creates a new object description.DecimalFormatObjectDescription(Class className)
Creates a new object description.DecimalFormatObjectDescription(Class className, boolean init)
Deprecated.should no longer be used...
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
createObject()
Creates an object (DecimalFormat
) based on this description.void
setParameterFromObject(Object o)
Sets the parameters of this description object to match the supplied object.-
Methods inherited from class org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base.BeanObjectDescription
ignoreParameter, isParameterIgnored
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base.AbstractObjectDescription
clone, configure, convertPrimitiveClass, equals, getConfig, getDefinedParameterNames, getInstance, getObjectClass, getParameter, getParameterDefinition, getParameterNames, getUnconfiguredInstance, hashCode, setParameter, setParameterDefinition
-
-
-
-
Constructor Detail
-
DecimalFormatObjectDescription
public DecimalFormatObjectDescription()
Creates a new object description.
-
DecimalFormatObjectDescription
public DecimalFormatObjectDescription(Class className)
Creates a new object description.- Parameters:
className
- the class.
-
DecimalFormatObjectDescription
public DecimalFormatObjectDescription(Class className, boolean init)
Deprecated.should no longer be used...Creates a new object description.- Parameters:
className
- the class.init
- initialise
-
-
Method Detail
-
setParameterFromObject
public void setParameterFromObject(Object o) throws ObjectFactoryException
Sets the parameters of this description object to match the supplied object.- Specified by:
setParameterFromObject
in interfaceObjectDescription
- Overrides:
setParameterFromObject
in classBeanObjectDescription
- Parameters:
o
- the object (should be an instance ofDecimalFormat
).- Throws:
ObjectFactoryException
- if there is a problem while reading the properties of the given object.
-
createObject
public Object createObject()
Creates an object (DecimalFormat
) based on this description.- Specified by:
createObject
in interfaceObjectDescription
- Overrides:
createObject
in classBeanObjectDescription
- Returns:
- The object.
-
-