org.bibop.xml.xforge.components
Interface XForgeComponentMapper

All Superinterfaces:
XMLProducer
All Known Implementing Classes:
AbstractXForgeComponentMapper

public interface XForgeComponentMapper
extends XMLProducer

Interface that define an x:forge Component Mapper. Implementing a component mapper can be very helpful to map your classes to a single x:forge component. By this way your classes have just to implements their business logic, forgetting about SAX and x:forge; the mapper communicate with the x:forge mapped component , and the component will generate the SAX events. Flow: (x:forge) <-> (x:forge mapped component) <-> (x:forge component mapper) <-> (Your Component)

Version:
1.0
Author:
Alberto Garoffolo

Method Summary
 java.util.Map getParameters()
           
 java.io.Serializable getVariable(java.lang.String name)
           
 void run()
           
 void setMappedComponentClass(java.lang.String className)
           
 void setParameters(java.util.Map parameters)
           
 void setVariablesContext(XForgeContext context)
           
 
Methods inherited from interface org.bibop.xml.XMLProducer
setConsumer, setContentHandler, setLexicalHandler, toSax
 

Method Detail

setMappedComponentClass

public void setMappedComponentClass(java.lang.String className)
                             throws XForgeException
XForgeException

setParameters

public void setParameters(java.util.Map parameters)
                   throws XForgeException
XForgeException

getParameters

public java.util.Map getParameters()
                            throws XForgeException
XForgeException

setVariablesContext

public void setVariablesContext(XForgeContext context)
                         throws XForgeException
XForgeException

getVariable

public java.io.Serializable getVariable(java.lang.String name)
                                 throws XForgeException
XForgeException

run

public void run()
         throws XForgeException
XForgeException


Copyright 2003 Bibop Research International. All Rights Reserved.