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

#ifndef __gnu_xml_validation_relaxng_GrammarValidator__
#define __gnu_xml_validation_relaxng_GrammarValidator__

#pragma interface

#include <javax/xml/validation/Validator.h>
extern "Java"
{
  namespace gnu
  {
    namespace xml
    {
      namespace validation
      {
        namespace relaxng
        {
            class Grammar;
            class GrammarValidator;
        }
      }
    }
  }
  namespace javax
  {
    namespace xml
    {
      namespace transform
      {
          class Result;
          class Source;
      }
    }
  }
  namespace org
  {
    namespace w3c
    {
      namespace dom
      {
        namespace ls
        {
            class LSResourceResolver;
        }
      }
    }
    namespace xml
    {
      namespace sax
      {
          class ErrorHandler;
      }
    }
  }
}

class gnu::xml::validation::relaxng::GrammarValidator : public ::javax::xml::validation::Validator
{

public: // actually package-private
  GrammarValidator(::gnu::xml::validation::relaxng::Grammar *);
public:
  virtual ::org::xml::sax::ErrorHandler * getErrorHandler();
  virtual void setErrorHandler(::org::xml::sax::ErrorHandler *);
  virtual ::org::w3c::dom::ls::LSResourceResolver * getResourceResolver();
  virtual void setResourceResolver(::org::w3c::dom::ls::LSResourceResolver *);
  virtual void reset();
  virtual void validate(::javax::xml::transform::Source *, ::javax::xml::transform::Result *);
public: // actually package-private
  ::gnu::xml::validation::relaxng::Grammar * __attribute__((aligned(__alignof__( ::javax::xml::validation::Validator)))) grammar;
  ::org::xml::sax::ErrorHandler * errorHandler;
  ::org::w3c::dom::ls::LSResourceResolver * resourceResolver;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_xml_validation_relaxng_GrammarValidator__
