Class AccumulationXMLFilter

  • All Implemented Interfaces:
    ContentHandler, DTDHandler, EntityResolver, ErrorHandler, LexicalHandler, XMLFilter, XMLReader

    public class AccumulationXMLFilter
    extends DefaultXMLFilter
    SAX parsers are allowed to call the characters() method several times in a row. Some parsers have a buffer of 8K (Crimson), others of 16K (Xerces) and others can even call onCharacters() for every single characters! Thus we need to accumulate the characters in a buffer before we process them. This filter does exactly this.
    Since:
    4.0M1
    Version:
    $Id: d83fd2e3d7cfa9895dfda6a6365ac76fcaf2e957 $