OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SAX-ext proposal #5: DefaultHandler2

DefaultHandler infoset extensions

- The standardized extension handlers are not supported by the
  DefaultHandler class.

- That means that applications (or libraries) that need to pass
  that information need to provide/use a class of their own.


    - Define a new org.xml.sax.ext class implementing those two
      interfaces, inheriting from org.xml.sax.helpers.DefaultHandler

 public class DefaultHandler2 extends DefaultHandler
     { ... }

 Example:  gnu.xml.util.DefaultHandler, and similar
 versions used with all versions of AElfred2


    - Is a new implementation class really needed?  Alternative:
      update DefaultHandler.  (Meta-2)