summaryrefslogtreecommitdiff
path: root/libjava/gnu/xml/validation/relaxng
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/xml/validation/relaxng')
-rw-r--r--libjava/gnu/xml/validation/relaxng/AnyNameNameClass.h39
-rw-r--r--libjava/gnu/xml/validation/relaxng/AttributePattern.h40
-rw-r--r--libjava/gnu/xml/validation/relaxng/ChoiceNameClass.h40
-rw-r--r--libjava/gnu/xml/validation/relaxng/ChoicePattern.h39
-rw-r--r--libjava/gnu/xml/validation/relaxng/DataPattern.h52
-rw-r--r--libjava/gnu/xml/validation/relaxng/Define.h39
-rw-r--r--libjava/gnu/xml/validation/relaxng/ElementPattern.h40
-rw-r--r--libjava/gnu/xml/validation/relaxng/EmptyPattern.h37
-rw-r--r--libjava/gnu/xml/validation/relaxng/FullSyntaxBuilder.h132
-rw-r--r--libjava/gnu/xml/validation/relaxng/Grammar.h54
-rw-r--r--libjava/gnu/xml/validation/relaxng/GrammarException.h36
-rw-r--r--libjava/gnu/xml/validation/relaxng/GrammarValidator.h79
-rw-r--r--libjava/gnu/xml/validation/relaxng/GroupPattern.h39
-rw-r--r--libjava/gnu/xml/validation/relaxng/InterleavePattern.h39
-rw-r--r--libjava/gnu/xml/validation/relaxng/ListPattern.h38
-rw-r--r--libjava/gnu/xml/validation/relaxng/NSNameNameClass.h40
-rw-r--r--libjava/gnu/xml/validation/relaxng/NameClass.h37
-rw-r--r--libjava/gnu/xml/validation/relaxng/NameNameClass.h39
-rw-r--r--libjava/gnu/xml/validation/relaxng/NotAllowedPattern.h37
-rw-r--r--libjava/gnu/xml/validation/relaxng/OneOrMorePattern.h38
-rw-r--r--libjava/gnu/xml/validation/relaxng/Param.h38
-rw-r--r--libjava/gnu/xml/validation/relaxng/Pattern.h36
-rw-r--r--libjava/gnu/xml/validation/relaxng/RELAXNGSchemaFactory.h85
-rw-r--r--libjava/gnu/xml/validation/relaxng/RefPattern.h37
-rw-r--r--libjava/gnu/xml/validation/relaxng/TextPattern.h37
-rw-r--r--libjava/gnu/xml/validation/relaxng/ValuePattern.h51
26 files changed, 1218 insertions, 0 deletions
diff --git a/libjava/gnu/xml/validation/relaxng/AnyNameNameClass.h b/libjava/gnu/xml/validation/relaxng/AnyNameNameClass.h
new file mode 100644
index 000000000..312a48fcd
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/AnyNameNameClass.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_AnyNameNameClass__
+#define __gnu_xml_validation_relaxng_AnyNameNameClass__
+
+#pragma interface
+
+#include <gnu/xml/validation/relaxng/NameClass.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class AnyNameNameClass;
+ class NameClass;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::AnyNameNameClass : public ::gnu::xml::validation::relaxng::NameClass
+{
+
+public: // actually package-private
+ AnyNameNameClass();
+ virtual jboolean matchesName(::java::lang::String *, ::java::lang::String *);
+ ::gnu::xml::validation::relaxng::NameClass * __attribute__((aligned(__alignof__( ::gnu::xml::validation::relaxng::NameClass)))) exceptNameClass;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_AnyNameNameClass__
diff --git a/libjava/gnu/xml/validation/relaxng/AttributePattern.h b/libjava/gnu/xml/validation/relaxng/AttributePattern.h
new file mode 100644
index 000000000..42b38013a
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/AttributePattern.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_AttributePattern__
+#define __gnu_xml_validation_relaxng_AttributePattern__
+
+#pragma interface
+
+#include <gnu/xml/validation/relaxng/Pattern.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class AttributePattern;
+ class NameClass;
+ class Pattern;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::AttributePattern : public ::gnu::xml::validation::relaxng::Pattern
+{
+
+public: // actually package-private
+ AttributePattern();
+ ::gnu::xml::validation::relaxng::NameClass * __attribute__((aligned(__alignof__( ::gnu::xml::validation::relaxng::Pattern)))) nameClass;
+ ::gnu::xml::validation::relaxng::Pattern * pattern;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_AttributePattern__
diff --git a/libjava/gnu/xml/validation/relaxng/ChoiceNameClass.h b/libjava/gnu/xml/validation/relaxng/ChoiceNameClass.h
new file mode 100644
index 000000000..dc8275631
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/ChoiceNameClass.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_ChoiceNameClass__
+#define __gnu_xml_validation_relaxng_ChoiceNameClass__
+
+#pragma interface
+
+#include <gnu/xml/validation/relaxng/NameClass.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class ChoiceNameClass;
+ class NameClass;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::ChoiceNameClass : public ::gnu::xml::validation::relaxng::NameClass
+{
+
+public: // actually package-private
+ ChoiceNameClass();
+ virtual jboolean matchesName(::java::lang::String *, ::java::lang::String *);
+ ::gnu::xml::validation::relaxng::NameClass * __attribute__((aligned(__alignof__( ::gnu::xml::validation::relaxng::NameClass)))) name1;
+ ::gnu::xml::validation::relaxng::NameClass * name2;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_ChoiceNameClass__
diff --git a/libjava/gnu/xml/validation/relaxng/ChoicePattern.h b/libjava/gnu/xml/validation/relaxng/ChoicePattern.h
new file mode 100644
index 000000000..85c4a2f79
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/ChoicePattern.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_ChoicePattern__
+#define __gnu_xml_validation_relaxng_ChoicePattern__
+
+#pragma interface
+
+#include <gnu/xml/validation/relaxng/Pattern.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class ChoicePattern;
+ class Pattern;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::ChoicePattern : public ::gnu::xml::validation::relaxng::Pattern
+{
+
+public: // actually package-private
+ ChoicePattern();
+ ::gnu::xml::validation::relaxng::Pattern * __attribute__((aligned(__alignof__( ::gnu::xml::validation::relaxng::Pattern)))) pattern1;
+ ::gnu::xml::validation::relaxng::Pattern * pattern2;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_ChoicePattern__
diff --git a/libjava/gnu/xml/validation/relaxng/DataPattern.h b/libjava/gnu/xml/validation/relaxng/DataPattern.h
new file mode 100644
index 000000000..00bb5b552
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/DataPattern.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_DataPattern__
+#define __gnu_xml_validation_relaxng_DataPattern__
+
+#pragma interface
+
+#include <gnu/xml/validation/relaxng/Pattern.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class DataPattern;
+ class Pattern;
+ }
+ }
+ }
+ }
+ namespace org
+ {
+ namespace relaxng
+ {
+ namespace datatype
+ {
+ class Datatype;
+ class DatatypeLibrary;
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::DataPattern : public ::gnu::xml::validation::relaxng::Pattern
+{
+
+public: // actually package-private
+ DataPattern();
+ ::org::relaxng::datatype::Datatype * __attribute__((aligned(__alignof__( ::gnu::xml::validation::relaxng::Pattern)))) type;
+ ::org::relaxng::datatype::DatatypeLibrary * datatypeLibrary;
+ ::java::util::List * params;
+ ::gnu::xml::validation::relaxng::Pattern * exceptPattern;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_DataPattern__
diff --git a/libjava/gnu/xml/validation/relaxng/Define.h b/libjava/gnu/xml/validation/relaxng/Define.h
new file mode 100644
index 000000000..85fa67901
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/Define.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_Define__
+#define __gnu_xml_validation_relaxng_Define__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class Define;
+ class ElementPattern;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::Define : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Define();
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ ::gnu::xml::validation::relaxng::ElementPattern * element;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_Define__
diff --git a/libjava/gnu/xml/validation/relaxng/ElementPattern.h b/libjava/gnu/xml/validation/relaxng/ElementPattern.h
new file mode 100644
index 000000000..844132ff1
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/ElementPattern.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_ElementPattern__
+#define __gnu_xml_validation_relaxng_ElementPattern__
+
+#pragma interface
+
+#include <gnu/xml/validation/relaxng/Pattern.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class ElementPattern;
+ class NameClass;
+ class Pattern;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::ElementPattern : public ::gnu::xml::validation::relaxng::Pattern
+{
+
+public: // actually package-private
+ ElementPattern();
+ ::gnu::xml::validation::relaxng::NameClass * __attribute__((aligned(__alignof__( ::gnu::xml::validation::relaxng::Pattern)))) nameClass;
+ ::gnu::xml::validation::relaxng::Pattern * pattern;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_ElementPattern__
diff --git a/libjava/gnu/xml/validation/relaxng/EmptyPattern.h b/libjava/gnu/xml/validation/relaxng/EmptyPattern.h
new file mode 100644
index 000000000..ecd499be1
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/EmptyPattern.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_EmptyPattern__
+#define __gnu_xml_validation_relaxng_EmptyPattern__
+
+#pragma interface
+
+#include <gnu/xml/validation/relaxng/Pattern.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class EmptyPattern;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::EmptyPattern : public ::gnu::xml::validation::relaxng::Pattern
+{
+
+public: // actually package-private
+ EmptyPattern();
+ static ::gnu::xml::validation::relaxng::EmptyPattern * INSTANCE;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_EmptyPattern__
diff --git a/libjava/gnu/xml/validation/relaxng/FullSyntaxBuilder.h b/libjava/gnu/xml/validation/relaxng/FullSyntaxBuilder.h
new file mode 100644
index 000000000..bf53fba05
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/FullSyntaxBuilder.h
@@ -0,0 +1,132 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_FullSyntaxBuilder__
+#define __gnu_xml_validation_relaxng_FullSyntaxBuilder__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class AnyNameNameClass;
+ class AttributePattern;
+ class ChoiceNameClass;
+ class ChoicePattern;
+ class DataPattern;
+ class Define;
+ class ElementPattern;
+ class EmptyPattern;
+ class FullSyntaxBuilder;
+ class Grammar;
+ class GroupPattern;
+ class InterleavePattern;
+ class ListPattern;
+ class NSNameNameClass;
+ class NameClass;
+ class NameNameClass;
+ class NotAllowedPattern;
+ class OneOrMorePattern;
+ class Param;
+ class Pattern;
+ class RefPattern;
+ class TextPattern;
+ class ValuePattern;
+ }
+ }
+ }
+ }
+ namespace org
+ {
+ namespace relaxng
+ {
+ namespace datatype
+ {
+ class DatatypeLibrary;
+ }
+ }
+ namespace w3c
+ {
+ namespace dom
+ {
+ class Document;
+ class Element;
+ class Node;
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::FullSyntaxBuilder : public ::java::lang::Object
+{
+
+public: // actually package-private
+ FullSyntaxBuilder();
+ virtual ::gnu::xml::validation::relaxng::Grammar * parse(::org::w3c::dom::Document *);
+private:
+ void getDefines(::java::util::Set *, ::org::w3c::dom::Element *, ::org::w3c::dom::Element *, jboolean);
+ void getElements(::java::util::Set *, ::org::w3c::dom::Element *, ::org::w3c::dom::Element *);
+ void expandRefs(::java::util::Set *, ::org::w3c::dom::Element *);
+ void forbidRefs(::org::w3c::dom::Element *, ::java::lang::String *);
+ void transform(::org::w3c::dom::Node *);
+ void transformGrammar(::org::w3c::dom::Node *, ::org::w3c::dom::Node *);
+ void handleRefs(::org::w3c::dom::Node *, ::org::w3c::dom::Node *, ::org::w3c::dom::Node *);
+ ::java::lang::String * createRefName();
+ void transform2(::org::w3c::dom::Node *);
+ static jboolean isWhitespace(::java::lang::String *);
+ static ::java::lang::String * escapeURL(::java::lang::String *);
+ static ::org::w3c::dom::Element * resolve(::java::lang::String *);
+ ::java::util::List * getComponents(::org::w3c::dom::Node *);
+ static void transformToOneChildElement(::org::w3c::dom::Node *, ::java::lang::String *);
+ static ::org::w3c::dom::Element * getFirstChildElement(::org::w3c::dom::Node *);
+ static ::org::w3c::dom::Element * getNextSiblingElement(::org::w3c::dom::Node *);
+ static void forbidDescendants(::org::w3c::dom::Node *, ::java::util::Set *);
+ static jboolean isDescendantOfFirstChildOfAttribute(::org::w3c::dom::Node *);
+ static void combineNodes(::org::w3c::dom::Node *, ::java::lang::String *, ::java::lang::String *, ::java::util::List *);
+public: // actually package-private
+ virtual ::gnu::xml::validation::relaxng::Grammar * parseGrammar(::org::w3c::dom::Element *);
+ virtual ::gnu::xml::validation::relaxng::Define * parseDefine(::org::w3c::dom::Element *);
+ virtual ::gnu::xml::validation::relaxng::Pattern * parseTop(::org::w3c::dom::Element *);
+ virtual ::gnu::xml::validation::relaxng::Pattern * parsePattern(::org::w3c::dom::Element *);
+ virtual ::gnu::xml::validation::relaxng::Pattern * parseNonEmptyPattern(::org::w3c::dom::Element *);
+ virtual ::gnu::xml::validation::relaxng::ElementPattern * parseElement(::org::w3c::dom::Element *);
+ virtual ::gnu::xml::validation::relaxng::NotAllowedPattern * parseNotAllowed(::org::w3c::dom::Element *);
+ virtual ::gnu::xml::validation::relaxng::EmptyPattern * parseEmpty(::org::w3c::dom::Element *);
+ virtual ::gnu::xml::validation::relaxng::TextPattern * parseText(::org::w3c::dom::Element *);
+ virtual ::gnu::xml::validation::relaxng::DataPattern * parseData(::org::w3c::dom::Element *);
+ virtual ::gnu::xml::validation::relaxng::Param * parseParam(::org::w3c::dom::Element *);
+ virtual ::gnu::xml::validation::relaxng::ValuePattern * parseValue(::org::w3c::dom::Element *);
+ virtual ::gnu::xml::validation::relaxng::ListPattern * parseList(::org::w3c::dom::Element *);
+ virtual ::gnu::xml::validation::relaxng::AttributePattern * parseAttribute(::org::w3c::dom::Element *);
+ virtual ::gnu::xml::validation::relaxng::RefPattern * parseRef(::org::w3c::dom::Element *);
+ virtual ::gnu::xml::validation::relaxng::OneOrMorePattern * parseOneOrMore(::org::w3c::dom::Element *);
+ virtual ::gnu::xml::validation::relaxng::ChoicePattern * parseChoice(::org::w3c::dom::Element *);
+ virtual ::gnu::xml::validation::relaxng::GroupPattern * parseGroup(::org::w3c::dom::Element *);
+ virtual ::gnu::xml::validation::relaxng::InterleavePattern * parseInterleave(::org::w3c::dom::Element *);
+ virtual ::gnu::xml::validation::relaxng::NameClass * parseNameClass(::org::w3c::dom::Element *);
+ virtual ::gnu::xml::validation::relaxng::AnyNameNameClass * parseAnyName(::org::w3c::dom::Element *);
+ virtual ::gnu::xml::validation::relaxng::NameNameClass * parseName(::org::w3c::dom::Element *);
+ virtual ::gnu::xml::validation::relaxng::NSNameNameClass * parseNsName(::org::w3c::dom::Element *);
+ virtual ::gnu::xml::validation::relaxng::ChoiceNameClass * parseChoiceNameClass(::org::w3c::dom::Element *);
+ virtual void checkName(::org::w3c::dom::Element *, ::java::lang::String *);
+ virtual ::org::relaxng::datatype::DatatypeLibrary * getDatatypeLibrary(::java::lang::String *);
+ static ::java::util::Map * VOCABULARY;
+ static ::java::util::Set * STRIPPED_ATTRIBUTES;
+ static ::java::util::Set * PATTERN_ELEMENTS;
+private:
+ ::java::util::Set * __attribute__((aligned(__alignof__( ::java::lang::Object)))) urls;
+ jint refCount;
+ ::java::util::Map * datatypeLibraries;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_FullSyntaxBuilder__
diff --git a/libjava/gnu/xml/validation/relaxng/Grammar.h b/libjava/gnu/xml/validation/relaxng/Grammar.h
new file mode 100644
index 000000000..a813efcc8
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/Grammar.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_Grammar__
+#define __gnu_xml_validation_relaxng_Grammar__
+
+#pragma interface
+
+#include <javax/xml/validation/Schema.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class Grammar;
+ class Pattern;
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ class Validator;
+ class ValidatorHandler;
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::Grammar : public ::javax::xml::validation::Schema
+{
+
+public: // actually package-private
+ Grammar();
+public:
+ virtual ::javax::xml::validation::Validator * newValidator();
+ virtual ::javax::xml::validation::ValidatorHandler * newValidatorHandler();
+public: // actually package-private
+ ::gnu::xml::validation::relaxng::Pattern * __attribute__((aligned(__alignof__( ::javax::xml::validation::Schema)))) start;
+ ::java::util::List * defines;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_Grammar__
diff --git a/libjava/gnu/xml/validation/relaxng/GrammarException.h b/libjava/gnu/xml/validation/relaxng/GrammarException.h
new file mode 100644
index 000000000..45ddffec9
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/GrammarException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_GrammarException__
+#define __gnu_xml_validation_relaxng_GrammarException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class GrammarException;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::GrammarException : public ::java::io::IOException
+{
+
+public: // actually package-private
+ GrammarException(::java::lang::String *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_GrammarException__
diff --git a/libjava/gnu/xml/validation/relaxng/GrammarValidator.h b/libjava/gnu/xml/validation/relaxng/GrammarValidator.h
new file mode 100644
index 000000000..37b0d0170
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/GrammarValidator.h
@@ -0,0 +1,79 @@
+
+// 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__
diff --git a/libjava/gnu/xml/validation/relaxng/GroupPattern.h b/libjava/gnu/xml/validation/relaxng/GroupPattern.h
new file mode 100644
index 000000000..bd52ac7b3
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/GroupPattern.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_GroupPattern__
+#define __gnu_xml_validation_relaxng_GroupPattern__
+
+#pragma interface
+
+#include <gnu/xml/validation/relaxng/Pattern.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class GroupPattern;
+ class Pattern;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::GroupPattern : public ::gnu::xml::validation::relaxng::Pattern
+{
+
+public: // actually package-private
+ GroupPattern();
+ ::gnu::xml::validation::relaxng::Pattern * __attribute__((aligned(__alignof__( ::gnu::xml::validation::relaxng::Pattern)))) pattern1;
+ ::gnu::xml::validation::relaxng::Pattern * pattern2;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_GroupPattern__
diff --git a/libjava/gnu/xml/validation/relaxng/InterleavePattern.h b/libjava/gnu/xml/validation/relaxng/InterleavePattern.h
new file mode 100644
index 000000000..02716e885
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/InterleavePattern.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_InterleavePattern__
+#define __gnu_xml_validation_relaxng_InterleavePattern__
+
+#pragma interface
+
+#include <gnu/xml/validation/relaxng/Pattern.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class InterleavePattern;
+ class Pattern;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::InterleavePattern : public ::gnu::xml::validation::relaxng::Pattern
+{
+
+public: // actually package-private
+ InterleavePattern();
+ ::gnu::xml::validation::relaxng::Pattern * __attribute__((aligned(__alignof__( ::gnu::xml::validation::relaxng::Pattern)))) pattern1;
+ ::gnu::xml::validation::relaxng::Pattern * pattern2;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_InterleavePattern__
diff --git a/libjava/gnu/xml/validation/relaxng/ListPattern.h b/libjava/gnu/xml/validation/relaxng/ListPattern.h
new file mode 100644
index 000000000..78351cfb1
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/ListPattern.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_ListPattern__
+#define __gnu_xml_validation_relaxng_ListPattern__
+
+#pragma interface
+
+#include <gnu/xml/validation/relaxng/Pattern.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class ListPattern;
+ class Pattern;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::ListPattern : public ::gnu::xml::validation::relaxng::Pattern
+{
+
+public: // actually package-private
+ ListPattern();
+ ::gnu::xml::validation::relaxng::Pattern * __attribute__((aligned(__alignof__( ::gnu::xml::validation::relaxng::Pattern)))) pattern;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_ListPattern__
diff --git a/libjava/gnu/xml/validation/relaxng/NSNameNameClass.h b/libjava/gnu/xml/validation/relaxng/NSNameNameClass.h
new file mode 100644
index 000000000..8fcdb4f42
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/NSNameNameClass.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_NSNameNameClass__
+#define __gnu_xml_validation_relaxng_NSNameNameClass__
+
+#pragma interface
+
+#include <gnu/xml/validation/relaxng/NameClass.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class NSNameNameClass;
+ class NameClass;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::NSNameNameClass : public ::gnu::xml::validation::relaxng::NameClass
+{
+
+public: // actually package-private
+ NSNameNameClass();
+ virtual jboolean matchesName(::java::lang::String *, ::java::lang::String *);
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::gnu::xml::validation::relaxng::NameClass)))) ns;
+ ::gnu::xml::validation::relaxng::NameClass * exceptNameClass;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_NSNameNameClass__
diff --git a/libjava/gnu/xml/validation/relaxng/NameClass.h b/libjava/gnu/xml/validation/relaxng/NameClass.h
new file mode 100644
index 000000000..ffa1dfb75
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/NameClass.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_NameClass__
+#define __gnu_xml_validation_relaxng_NameClass__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class NameClass;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::NameClass : public ::java::lang::Object
+{
+
+public: // actually package-private
+ NameClass();
+ virtual jboolean matchesName(::java::lang::String *, ::java::lang::String *) = 0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_NameClass__
diff --git a/libjava/gnu/xml/validation/relaxng/NameNameClass.h b/libjava/gnu/xml/validation/relaxng/NameNameClass.h
new file mode 100644
index 000000000..334bf94af
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/NameNameClass.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_NameNameClass__
+#define __gnu_xml_validation_relaxng_NameNameClass__
+
+#pragma interface
+
+#include <gnu/xml/validation/relaxng/NameClass.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class NameNameClass;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::NameNameClass : public ::gnu::xml::validation::relaxng::NameClass
+{
+
+public: // actually package-private
+ NameNameClass();
+ virtual jboolean matchesName(::java::lang::String *, ::java::lang::String *);
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::gnu::xml::validation::relaxng::NameClass)))) ns;
+ ::java::lang::String * name;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_NameNameClass__
diff --git a/libjava/gnu/xml/validation/relaxng/NotAllowedPattern.h b/libjava/gnu/xml/validation/relaxng/NotAllowedPattern.h
new file mode 100644
index 000000000..a65d11b23
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/NotAllowedPattern.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_NotAllowedPattern__
+#define __gnu_xml_validation_relaxng_NotAllowedPattern__
+
+#pragma interface
+
+#include <gnu/xml/validation/relaxng/Pattern.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class NotAllowedPattern;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::NotAllowedPattern : public ::gnu::xml::validation::relaxng::Pattern
+{
+
+public: // actually package-private
+ NotAllowedPattern();
+ static ::gnu::xml::validation::relaxng::NotAllowedPattern * INSTANCE;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_NotAllowedPattern__
diff --git a/libjava/gnu/xml/validation/relaxng/OneOrMorePattern.h b/libjava/gnu/xml/validation/relaxng/OneOrMorePattern.h
new file mode 100644
index 000000000..d59682bfa
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/OneOrMorePattern.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_OneOrMorePattern__
+#define __gnu_xml_validation_relaxng_OneOrMorePattern__
+
+#pragma interface
+
+#include <gnu/xml/validation/relaxng/Pattern.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class OneOrMorePattern;
+ class Pattern;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::OneOrMorePattern : public ::gnu::xml::validation::relaxng::Pattern
+{
+
+public: // actually package-private
+ OneOrMorePattern();
+ ::gnu::xml::validation::relaxng::Pattern * __attribute__((aligned(__alignof__( ::gnu::xml::validation::relaxng::Pattern)))) pattern;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_OneOrMorePattern__
diff --git a/libjava/gnu/xml/validation/relaxng/Param.h b/libjava/gnu/xml/validation/relaxng/Param.h
new file mode 100644
index 000000000..16241747b
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/Param.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_Param__
+#define __gnu_xml_validation_relaxng_Param__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class Param;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::Param : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Param();
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ ::java::lang::String * value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_Param__
diff --git a/libjava/gnu/xml/validation/relaxng/Pattern.h b/libjava/gnu/xml/validation/relaxng/Pattern.h
new file mode 100644
index 000000000..fd0f6d65e
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/Pattern.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_Pattern__
+#define __gnu_xml_validation_relaxng_Pattern__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class Pattern;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::Pattern : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Pattern();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_Pattern__
diff --git a/libjava/gnu/xml/validation/relaxng/RELAXNGSchemaFactory.h b/libjava/gnu/xml/validation/relaxng/RELAXNGSchemaFactory.h
new file mode 100644
index 000000000..65a8c0a04
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/RELAXNGSchemaFactory.h
@@ -0,0 +1,85 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_RELAXNGSchemaFactory__
+#define __gnu_xml_validation_relaxng_RELAXNGSchemaFactory__
+
+#pragma interface
+
+#include <javax/xml/validation/SchemaFactory.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class RELAXNGSchemaFactory;
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace transform
+ {
+ class Source;
+ }
+ namespace validation
+ {
+ class Schema;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ class Document;
+ namespace ls
+ {
+ class LSResourceResolver;
+ }
+ }
+ }
+ namespace xml
+ {
+ namespace sax
+ {
+ class ErrorHandler;
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::RELAXNGSchemaFactory : public ::javax::xml::validation::SchemaFactory
+{
+
+public:
+ RELAXNGSchemaFactory();
+ virtual ::org::w3c::dom::ls::LSResourceResolver * getResourceResolver();
+ virtual void setResourceResolver(::org::w3c::dom::ls::LSResourceResolver *);
+ virtual ::org::xml::sax::ErrorHandler * getErrorHandler();
+ virtual void setErrorHandler(::org::xml::sax::ErrorHandler *);
+ virtual jboolean isSchemaLanguageSupported(::java::lang::String *);
+ virtual ::javax::xml::validation::Schema * newSchema();
+ virtual ::javax::xml::validation::Schema * newSchema(JArray< ::javax::xml::transform::Source * > *);
+private:
+ static ::org::w3c::dom::Document * getDocument(::javax::xml::transform::Source *);
+public: // actually package-private
+ ::org::w3c::dom::ls::LSResourceResolver * __attribute__((aligned(__alignof__( ::javax::xml::validation::SchemaFactory)))) resourceResolver;
+ ::org::xml::sax::ErrorHandler * errorHandler;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_RELAXNGSchemaFactory__
diff --git a/libjava/gnu/xml/validation/relaxng/RefPattern.h b/libjava/gnu/xml/validation/relaxng/RefPattern.h
new file mode 100644
index 000000000..73728689f
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/RefPattern.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_RefPattern__
+#define __gnu_xml_validation_relaxng_RefPattern__
+
+#pragma interface
+
+#include <gnu/xml/validation/relaxng/Pattern.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class RefPattern;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::RefPattern : public ::gnu::xml::validation::relaxng::Pattern
+{
+
+public: // actually package-private
+ RefPattern();
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::gnu::xml::validation::relaxng::Pattern)))) name;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_RefPattern__
diff --git a/libjava/gnu/xml/validation/relaxng/TextPattern.h b/libjava/gnu/xml/validation/relaxng/TextPattern.h
new file mode 100644
index 000000000..b687c0723
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/TextPattern.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_TextPattern__
+#define __gnu_xml_validation_relaxng_TextPattern__
+
+#pragma interface
+
+#include <gnu/xml/validation/relaxng/Pattern.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class TextPattern;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::TextPattern : public ::gnu::xml::validation::relaxng::Pattern
+{
+
+public: // actually package-private
+ TextPattern();
+ static ::gnu::xml::validation::relaxng::TextPattern * INSTANCE;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_TextPattern__
diff --git a/libjava/gnu/xml/validation/relaxng/ValuePattern.h b/libjava/gnu/xml/validation/relaxng/ValuePattern.h
new file mode 100644
index 000000000..b1f69f674
--- /dev/null
+++ b/libjava/gnu/xml/validation/relaxng/ValuePattern.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_relaxng_ValuePattern__
+#define __gnu_xml_validation_relaxng_ValuePattern__
+
+#pragma interface
+
+#include <gnu/xml/validation/relaxng/Pattern.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace relaxng
+ {
+ class ValuePattern;
+ }
+ }
+ }
+ }
+ namespace org
+ {
+ namespace relaxng
+ {
+ namespace datatype
+ {
+ class Datatype;
+ class DatatypeLibrary;
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::relaxng::ValuePattern : public ::gnu::xml::validation::relaxng::Pattern
+{
+
+public: // actually package-private
+ ValuePattern();
+ ::org::relaxng::datatype::DatatypeLibrary * __attribute__((aligned(__alignof__( ::gnu::xml::validation::relaxng::Pattern)))) datatypeLibrary;
+ ::org::relaxng::datatype::Datatype * type;
+ ::java::lang::String * ns;
+ ::java::lang::String * value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_relaxng_ValuePattern__