org.kabeja.xml
Class AggregatorGenerator

java.lang.Object
  extended by org.xml.sax.helpers.XMLFilterImpl
      extended by org.kabeja.xml.AbstractSAXFilter
          extended by org.kabeja.xml.AggregatorGenerator
All Implemented Interfaces:
Configurable, SAXFilter, SAXGenerator, org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler, org.xml.sax.XMLFilter, org.xml.sax.XMLReader

public class AggregatorGenerator
extends AbstractSAXFilter
implements SAXGenerator


Field Summary
protected  DXFDocument doc
           
protected  java.util.List generators
           
static java.lang.String NAMESPACE
           
static java.lang.String ROOT_ELEMENT
           
 
Fields inherited from class org.kabeja.xml.AbstractSAXFilter
properties
 
Constructor Summary
AggregatorGenerator()
           
 
Method Summary
 void addSAXGenerator(SAXGenerator generator)
           
protected  void doGenerate()
           
 void endDocument()
           
 void generate(DXFDocument doc, org.xml.sax.ContentHandler handler, java.util.Map context)
           
 java.util.Map getProperties()
          Get the configuration Properties of the component.
 void startDocument()
           
 
Methods inherited from class org.kabeja.xml.AbstractSAXFilter
setProperties
 
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl
characters, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startElement, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kabeja.processing.Configurable
setProperties
 
Methods inherited from interface org.kabeja.xml.SAXFilter
setContentHandler
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startElement, startPrefixMapping
 

Field Detail

ROOT_ELEMENT

public static final java.lang.String ROOT_ELEMENT
See Also:
Constant Field Values

NAMESPACE

public static final java.lang.String NAMESPACE
See Also:
Constant Field Values

generators

protected java.util.List generators

doc

protected DXFDocument doc
Constructor Detail

AggregatorGenerator

public AggregatorGenerator()
Method Detail

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

doGenerate

protected void doGenerate()
                   throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

endDocument

public void endDocument()
                 throws org.xml.sax.SAXException
Specified by:
endDocument in interface org.xml.sax.ContentHandler
Overrides:
endDocument in class org.xml.sax.helpers.XMLFilterImpl
Throws:
org.xml.sax.SAXException

startDocument

public void startDocument()
                   throws org.xml.sax.SAXException
Specified by:
startDocument in interface org.xml.sax.ContentHandler
Overrides:
startDocument in class org.xml.sax.helpers.XMLFilterImpl
Throws:
org.xml.sax.SAXException

addSAXGenerator

public void addSAXGenerator(SAXGenerator generator)

getProperties

public java.util.Map getProperties()
Description copied from interface: Configurable
Get the configuration Properties of the component.

Specified by:
getProperties in interface Configurable
Overrides:
getProperties in class AbstractSAXFilter
Returns: