org.kabeja.xml
Class AbstractSAXGenerator
java.lang.Object
org.kabeja.processing.AbstractConfigurable
org.kabeja.xml.AbstractSAXGenerator
- All Implemented Interfaces:
- Configurable, SAXGenerator
public abstract class AbstractSAXGenerator
- extends AbstractConfigurable
- implements SAXGenerator
Method Summary |
protected abstract void |
generate()
This method has to be overwritten by any subclass. |
void |
generate(DXFDocument doc,
org.xml.sax.ContentHandler handler,
java.util.Map context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
doc
protected DXFDocument doc
handler
protected org.xml.sax.ContentHandler handler
context
protected java.util.Map context
AbstractSAXGenerator
public AbstractSAXGenerator()
generate
public void generate(DXFDocument doc,
org.xml.sax.ContentHandler handler,
java.util.Map context)
throws org.xml.sax.SAXException
- Specified by:
generate
in interface SAXGenerator
- Throws:
org.xml.sax.SAXException
generate
protected abstract void generate()
throws org.xml.sax.SAXException
- This method has to be overwritten by any subclass. At this point the
XMLGenerator is setup (properties, ContentHandler and DXFDocument) and
should emit the XML content to the ContentHandler.
- Throws:
org.xml.sax.SAXException