
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_xml_pipeline_WellFormednessFilter__
#define __gnu_xml_pipeline_WellFormednessFilter__

#pragma interface

#include <gnu/xml/pipeline/EventFilter.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace xml
    {
      namespace pipeline
      {
          class EventConsumer;
          class WellFormednessFilter;
      }
    }
  }
  namespace org
  {
    namespace xml
    {
      namespace sax
      {
          class Attributes;
          class Locator;
          class SAXParseException;
      }
    }
  }
}

class gnu::xml::pipeline::WellFormednessFilter : public ::gnu::xml::pipeline::EventFilter
{

public:
  WellFormednessFilter();
  WellFormednessFilter(::gnu::xml::pipeline::EventConsumer *);
  void reset();
private:
  ::org::xml::sax::SAXParseException * getException(::java::lang::String *);
  void fatalError(::java::lang::String *);
public:
  void setDocumentLocator(::org::xml::sax::Locator *);
  void startDocument();
  void startElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::org::xml::sax::Attributes *);
  void endElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  void endDocument();
  void startDTD(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  void notationDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  void unparsedEntityDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  void endDTD();
  void characters(JArray< jchar > *, jint, jint);
  void ignorableWhitespace(JArray< jchar > *, jint, jint);
  void processingInstruction(::java::lang::String *, ::java::lang::String *);
  void comment(JArray< jchar > *, jint, jint);
  void startCDATA();
  void endCDATA();
private:
  jboolean __attribute__((aligned(__alignof__( ::gnu::xml::pipeline::EventFilter)))) startedDoc;
  ::java::util::Stack * elementStack;
  jboolean startedCDATA;
  ::java::lang::String * dtdState;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_xml_pipeline_WellFormednessFilter__
