summaryrefslogtreecommitdiff
path: root/libjava/gnu/xml/validation/xmlschema
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/xml/validation/xmlschema')
-rw-r--r--libjava/gnu/xml/validation/xmlschema/AnyAttribute.h46
-rw-r--r--libjava/gnu/xml/validation/xmlschema/AttributeDeclaration.h60
-rw-r--r--libjava/gnu/xml/validation/xmlschema/AttributeUse.h41
-rw-r--r--libjava/gnu/xml/validation/xmlschema/ComplexType.h57
-rw-r--r--libjava/gnu/xml/validation/xmlschema/ElementDeclaration.h63
-rw-r--r--libjava/gnu/xml/validation/xmlschema/Particle.h39
-rw-r--r--libjava/gnu/xml/validation/xmlschema/ValidationException.h46
-rw-r--r--libjava/gnu/xml/validation/xmlschema/XMLSchema.h81
-rw-r--r--libjava/gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.h52
-rw-r--r--libjava/gnu/xml/validation/xmlschema/XMLSchemaBuilder.h98
-rw-r--r--libjava/gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.h51
-rw-r--r--libjava/gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.h85
-rw-r--r--libjava/gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.h45
-rw-r--r--libjava/gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.h54
-rw-r--r--libjava/gnu/xml/validation/xmlschema/XMLSchemaValidator.h79
-rw-r--r--libjava/gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.h125
16 files changed, 1022 insertions, 0 deletions
diff --git a/libjava/gnu/xml/validation/xmlschema/AnyAttribute.h b/libjava/gnu/xml/validation/xmlschema/AnyAttribute.h
new file mode 100644
index 000000000..10561967e
--- /dev/null
+++ b/libjava/gnu/xml/validation/xmlschema/AnyAttribute.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_xmlschema_AnyAttribute__
+#define __gnu_xml_validation_xmlschema_AnyAttribute__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace datatype
+ {
+ class Annotation;
+ }
+ namespace xmlschema
+ {
+ class AnyAttribute;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::xmlschema::AnyAttribute : public ::java::lang::Object
+{
+
+public: // actually package-private
+ AnyAttribute(::java::lang::String *, jint);
+ static const jint STRICT = 0;
+ static const jint LAX = 1;
+ static const jint SKIP = 2;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) namespace$;
+ jint processContents;
+ ::gnu::xml::validation::datatype::Annotation * annotation;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_xmlschema_AnyAttribute__
diff --git a/libjava/gnu/xml/validation/xmlschema/AttributeDeclaration.h b/libjava/gnu/xml/validation/xmlschema/AttributeDeclaration.h
new file mode 100644
index 000000000..5b7d1fcb0
--- /dev/null
+++ b/libjava/gnu/xml/validation/xmlschema/AttributeDeclaration.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_xmlschema_AttributeDeclaration__
+#define __gnu_xml_validation_xmlschema_AttributeDeclaration__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace datatype
+ {
+ class Annotation;
+ class SimpleType;
+ }
+ namespace xmlschema
+ {
+ class AttributeDeclaration;
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class QName;
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::xmlschema::AttributeDeclaration : public ::java::lang::Object
+{
+
+public: // actually package-private
+ AttributeDeclaration(jboolean, jint, ::java::lang::String *, ::javax::xml::namespace$::QName *, ::gnu::xml::validation::datatype::SimpleType *, ::gnu::xml::validation::datatype::Annotation *);
+ static const jint NONE = 0;
+ static const jint DEFAULT = 1;
+ static const jint FIXED = 2;
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) scope;
+ jint type;
+ ::java::lang::String * value;
+ ::javax::xml::namespace$::QName * name;
+ ::gnu::xml::validation::datatype::SimpleType * datatype;
+ ::gnu::xml::validation::datatype::Annotation * annotation;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_xmlschema_AttributeDeclaration__
diff --git a/libjava/gnu/xml/validation/xmlschema/AttributeUse.h b/libjava/gnu/xml/validation/xmlschema/AttributeUse.h
new file mode 100644
index 000000000..b5c008f57
--- /dev/null
+++ b/libjava/gnu/xml/validation/xmlschema/AttributeUse.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_xmlschema_AttributeUse__
+#define __gnu_xml_validation_xmlschema_AttributeUse__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace xmlschema
+ {
+ class AttributeDeclaration;
+ class AttributeUse;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::xmlschema::AttributeUse : public ::java::lang::Object
+{
+
+public: // actually package-private
+ AttributeUse(jboolean, jint, ::java::lang::String *, ::gnu::xml::validation::xmlschema::AttributeDeclaration *);
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) required;
+ jint type;
+ ::java::lang::String * value;
+ ::gnu::xml::validation::xmlschema::AttributeDeclaration * declaration;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_xmlschema_AttributeUse__
diff --git a/libjava/gnu/xml/validation/xmlschema/ComplexType.h b/libjava/gnu/xml/validation/xmlschema/ComplexType.h
new file mode 100644
index 000000000..170ab9db9
--- /dev/null
+++ b/libjava/gnu/xml/validation/xmlschema/ComplexType.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_xmlschema_ComplexType__
+#define __gnu_xml_validation_xmlschema_ComplexType__
+
+#pragma interface
+
+#include <gnu/xml/validation/datatype/Type.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace xmlschema
+ {
+ class AnyAttribute;
+ class ComplexType;
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class QName;
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::xmlschema::ComplexType : public ::gnu::xml::validation::datatype::Type
+{
+
+public: // actually package-private
+ ComplexType(::javax::xml::namespace$::QName *, jboolean, jint, jint);
+ ::javax::xml::namespace$::QName * __attribute__((aligned(__alignof__( ::gnu::xml::validation::datatype::Type)))) baseType;
+ jint derivationMethod;
+ jint finality;
+ jboolean isAbstract;
+ ::java::util::Set * attributeUses;
+ ::gnu::xml::validation::xmlschema::AnyAttribute * attributeWildcard;
+ jint contentType;
+ ::java::lang::Object * contentModel;
+ jint prohibitedSubstitutions;
+ ::java::util::Set * annotations;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_xmlschema_ComplexType__
diff --git a/libjava/gnu/xml/validation/xmlschema/ElementDeclaration.h b/libjava/gnu/xml/validation/xmlschema/ElementDeclaration.h
new file mode 100644
index 000000000..67e7d863e
--- /dev/null
+++ b/libjava/gnu/xml/validation/xmlschema/ElementDeclaration.h
@@ -0,0 +1,63 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_xmlschema_ElementDeclaration__
+#define __gnu_xml_validation_xmlschema_ElementDeclaration__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace datatype
+ {
+ class Annotation;
+ class Type;
+ }
+ namespace xmlschema
+ {
+ class ElementDeclaration;
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class QName;
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::xmlschema::ElementDeclaration : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ElementDeclaration(::javax::xml::namespace$::QName *, ::gnu::xml::validation::datatype::Type *, jint, ::gnu::xml::validation::xmlschema::ElementDeclaration *, jint, ::java::lang::String *, jboolean, ::javax::xml::namespace$::QName *, jint, jint, jboolean);
+ ::javax::xml::namespace$::QName * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ ::gnu::xml::validation::datatype::Type * datatype;
+ jint scope;
+ ::gnu::xml::validation::xmlschema::ElementDeclaration * parent;
+ jint type;
+ ::java::lang::String * value;
+ jboolean nillable;
+ ::javax::xml::namespace$::QName * substitutionGroup;
+ jint substitutionGroupExclusions;
+ jint disallowedSubstitutions;
+ jboolean isAbstract;
+ ::gnu::xml::validation::datatype::Annotation * annotation;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_xmlschema_ElementDeclaration__
diff --git a/libjava/gnu/xml/validation/xmlschema/Particle.h b/libjava/gnu/xml/validation/xmlschema/Particle.h
new file mode 100644
index 000000000..c8228ba1c
--- /dev/null
+++ b/libjava/gnu/xml/validation/xmlschema/Particle.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_xmlschema_Particle__
+#define __gnu_xml_validation_xmlschema_Particle__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace xmlschema
+ {
+ class Particle;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::xmlschema::Particle : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Particle(::java::lang::Integer *, ::java::lang::Integer *, ::java::lang::Object *);
+ ::java::lang::Integer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) minOccurs;
+ ::java::lang::Integer * maxOccurs;
+ ::java::lang::Object * term;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_xmlschema_Particle__
diff --git a/libjava/gnu/xml/validation/xmlschema/ValidationException.h b/libjava/gnu/xml/validation/xmlschema/ValidationException.h
new file mode 100644
index 000000000..cdea811e7
--- /dev/null
+++ b/libjava/gnu/xml/validation/xmlschema/ValidationException.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_xmlschema_ValidationException__
+#define __gnu_xml_validation_xmlschema_ValidationException__
+
+#pragma interface
+
+#include <org/xml/sax/SAXParseException.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace xmlschema
+ {
+ class ValidationException;
+ }
+ }
+ }
+ }
+ namespace org
+ {
+ namespace xml
+ {
+ namespace sax
+ {
+ class Locator;
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::xmlschema::ValidationException : public ::org::xml::sax::SAXParseException
+{
+
+public: // actually package-private
+ ValidationException(::java::lang::String *, ::org::xml::sax::Locator *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_xmlschema_ValidationException__
diff --git a/libjava/gnu/xml/validation/xmlschema/XMLSchema.h b/libjava/gnu/xml/validation/xmlschema/XMLSchema.h
new file mode 100644
index 000000000..4fec76fe9
--- /dev/null
+++ b/libjava/gnu/xml/validation/xmlschema/XMLSchema.h
@@ -0,0 +1,81 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_xmlschema_XMLSchema__
+#define __gnu_xml_validation_xmlschema_XMLSchema__
+
+#pragma interface
+
+#include <javax/xml/validation/Schema.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace xmlschema
+ {
+ class XMLSchema;
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ class Validator;
+ class ValidatorHandler;
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::xmlschema::XMLSchema : public ::javax::xml::validation::Schema
+{
+
+public: // actually package-private
+ XMLSchema(::java::lang::String *, ::java::lang::String *, jint, jint, jboolean, jboolean);
+public:
+ ::javax::xml::validation::Validator * newValidator();
+ ::javax::xml::validation::ValidatorHandler * newValidatorHandler();
+public: // actually package-private
+ static const jint FINAL_NONE = 0;
+ static const jint FINAL_EXTENSION = 1;
+ static const jint FINAL_RESTRICTION = 2;
+ static const jint FINAL_LIST = 4;
+ static const jint FINAL_UNION = 8;
+ static const jint FINAL_ALL = 15;
+ static const jint BLOCK_NONE = 0;
+ static const jint BLOCK_EXTENSION = 1;
+ static const jint BLOCK_RESTRICTION = 2;
+ static const jint BLOCK_SUBSTITUTION = 4;
+ static const jint BLOCK_ALL = 7;
+ static const jint GLOBAL = 0;
+ static const jint LOCAL = 1;
+ static const jint ABSENT = 2;
+ static const jint CONSTRAINT_NONE = 0;
+ static const jint CONSTRAINT_DEFAULT = 1;
+ static const jint CONSTRAINT_FIXED = 2;
+ static const jint CONTENT_EMPTY = 0;
+ static const jint CONTENT_SIMPLE = 1;
+ static const jint CONTENT_MIXED = 2;
+ static const jint CONTENT_ELEMENT_ONLY = 3;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::javax::xml::validation::Schema)))) targetNamespace;
+ ::java::lang::String * version;
+ jint finalDefault;
+ jint blockDefault;
+ jboolean attributeFormQualified;
+ jboolean elementFormQualified;
+ ::java::util::Map * elementDeclarations;
+ ::java::util::Map * attributeDeclarations;
+ ::java::util::Map * types;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_xmlschema_XMLSchema__
diff --git a/libjava/gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.h b/libjava/gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.h
new file mode 100644
index 000000000..465720c46
--- /dev/null
+++ b/libjava/gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_xmlschema_XMLSchemaAttributeTypeInfo__
+#define __gnu_xml_validation_xmlschema_XMLSchemaAttributeTypeInfo__
+
+#pragma interface
+
+#include <gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace datatype
+ {
+ class SimpleType;
+ }
+ namespace xmlschema
+ {
+ class AttributeDeclaration;
+ class XMLSchema;
+ class XMLSchemaAttributeTypeInfo;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::xmlschema::XMLSchemaAttributeTypeInfo : public ::gnu::xml::validation::xmlschema::XMLSchemaTypeInfo
+{
+
+public: // actually package-private
+ XMLSchemaAttributeTypeInfo(::gnu::xml::validation::xmlschema::XMLSchema *, ::gnu::xml::validation::xmlschema::AttributeDeclaration *, jboolean);
+public:
+ ::java::lang::String * getTypeName();
+ ::java::lang::String * getTypeNamespace();
+ jboolean isDerivedFrom(::java::lang::String *, ::java::lang::String *, jint);
+public: // actually package-private
+ ::gnu::xml::validation::xmlschema::XMLSchema * __attribute__((aligned(__alignof__( ::gnu::xml::validation::xmlschema::XMLSchemaTypeInfo)))) schema;
+ ::gnu::xml::validation::xmlschema::AttributeDeclaration * decl;
+ ::gnu::xml::validation::datatype::SimpleType * type;
+ jboolean id;
+ jboolean specified;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_xmlschema_XMLSchemaAttributeTypeInfo__
diff --git a/libjava/gnu/xml/validation/xmlschema/XMLSchemaBuilder.h b/libjava/gnu/xml/validation/xmlschema/XMLSchemaBuilder.h
new file mode 100644
index 000000000..ed1bc80dc
--- /dev/null
+++ b/libjava/gnu/xml/validation/xmlschema/XMLSchemaBuilder.h
@@ -0,0 +1,98 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_xmlschema_XMLSchemaBuilder__
+#define __gnu_xml_validation_xmlschema_XMLSchemaBuilder__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace datatype
+ {
+ class Annotation;
+ class SimpleType;
+ class Type;
+ }
+ namespace xmlschema
+ {
+ class AnyAttribute;
+ class ComplexType;
+ class ElementDeclaration;
+ class XMLSchema;
+ class XMLSchemaBuilder;
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class QName;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace relaxng
+ {
+ namespace datatype
+ {
+ class DatatypeLibrary;
+ }
+ }
+ namespace w3c
+ {
+ namespace dom
+ {
+ class NamedNodeMap;
+ class Node;
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::xmlschema::XMLSchemaBuilder : public ::java::lang::Object
+{
+
+public: // actually package-private
+ XMLSchemaBuilder();
+ virtual void parseSchema(::org::w3c::dom::Node *);
+ virtual void parseTopLevelElement(::org::w3c::dom::Node *);
+ virtual ::java::lang::Object * parseAttribute(::org::w3c::dom::Node *, jboolean);
+ virtual jint parseFullDerivationSet(::java::lang::String *);
+ virtual jint parseSimpleTypeDerivationSet(::java::lang::String *);
+ virtual jint parseComplexTypeDerivationSet(::java::lang::String *);
+ virtual jint parseBlockSet(::java::lang::String *);
+ virtual jint parseComplexTypeBlockSet(::java::lang::String *);
+ virtual ::java::lang::Object * parseElement(::org::w3c::dom::Node *, ::gnu::xml::validation::xmlschema::ElementDeclaration *);
+ virtual ::java::lang::Integer * getOccurrence(::java::lang::String *);
+ virtual ::gnu::xml::validation::datatype::SimpleType * parseSimpleType(::javax::xml::namespace$::QName *);
+ virtual ::gnu::xml::validation::datatype::SimpleType * parseSimpleType(::org::w3c::dom::Node *);
+ virtual ::gnu::xml::validation::datatype::Type * parseComplexType(::org::w3c::dom::Node *, ::gnu::xml::validation::xmlschema::ElementDeclaration *);
+ virtual void parseSimpleContent(::org::w3c::dom::Node *, ::gnu::xml::validation::xmlschema::ComplexType *);
+ virtual void parseRestriction(::org::w3c::dom::Node *, ::gnu::xml::validation::xmlschema::ComplexType *);
+ virtual void parseExtension(::org::w3c::dom::Node *, ::gnu::xml::validation::xmlschema::ComplexType *);
+ virtual ::gnu::xml::validation::xmlschema::AnyAttribute * parseAnyAttribute(::org::w3c::dom::Node *);
+ virtual ::gnu::xml::validation::datatype::Annotation * parseAnnotation(::org::w3c::dom::Node *);
+private:
+ static ::java::lang::String * getAttribute(::org::w3c::dom::NamedNodeMap *, ::java::lang::String *);
+ static ::javax::xml::namespace$::QName * asQName(::java::lang::String *, ::org::w3c::dom::Node *);
+public: // actually package-private
+ ::gnu::xml::validation::xmlschema::XMLSchema * __attribute__((aligned(__alignof__( ::java::lang::Object)))) schema;
+ ::org::relaxng::datatype::DatatypeLibrary * typeLibrary;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_xmlschema_XMLSchemaBuilder__
diff --git a/libjava/gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.h b/libjava/gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.h
new file mode 100644
index 000000000..23ff8b66a
--- /dev/null
+++ b/libjava/gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_xmlschema_XMLSchemaElementTypeInfo__
+#define __gnu_xml_validation_xmlschema_XMLSchemaElementTypeInfo__
+
+#pragma interface
+
+#include <gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace datatype
+ {
+ class Type;
+ }
+ namespace xmlschema
+ {
+ class ElementDeclaration;
+ class XMLSchema;
+ class XMLSchemaElementTypeInfo;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::xmlschema::XMLSchemaElementTypeInfo : public ::gnu::xml::validation::xmlschema::XMLSchemaTypeInfo
+{
+
+public: // actually package-private
+ XMLSchemaElementTypeInfo(::gnu::xml::validation::xmlschema::XMLSchema *, ::gnu::xml::validation::xmlschema::ElementDeclaration *, ::gnu::xml::validation::datatype::Type *);
+public:
+ ::java::lang::String * getTypeName();
+ ::java::lang::String * getTypeNamespace();
+ jboolean isDerivedFrom(::java::lang::String *, ::java::lang::String *, jint);
+public: // actually package-private
+ ::gnu::xml::validation::xmlschema::XMLSchema * __attribute__((aligned(__alignof__( ::gnu::xml::validation::xmlschema::XMLSchemaTypeInfo)))) schema;
+ ::gnu::xml::validation::xmlschema::ElementDeclaration * decl;
+ ::gnu::xml::validation::datatype::Type * type;
+ jboolean nil;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_xmlschema_XMLSchemaElementTypeInfo__
diff --git a/libjava/gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.h b/libjava/gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.h
new file mode 100644
index 000000000..b4d45dd06
--- /dev/null
+++ b/libjava/gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.h
@@ -0,0 +1,85 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_xmlschema_XMLSchemaSchemaFactory__
+#define __gnu_xml_validation_xmlschema_XMLSchemaSchemaFactory__
+
+#pragma interface
+
+#include <javax/xml/validation/SchemaFactory.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace xmlschema
+ {
+ class XMLSchemaSchemaFactory;
+ }
+ }
+ }
+ }
+ 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::xmlschema::XMLSchemaSchemaFactory : public ::javax::xml::validation::SchemaFactory
+{
+
+public:
+ XMLSchemaSchemaFactory();
+ 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_xmlschema_XMLSchemaSchemaFactory__
diff --git a/libjava/gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.h b/libjava/gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.h
new file mode 100644
index 000000000..d253235f8
--- /dev/null
+++ b/libjava/gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_xmlschema_XMLSchemaTypeInfo__
+#define __gnu_xml_validation_xmlschema_XMLSchemaTypeInfo__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace datatype
+ {
+ class SimpleType;
+ }
+ namespace xmlschema
+ {
+ class XMLSchemaTypeInfo;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::xmlschema::XMLSchemaTypeInfo : public ::java::lang::Object
+{
+
+public: // actually package-private
+ XMLSchemaTypeInfo();
+public: // actually protected
+ virtual jboolean simpleTypeIsDerivedFrom(::gnu::xml::validation::datatype::SimpleType *, ::java::lang::String *, ::java::lang::String *, jint);
+public:
+ virtual ::java::lang::String * getTypeName() = 0;
+ virtual ::java::lang::String * getTypeNamespace() = 0;
+ virtual jboolean isDerivedFrom(::java::lang::String *, ::java::lang::String *, jint) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_xmlschema_XMLSchemaTypeInfo__
diff --git a/libjava/gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.h b/libjava/gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.h
new file mode 100644
index 000000000..049b63af3
--- /dev/null
+++ b/libjava/gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_xmlschema_XMLSchemaTypeInfoProvider__
+#define __gnu_xml_validation_xmlschema_XMLSchemaTypeInfoProvider__
+
+#pragma interface
+
+#include <javax/xml/validation/TypeInfoProvider.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace xmlschema
+ {
+ class XMLSchemaTypeInfoProvider;
+ class XMLSchemaValidatorHandler;
+ }
+ }
+ }
+ }
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ class TypeInfo;
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::xmlschema::XMLSchemaTypeInfoProvider : public ::javax::xml::validation::TypeInfoProvider
+{
+
+public: // actually package-private
+ XMLSchemaTypeInfoProvider(::gnu::xml::validation::xmlschema::XMLSchemaValidatorHandler *);
+public:
+ ::org::w3c::dom::TypeInfo * getElementTypeInfo();
+ ::org::w3c::dom::TypeInfo * getAttributeTypeInfo(jint);
+ jboolean isIdAttribute(jint);
+ jboolean isSpecified(jint);
+public: // actually package-private
+ ::gnu::xml::validation::xmlschema::XMLSchemaValidatorHandler * __attribute__((aligned(__alignof__( ::javax::xml::validation::TypeInfoProvider)))) handler;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_xmlschema_XMLSchemaTypeInfoProvider__
diff --git a/libjava/gnu/xml/validation/xmlschema/XMLSchemaValidator.h b/libjava/gnu/xml/validation/xmlschema/XMLSchemaValidator.h
new file mode 100644
index 000000000..fbbb19630
--- /dev/null
+++ b/libjava/gnu/xml/validation/xmlschema/XMLSchemaValidator.h
@@ -0,0 +1,79 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_xmlschema_XMLSchemaValidator__
+#define __gnu_xml_validation_xmlschema_XMLSchemaValidator__
+
+#pragma interface
+
+#include <javax/xml/validation/Validator.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace xmlschema
+ {
+ class XMLSchema;
+ class XMLSchemaValidator;
+ }
+ }
+ }
+ }
+ 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::xmlschema::XMLSchemaValidator : public ::javax::xml::validation::Validator
+{
+
+public: // actually package-private
+ XMLSchemaValidator(::gnu::xml::validation::xmlschema::XMLSchema *);
+public:
+ void reset();
+ void validate(::javax::xml::transform::Source *, ::javax::xml::transform::Result *);
+ ::org::xml::sax::ErrorHandler * getErrorHandler();
+ void setErrorHandler(::org::xml::sax::ErrorHandler *);
+ ::org::w3c::dom::ls::LSResourceResolver * getResourceResolver();
+ void setResourceResolver(::org::w3c::dom::ls::LSResourceResolver *);
+public: // actually package-private
+ ::gnu::xml::validation::xmlschema::XMLSchema * __attribute__((aligned(__alignof__( ::javax::xml::validation::Validator)))) schema;
+ ::org::xml::sax::ErrorHandler * errorHandler;
+ ::org::w3c::dom::ls::LSResourceResolver * resourceResolver;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_xmlschema_XMLSchemaValidator__
diff --git a/libjava/gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.h b/libjava/gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.h
new file mode 100644
index 000000000..94ebcc73b
--- /dev/null
+++ b/libjava/gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.h
@@ -0,0 +1,125 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_validation_xmlschema_XMLSchemaValidatorHandler__
+#define __gnu_xml_validation_xmlschema_XMLSchemaValidatorHandler__
+
+#pragma interface
+
+#include <javax/xml/validation/ValidatorHandler.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ namespace datatype
+ {
+ class Type;
+ }
+ namespace xmlschema
+ {
+ class XMLSchema;
+ class XMLSchemaValidatorHandler;
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ class TypeInfoProvider;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace relaxng
+ {
+ namespace datatype
+ {
+ class DatatypeLibrary;
+ }
+ }
+ namespace w3c
+ {
+ namespace dom
+ {
+ class TypeInfo;
+ namespace ls
+ {
+ class LSResourceResolver;
+ }
+ }
+ }
+ namespace xml
+ {
+ namespace sax
+ {
+ class Attributes;
+ class ContentHandler;
+ class ErrorHandler;
+ class Locator;
+ namespace helpers
+ {
+ class NamespaceSupport;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::validation::xmlschema::XMLSchemaValidatorHandler : public ::javax::xml::validation::ValidatorHandler
+{
+
+public: // actually package-private
+ XMLSchemaValidatorHandler(::gnu::xml::validation::xmlschema::XMLSchema *);
+public:
+ ::org::xml::sax::ContentHandler * getContentHandler();
+ void setContentHandler(::org::xml::sax::ContentHandler *);
+ ::org::xml::sax::ErrorHandler * getErrorHandler();
+ void setErrorHandler(::org::xml::sax::ErrorHandler *);
+ ::org::w3c::dom::ls::LSResourceResolver * getResourceResolver();
+ void setResourceResolver(::org::w3c::dom::ls::LSResourceResolver *);
+ ::javax::xml::validation::TypeInfoProvider * getTypeInfoProvider();
+public: // actually package-private
+ ::org::w3c::dom::TypeInfo * getElementTypeInfo();
+ ::org::w3c::dom::TypeInfo * getAttributeTypeInfo(jint);
+ jboolean isIdAttribute(jint);
+ jboolean isSpecified(jint);
+public:
+ void setDocumentLocator(::org::xml::sax::Locator *);
+ void startDocument();
+ void endDocument();
+ void startPrefixMapping(::java::lang::String *, ::java::lang::String *);
+ void endPrefixMapping(::java::lang::String *);
+ void startElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::org::xml::sax::Attributes *);
+ void endElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ void characters(JArray< jchar > *, jint, jint);
+ void ignorableWhitespace(JArray< jchar > *, jint, jint);
+ void processingInstruction(::java::lang::String *, ::java::lang::String *);
+ void skippedEntity(::java::lang::String *);
+public: // actually package-private
+ ::gnu::xml::validation::datatype::Type * resolveType(::java::lang::String *);
+ ::gnu::xml::validation::xmlschema::XMLSchema * __attribute__((aligned(__alignof__( ::javax::xml::validation::ValidatorHandler)))) schema;
+ ::javax::xml::validation::TypeInfoProvider * typeInfoProvider;
+ ::org::xml::sax::helpers::NamespaceSupport * namespaceSupport;
+ ::org::relaxng::datatype::DatatypeLibrary * typeLibrary;
+ ::org::xml::sax::Locator * loc;
+ ::org::xml::sax::ContentHandler * contentHandler;
+ ::org::xml::sax::ErrorHandler * errorHandler;
+ ::org::w3c::dom::ls::LSResourceResolver * resourceResolver;
+ ::java::util::LinkedList * context;
+ ::java::util::ArrayList * attributes;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_validation_xmlschema_XMLSchemaValidatorHandler__