|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.xmlmind.fo.graphic.GraphicFactoryBase
public abstract class GraphicFactoryBase
An abstract base class for GraphicFactories which does not support any parameter.
| Field Summary | |
|---|---|
protected String |
factoryName
|
| Constructor Summary | |
|---|---|
protected |
GraphicFactoryBase(String name)
Constructs factory having specified name. |
| Method Summary | |
|---|---|
String |
getName()
Returns the name of this factory. |
String |
getParameter(String name)
Returns the value of the parameter having specified name. |
void |
setParameter(String name,
String value)
Sets parameter having specified name and specified value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.xmlmind.fo.graphic.GraphicFactory |
|---|
convertGraphic, createGraphic, getInputFormats, getOutputFormats |
| Field Detail |
|---|
protected final String factoryName
| Constructor Detail |
|---|
protected GraphicFactoryBase(String name)
| Method Detail |
|---|
public String getName()
GraphicFactory
getName in interface GraphicFactory
public void setParameter(String name,
String value)
Does not support any parameter and hence throws
an IllegalArgumentException.
setParameter in interface GraphicFactoryname - name of the parametervalue - value of the parameter.
Specify null to restore the default value of parameter
nameGraphicFactory.getParameter(java.lang.String)public String getParameter(String name)
null if the parameter is unknown.
Does not support any parameter and hence returns null.
getParameter in interface GraphicFactoryname - name of the parameterGraphicFactory.setParameter(java.lang.String, java.lang.String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||