summaryrefslogtreecommitdiff
path: root/libjava/org/xml/sax/helpers/ParserAdapter.h
blob: c33317b602829b39ac900c71a7e49ef91dfa6fe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __org_xml_sax_helpers_ParserAdapter__
#define __org_xml_sax_helpers_ParserAdapter__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace org
  {
    namespace xml
    {
      namespace sax
      {
          class AttributeList;
          class ContentHandler;
          class DTDHandler;
          class EntityResolver;
          class ErrorHandler;
          class InputSource;
          class Locator;
          class Parser;
          class SAXParseException;
        namespace helpers
        {
            class AttributesImpl;
            class NamespaceSupport;
            class ParserAdapter;
            class ParserAdapter$AttributeListAdapter;
        }
      }
    }
  }
}

class org::xml::sax::helpers::ParserAdapter : public ::java::lang::Object
{

public:
  ParserAdapter();
  ParserAdapter(::org::xml::sax::Parser *);
private:
  void setup(::org::xml::sax::Parser *);
public:
  virtual void setFeature(::java::lang::String *, jboolean);
  virtual jboolean getFeature(::java::lang::String *);
  virtual void setProperty(::java::lang::String *, ::java::lang::Object *);
  virtual ::java::lang::Object * getProperty(::java::lang::String *);
  virtual void setEntityResolver(::org::xml::sax::EntityResolver *);
  virtual ::org::xml::sax::EntityResolver * getEntityResolver();
  virtual void setDTDHandler(::org::xml::sax::DTDHandler *);
  virtual ::org::xml::sax::DTDHandler * getDTDHandler();
  virtual void setContentHandler(::org::xml::sax::ContentHandler *);
  virtual ::org::xml::sax::ContentHandler * getContentHandler();
  virtual void setErrorHandler(::org::xml::sax::ErrorHandler *);
  virtual ::org::xml::sax::ErrorHandler * getErrorHandler();
  virtual void parse(::java::lang::String *);
  virtual void parse(::org::xml::sax::InputSource *);
  virtual void setDocumentLocator(::org::xml::sax::Locator *);
  virtual void startDocument();
  virtual void endDocument();
  virtual void startElement(::java::lang::String *, ::org::xml::sax::AttributeList *);
  virtual void endElement(::java::lang::String *);
  virtual void characters(JArray< jchar > *, jint, jint);
  virtual void ignorableWhitespace(JArray< jchar > *, jint, jint);
  virtual void processingInstruction(::java::lang::String *, ::java::lang::String *);
private:
  void setupParser();
  JArray< ::java::lang::String * > * processName(::java::lang::String *, jboolean, jboolean);
public: // actually package-private
  virtual void reportError(::java::lang::String *);
private:
  ::org::xml::sax::SAXParseException * makeException(::java::lang::String *);
  void checkNotParsing(::java::lang::String *, ::java::lang::String *);
public: // actually package-private
  static ::org::xml::sax::helpers::AttributesImpl * access$0(::org::xml::sax::helpers::ParserAdapter *);
private:
  static ::java::lang::String * FEATURES;
  static ::java::lang::String * NAMESPACES;
  static ::java::lang::String * NAMESPACE_PREFIXES;
  static ::java::lang::String * XMLNS_URIs;
  ::org::xml::sax::helpers::NamespaceSupport * __attribute__((aligned(__alignof__( ::java::lang::Object)))) nsSupport;
  ::org::xml::sax::helpers::ParserAdapter$AttributeListAdapter * attAdapter;
  jboolean parsing;
  JArray< ::java::lang::String * > * nameParts;
  ::org::xml::sax::Parser * parser;
  ::org::xml::sax::helpers::AttributesImpl * atts;
  jboolean namespaces;
  jboolean prefixes;
  jboolean uris;
public: // actually package-private
  ::org::xml::sax::Locator * locator;
  ::org::xml::sax::EntityResolver * entityResolver;
  ::org::xml::sax::DTDHandler * dtdHandler;
  ::org::xml::sax::ContentHandler * contentHandler;
  ::org::xml::sax::ErrorHandler * errorHandler;
public:
  static ::java::lang::Class class$;
};

#endif // __org_xml_sax_helpers_ParserAdapter__