|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.modules.parser.ext.readhandlers.ElementStyleSheetObjectDescription
public class ElementStyleSheetObjectDescription
Creation-Date: Dec 17, 2006, 2:36:55 PM
Constructor Summary | |
---|---|
ElementStyleSheetObjectDescription()
|
Method Summary | |
---|---|
void |
configure(org.pentaho.reporting.libraries.base.config.Configuration config)
Configures this factory. |
Object |
createObject()
Creates an object based on the description. |
ObjectDescription |
getInstance()
Returns a cloned instance of the object description. |
Class |
getObjectClass()
Returns the object class. |
Object |
getParameter(String name)
Returns the value of a parameter. |
Class |
getParameterDefinition(String name)
Returns a parameter definition. |
Iterator |
getParameterNames()
Returns an iterator the provides access to the parameter names. |
ObjectDescription |
getUnconfiguredInstance()
Returns a cloned instance of the object description. |
void |
init(org.pentaho.reporting.libraries.xmlns.parser.RootXmlReadHandler rootHandler,
ElementStyleSheet styleSheet)
|
void |
setParameter(String name,
Object value)
Sets the value of a parameter. |
void |
setParameterFromObject(Object o)
Sets the parameters of this description object to match the supplied object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base.ObjectDescription |
---|
equals, hashCode |
Constructor Detail |
---|
public ElementStyleSheetObjectDescription()
Method Detail |
---|
public void configure(org.pentaho.reporting.libraries.base.config.Configuration config)
configure
in interface ObjectDescription
config
- the configuration, never nullpublic void init(org.pentaho.reporting.libraries.xmlns.parser.RootXmlReadHandler rootHandler, ElementStyleSheet styleSheet)
public Object createObject()
createObject
in interface ObjectDescription
public ObjectDescription getInstance()
getInstance
in interface ObjectDescription
public Class getObjectClass()
getObjectClass
in interface ObjectDescription
public Object getParameter(String name)
getParameter
in interface ObjectDescription
name
- the parameter name.
public Class getParameterDefinition(String name)
getParameterDefinition
in interface ObjectDescription
name
- the definition name.
public Iterator getParameterNames()
getParameterNames
in interface ObjectDescription
public ObjectDescription getUnconfiguredInstance()
getUnconfiguredInstance
in interface ObjectDescription
public void setParameter(String name, Object value)
setParameter
in interface ObjectDescription
name
- the parameter name.value
- the parameter value.public void setParameterFromObject(Object o) throws ObjectFactoryException
setParameterFromObject
in interface ObjectDescription
o
- the object.
ObjectFactoryException
- if there is a problem while reading the properties of the given object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |