|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.stylebook.ComponentFactory
public class ComponentFactory
Method Summary | |
---|---|
static Component |
getComponent(String classname)
Create a new Component instance. |
static Parser |
getParser(String classname)
Create a new Parser instance. |
static Printer |
getPrinter(String classname)
Create a new Printer instance. |
static Processor |
getProcessor(String classname)
Create a new Processor instance. |
static Producer |
getProducer(String classname)
Create a new Producer instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Component getComponent(String classname) throws InitializationException
classname
- The name of the Component class.
InitializationException
- If the Component instance cannot be
created.public static Parser getParser(String classname) throws InitializationException
classname
- The name of the Parser class.
InitializationException
- If the Parser instance cannot be
created.public static Producer getProducer(String classname) throws InitializationException
classname
- The name of the Producer class.
InitializationException
- If the Producer instance cannot be
created.public static Processor getProcessor(String classname) throws InitializationException
classname
- The name of the Processor class.
InitializationException
- If the Processor instance cannot be
created.public static Printer getPrinter(String classname) throws InitializationException
classname
- The name of the Printer class.
InitializationException
- If the Printer instance cannot be
created.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |