Interface SaxHandler

All Superinterfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler
All Known Implementing Classes:
SaxHandlerImpl

public interface SaxHandler extends ContentHandler, DTDHandler, EntityResolver, ErrorHandler
manages callbacks from SAX2 handler
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Method Details

    • setIgnoreWhite

      void setIgnoreWhite(boolean ignoreWhite)
      Sets whether to ignore ignorable whitespace during parsing.
      Parameters:
      ignoreWhite - true to ignore whitespace, false otherwise
    • hasErrors

      boolean hasErrors()
      Returns true if any errors were encountered during parsing.
      Returns:
      true if errors occurred, false otherwise
    • getErrorVector

      Vector<String> getErrorVector()
      Returns a vector of error messages encountered during parsing.
      Returns:
      a vector of error strings
    • getDebug

      boolean getDebug()
      Returns true if debugging is enabled for the handler.
      Returns:
      the debug status