summaryrefslogtreecommitdiff
path: root/libjava/gnu/xml/pipeline/ValidationConsumer.h
blob: b08d025b2e6cbc4776c29c34e0b432f59429e715 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_xml_pipeline_ValidationConsumer__
#define __gnu_xml_pipeline_ValidationConsumer__

#pragma interface

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

extern "Java"
{
  namespace gnu
  {
    namespace xml
    {
      namespace pipeline
      {
          class EventConsumer;
          class ValidationConsumer;
          class ValidationConsumer$Recognizer;
      }
    }
  }
  namespace org
  {
    namespace xml
    {
      namespace sax
      {
          class Attributes;
          class EntityResolver;
      }
    }
  }
}

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

public:
  ValidationConsumer();
  ValidationConsumer(::gnu::xml::pipeline::EventConsumer *);
  ValidationConsumer(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::org::xml::sax::EntityResolver *, ::java::lang::String *);
private:
  void resetState();
  void warning(::java::lang::String *);
  void error(::java::lang::String *);
  void fatalError(::java::lang::String *);
  static jboolean isExtender(jchar);
  jboolean isName(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  jboolean isNmtoken(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  void checkEnumeration(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
public: // actually package-private
  static jboolean hasMatch(::java::lang::String *, ::java::lang::String *);
public:
  void startDTD(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  void endDTD();
  void attributeDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  void elementDecl(::java::lang::String *, ::java::lang::String *);
  void internalEntityDecl(::java::lang::String *, ::java::lang::String *);
  void externalEntityDecl(::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 startDocument();
private:
  static jboolean isAsciiLetter(jchar);
public:
  void skippedEntity(::java::lang::String *);
private:
  ::java::lang::String * expandDefaultRefs(::java::lang::String *);
public:
  void startElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::org::xml::sax::Attributes *);
  void characters(JArray< jchar > *, jint, jint);
  void endElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  void endDocument();
public: // actually package-private
  static ::gnu::xml::pipeline::ValidationConsumer$Recognizer * access$0();
  static void access$1(::gnu::xml::pipeline::ValidationConsumer *, ::java::lang::String *);
private:
  static const jboolean warnNonDeterministic = 0;
  ::java::lang::String * __attribute__((aligned(__alignof__( ::gnu::xml::pipeline::EventFilter)))) rootName;
  ::java::util::Stack * contentStack;
  jboolean disableDeclarations;
  jboolean disableReset;
  ::java::util::Hashtable * elements;
  ::java::util::Hashtable * ids;
  ::java::util::Vector * notations;
  ::java::util::Vector * nDeferred;
  ::java::util::Vector * unparsed;
  ::java::util::Vector * uDeferred;
  static ::java::lang::String * fakeRootName;
public: // actually package-private
  static JArray< ::java::lang::String * > * types;
private:
  static ::gnu::xml::pipeline::ValidationConsumer$Recognizer * ANY;
  static const jint F_LOOPHEAD = 1;
  static const jint F_LOOPNEXT = 2;
  static jint nodeCount;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_xml_pipeline_ValidationConsumer__