summaryrefslogtreecommitdiff
path: root/libjava/gnu/xml/dom/ls/DomLSParser.h
blob: dd38f2b1fd0fb75c140a2d78b60df2b13a3c0992 (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
107
108
109
110
111
112
113
114
115
116
117
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_xml_dom_ls_DomLSParser__
#define __gnu_xml_dom_ls_DomLSParser__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace gnu
  {
    namespace xml
    {
      namespace dom
      {
        namespace ls
        {
            class DomLSParser;
            class SAXEventSink;
        }
      }
    }
  }
  namespace javax
  {
    namespace xml
    {
      namespace parsers
      {
          class SAXParserFactory;
      }
    }
  }
  namespace org
  {
    namespace w3c
    {
      namespace dom
      {
          class DOMConfiguration;
          class DOMStringList;
          class Document;
          class Node;
        namespace ls
        {
            class LSInput;
            class LSParserFilter;
        }
      }
    }
    namespace xml
    {
      namespace sax
      {
          class EntityResolver;
          class ErrorHandler;
          class InputSource;
          class SAXParseException;
          class XMLReader;
      }
    }
  }
}

class gnu::xml::dom::ls::DomLSParser : public ::java::lang::Object
{

public:
  DomLSParser(jshort, ::java::lang::String *);
  virtual ::org::w3c::dom::DOMConfiguration * getDomConfig();
  virtual ::org::w3c::dom::ls::LSParserFilter * getFilter();
  virtual void setFilter(::org::w3c::dom::ls::LSParserFilter *);
  virtual jboolean getAsync();
  virtual jboolean getBusy();
  virtual ::org::w3c::dom::Document * parse(::org::w3c::dom::ls::LSInput *);
  virtual ::org::w3c::dom::Document * parseURI(::java::lang::String *);
  virtual ::org::w3c::dom::Node * parseWithContext(::org::w3c::dom::ls::LSInput *, ::org::w3c::dom::Node *, jshort);
  virtual void abort();
private:
  ::org::w3c::dom::Document * doParse(::org::w3c::dom::ls::LSInput *);
  ::org::xml::sax::XMLReader * getXMLReader();
  ::org::xml::sax::InputSource * getInputSource(::org::w3c::dom::ls::LSInput *);
public:
  virtual void setParameter(::java::lang::String *, ::java::lang::Object *);
  virtual ::java::lang::Object * getParameter(::java::lang::String *);
  virtual jboolean canSetParameter(::java::lang::String *, ::java::lang::Object *);
  virtual ::org::w3c::dom::DOMStringList * getParameterNames();
  virtual ::java::lang::String * item(jint);
  virtual jint getLength();
  virtual jboolean contains(::java::lang::String *);
  virtual void warning(::org::xml::sax::SAXParseException *);
  virtual void error(::org::xml::sax::SAXParseException *);
  virtual void fatalError(::org::xml::sax::SAXParseException *);
private:
  static ::java::util::List * SUPPORTED_PARAMETERS;
  ::org::w3c::dom::ls::LSParserFilter * __attribute__((aligned(__alignof__( ::java::lang::Object)))) filter;
  jboolean async;
  ::java::lang::String * schemaType;
  ::gnu::xml::dom::ls::SAXEventSink * eventSink;
  ::javax::xml::parsers::SAXParserFactory * factory;
  ::org::xml::sax::XMLReader * reader;
  jboolean namespaceAware;
  jboolean ignoreWhitespace;
  jboolean expandEntityReferences;
  jboolean ignoreComments;
  jboolean coalescing;
  jboolean validating;
  jboolean xIncludeAware;
  ::org::xml::sax::EntityResolver * entityResolver;
  ::org::xml::sax::ErrorHandler * errorHandler;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_xml_dom_ls_DomLSParser__