|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pentaho.reporting.libraries.xmlns.parser.AbstractReadHandlerFactory
public abstract class AbstractReadHandlerFactory
The AbstractReadHandlerFactory provides a base implementation for all read-handler factories. A read-handler factory decouples the tag-handlers of a SAX parser and allows to configure alternate parser configuations at runtime, resulting in a more flexible parsing process.
| Constructor Summary | |
|---|---|
protected |
AbstractReadHandlerFactory()
A default-constructor. |
| Method Summary | |
|---|---|
void |
configure(org.pentaho.reporting.libraries.base.config.Configuration conf,
java.lang.String prefix)
Configures this factory from the given configuration using the speoified prefix as filter. |
XmlReadHandler |
getHandler(java.lang.String namespace,
java.lang.String tagname)
The returned handler can be null, in case no handler is registered. |
protected abstract java.lang.Class |
getTargetClass()
Returns the implementation class for this read-handler factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractReadHandlerFactory()
| Method Detail |
|---|
public void configure(org.pentaho.reporting.libraries.base.config.Configuration conf,
java.lang.String prefix)
conf - the configuration.prefix - the key-prefix.protected abstract java.lang.Class getTargetClass()
public XmlReadHandler getHandler(java.lang.String namespace,
java.lang.String tagname)
namespace - the namespace of the xml-tag for which a handler should be returned.tagname - the tagname of the xml-tag.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||