org.bibop.xml.xforge.components
Class XForgeMappedComponent

java.lang.Object
  |
  +--org.bibop.xml.xforge.components.AbstractXForgeComponent
        |
        +--org.bibop.xml.xforge.components.AbstractXForgePoolableComponent
              |
              +--org.bibop.xml.xforge.components.XForgeMappedComponent
All Implemented Interfaces:
org.apache.avalon.framework.component.Component, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.excalibur.pool.Poolable, PrefixesMonitor, XForgeComponent, XMLProducer

public class XForgeMappedComponent
extends AbstractXForgePoolableComponent
implements org.apache.avalon.framework.configuration.Configurable

An x:forge component which uses an XForgeComponentMapper to map a generic class. If you implement your own XForgeComponentMapper, you can map as you want your classes to this component.

Version:
1.0
Author:
Alberto Garoffolo
See Also:
XForgeComponentMapper

Field Summary
protected  java.lang.String componentName
           
(package private)  XForgeComponentMapper mapper
           
 
Fields inherited from class org.bibop.xml.xforge.components.AbstractXForgeComponent
contentHandler, context, lexicalHandler, log, parameters, parentPrefixesMonitor, po
 
Constructor Summary
XForgeMappedComponent()
           
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration conf)
           
 void toSax()
          Creates the SAX events once processing has finished.
 
Methods inherited from class org.bibop.xml.xforge.components.AbstractXForgeComponent
enableLogging, getActivePrefixes, output, output, setConsumer, setContentHandler, setLexicalHandler, setParameters, setParentPrefixesMonitor, setProcessingOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mapper

XForgeComponentMapper mapper

componentName

protected java.lang.String componentName
Constructor Detail

XForgeMappedComponent

public XForgeMappedComponent()
Method Detail

configure

public void configure(org.apache.avalon.framework.configuration.Configuration conf)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable
Overrides:
configure in class AbstractXForgeComponent
org.apache.avalon.framework.configuration.ConfigurationException

toSax

public void toSax()
           throws org.xml.sax.SAXException
Description copied from interface: XMLProducer
Creates the SAX events once processing has finished.

Specified by:
toSax in interface XForgeComponent
Throws:
org.xml.sax.SAXException


Copyright 2003 Bibop Research International. All Rights Reserved.