org.bibop.xml.xforge.components
Class AbstractXForgeComponentMapper
java.lang.Object
|
+--org.bibop.xml.xforge.components.AbstractXForgeComponentMapper
- All Implemented Interfaces:
- XForgeComponentMapper, XMLProducer
- Direct Known Subclasses:
- XForgeReflectionMapper
- public abstract class AbstractXForgeComponentMapper
- extends java.lang.Object
- implements XForgeComponentMapper
This class provides a default implementation for some XForgeComponentMapper' s methods.
- Version:
- 1.0
- Author:
- Alberto Garoffolo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parameters
protected java.util.Map parameters
lexicalHandler
protected org.xml.sax.ext.LexicalHandler lexicalHandler
contentHandler
protected org.xml.sax.ContentHandler contentHandler
context
protected XForgeContext context
AbstractXForgeComponentMapper
public AbstractXForgeComponentMapper()
setConsumer
public void setConsumer(XMLConsumer consumer)
- Set the
XMLConsumer
that will receive XML data.
- Specified by:
setConsumer
in interface XMLProducer
setLexicalHandler
public void setLexicalHandler(org.xml.sax.ext.LexicalHandler lHandler)
- Set the
LexicalHandler
that will receive XML data.
- Specified by:
setLexicalHandler
in interface XMLProducer
setContentHandler
public void setContentHandler(org.xml.sax.ContentHandler cHandler)
- Set the
ContentHandler
that will receive XML data.
- Specified by:
setContentHandler
in interface XMLProducer
setParameters
public void setParameters(java.util.Map parameters)
throws XForgeException
- Specified by:
setParameters
in interface XForgeComponentMapper
XForgeException
getParameters
public java.util.Map getParameters()
throws XForgeException
- Specified by:
getParameters
in interface XForgeComponentMapper
XForgeException
setVariablesContext
public void setVariablesContext(XForgeContext context)
throws XForgeException
- Specified by:
setVariablesContext
in interface XForgeComponentMapper
XForgeException
getVariable
public java.io.Serializable getVariable(java.lang.String name)
throws XForgeException
- Specified by:
getVariable
in interface XForgeComponentMapper
XForgeException
run
public void run()
throws XForgeException
- Specified by:
run
in interface XForgeComponentMapper
XForgeException
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 XMLProducer
- Throws:
org.xml.sax.SAXException
Copyright © 2003 Bibop Research International. All Rights Reserved.