summaryrefslogtreecommitdiff
path: root/libjava/javax/xml/validation
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/javax/xml/validation')
-rw-r--r--libjava/javax/xml/validation/Schema.h37
-rw-r--r--libjava/javax/xml/validation/SchemaFactory.h85
-rw-r--r--libjava/javax/xml/validation/SchemaFactoryLoader.h35
-rw-r--r--libjava/javax/xml/validation/TypeInfoProvider.h47
-rw-r--r--libjava/javax/xml/validation/Validator.h69
-rw-r--r--libjava/javax/xml/validation/ValidatorHandler.h84
6 files changed, 357 insertions, 0 deletions
diff --git a/libjava/javax/xml/validation/Schema.h b/libjava/javax/xml/validation/Schema.h
new file mode 100644
index 000000000..482a216d2
--- /dev/null
+++ b/libjava/javax/xml/validation/Schema.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_validation_Schema__
+#define __javax_xml_validation_Schema__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ class Schema;
+ class Validator;
+ class ValidatorHandler;
+ }
+ }
+ }
+}
+
+class javax::xml::validation::Schema : public ::java::lang::Object
+{
+
+public: // actually protected
+ Schema();
+public:
+ virtual ::javax::xml::validation::Validator * newValidator() = 0;
+ virtual ::javax::xml::validation::ValidatorHandler * newValidatorHandler() = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_xml_validation_Schema__
diff --git a/libjava/javax/xml/validation/SchemaFactory.h b/libjava/javax/xml/validation/SchemaFactory.h
new file mode 100644
index 000000000..758e37684
--- /dev/null
+++ b/libjava/javax/xml/validation/SchemaFactory.h
@@ -0,0 +1,85 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_validation_SchemaFactory__
+#define __javax_xml_validation_SchemaFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ }
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace transform
+ {
+ class Source;
+ }
+ namespace validation
+ {
+ class Schema;
+ class SchemaFactory;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ namespace ls
+ {
+ class LSResourceResolver;
+ }
+ }
+ }
+ namespace xml
+ {
+ namespace sax
+ {
+ class ErrorHandler;
+ }
+ }
+ }
+}
+
+class javax::xml::validation::SchemaFactory : public ::java::lang::Object
+{
+
+public: // actually protected
+ SchemaFactory();
+public:
+ static ::javax::xml::validation::SchemaFactory * newInstance(::java::lang::String *);
+private:
+ static ::java::lang::String * getFactoryClassName(::java::lang::ClassLoader *, ::java::lang::String *, jint);
+public:
+ virtual jboolean isSchemaLanguageSupported(::java::lang::String *) = 0;
+ virtual jboolean getFeature(::java::lang::String *);
+ virtual void setFeature(::java::lang::String *, jboolean);
+ virtual ::java::lang::Object * getProperty(::java::lang::String *);
+ virtual void setProperty(::java::lang::String *, ::java::lang::Object *);
+ virtual ::org::xml::sax::ErrorHandler * getErrorHandler() = 0;
+ virtual void setErrorHandler(::org::xml::sax::ErrorHandler *) = 0;
+ virtual ::org::w3c::dom::ls::LSResourceResolver * getResourceResolver() = 0;
+ virtual void setResourceResolver(::org::w3c::dom::ls::LSResourceResolver *) = 0;
+ virtual ::javax::xml::validation::Schema * newSchema(::javax::xml::transform::Source *);
+ virtual ::javax::xml::validation::Schema * newSchema(::java::io::File *);
+ virtual ::javax::xml::validation::Schema * newSchema(::java::net::URL *);
+ virtual ::javax::xml::validation::Schema * newSchema(JArray< ::javax::xml::transform::Source * > *) = 0;
+ virtual ::javax::xml::validation::Schema * newSchema() = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_xml_validation_SchemaFactory__
diff --git a/libjava/javax/xml/validation/SchemaFactoryLoader.h b/libjava/javax/xml/validation/SchemaFactoryLoader.h
new file mode 100644
index 000000000..0593c5474
--- /dev/null
+++ b/libjava/javax/xml/validation/SchemaFactoryLoader.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_validation_SchemaFactoryLoader__
+#define __javax_xml_validation_SchemaFactoryLoader__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ class SchemaFactory;
+ class SchemaFactoryLoader;
+ }
+ }
+ }
+}
+
+class javax::xml::validation::SchemaFactoryLoader : public ::java::lang::Object
+{
+
+public: // actually protected
+ SchemaFactoryLoader();
+public:
+ virtual ::javax::xml::validation::SchemaFactory * newFactory(::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_xml_validation_SchemaFactoryLoader__
diff --git a/libjava/javax/xml/validation/TypeInfoProvider.h b/libjava/javax/xml/validation/TypeInfoProvider.h
new file mode 100644
index 000000000..0a3632688
--- /dev/null
+++ b/libjava/javax/xml/validation/TypeInfoProvider.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_validation_TypeInfoProvider__
+#define __javax_xml_validation_TypeInfoProvider__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ class TypeInfoProvider;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ class TypeInfo;
+ }
+ }
+ }
+}
+
+class javax::xml::validation::TypeInfoProvider : public ::java::lang::Object
+{
+
+public: // actually protected
+ TypeInfoProvider();
+public:
+ virtual ::org::w3c::dom::TypeInfo * getElementTypeInfo() = 0;
+ virtual ::org::w3c::dom::TypeInfo * getAttributeTypeInfo(jint) = 0;
+ virtual jboolean isIdAttribute(jint) = 0;
+ virtual jboolean isSpecified(jint) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_xml_validation_TypeInfoProvider__
diff --git a/libjava/javax/xml/validation/Validator.h b/libjava/javax/xml/validation/Validator.h
new file mode 100644
index 000000000..98dcf2862
--- /dev/null
+++ b/libjava/javax/xml/validation/Validator.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_validation_Validator__
+#define __javax_xml_validation_Validator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace transform
+ {
+ class Result;
+ class Source;
+ }
+ namespace validation
+ {
+ class Validator;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ namespace ls
+ {
+ class LSResourceResolver;
+ }
+ }
+ }
+ namespace xml
+ {
+ namespace sax
+ {
+ class ErrorHandler;
+ }
+ }
+ }
+}
+
+class javax::xml::validation::Validator : public ::java::lang::Object
+{
+
+public: // actually protected
+ Validator();
+public:
+ virtual void reset() = 0;
+ virtual void validate(::javax::xml::transform::Source *);
+ virtual void validate(::javax::xml::transform::Source *, ::javax::xml::transform::Result *) = 0;
+ virtual void setErrorHandler(::org::xml::sax::ErrorHandler *) = 0;
+ virtual ::org::xml::sax::ErrorHandler * getErrorHandler() = 0;
+ virtual void setResourceResolver(::org::w3c::dom::ls::LSResourceResolver *) = 0;
+ virtual ::org::w3c::dom::ls::LSResourceResolver * getResourceResolver() = 0;
+ virtual jboolean getFeature(::java::lang::String *);
+ virtual void setFeature(::java::lang::String *, jboolean);
+ virtual ::java::lang::Object * getProperty(::java::lang::String *);
+ virtual void setProperty(::java::lang::String *, ::java::lang::Object *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_xml_validation_Validator__
diff --git a/libjava/javax/xml/validation/ValidatorHandler.h b/libjava/javax/xml/validation/ValidatorHandler.h
new file mode 100644
index 000000000..a5f9e2f01
--- /dev/null
+++ b/libjava/javax/xml/validation/ValidatorHandler.h
@@ -0,0 +1,84 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_validation_ValidatorHandler__
+#define __javax_xml_validation_ValidatorHandler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace validation
+ {
+ class TypeInfoProvider;
+ class ValidatorHandler;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ namespace ls
+ {
+ class LSResourceResolver;
+ }
+ }
+ }
+ namespace xml
+ {
+ namespace sax
+ {
+ class Attributes;
+ class ContentHandler;
+ class ErrorHandler;
+ class Locator;
+ }
+ }
+ }
+}
+
+class javax::xml::validation::ValidatorHandler : public ::java::lang::Object
+{
+
+public: // actually protected
+ ValidatorHandler();
+public:
+ virtual void setContentHandler(::org::xml::sax::ContentHandler *) = 0;
+ virtual ::org::xml::sax::ContentHandler * getContentHandler() = 0;
+ virtual void setErrorHandler(::org::xml::sax::ErrorHandler *) = 0;
+ virtual ::org::xml::sax::ErrorHandler * getErrorHandler() = 0;
+ virtual void setResourceResolver(::org::w3c::dom::ls::LSResourceResolver *) = 0;
+ virtual ::org::w3c::dom::ls::LSResourceResolver * getResourceResolver() = 0;
+ virtual ::javax::xml::validation::TypeInfoProvider * getTypeInfoProvider() = 0;
+ virtual jboolean getFeature(::java::lang::String *);
+ virtual void setFeature(::java::lang::String *, jboolean);
+ virtual ::java::lang::Object * getProperty(::java::lang::String *);
+ virtual void setProperty(::java::lang::String *, ::java::lang::Object *);
+ virtual void setDocumentLocator(::org::xml::sax::Locator *) = 0;
+ virtual void startDocument() = 0;
+ virtual void endDocument() = 0;
+ virtual void startPrefixMapping(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual void endPrefixMapping(::java::lang::String *) = 0;
+ virtual void startElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::org::xml::sax::Attributes *) = 0;
+ virtual void endElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
+ virtual void characters(JArray< jchar > *, jint, jint) = 0;
+ virtual void ignorableWhitespace(JArray< jchar > *, jint, jint) = 0;
+ virtual void processingInstruction(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual void skippedEntity(::java::lang::String *) = 0;
+public: // actually package-private
+ static ::java::lang::String * NS_FEATURE;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_xml_validation_ValidatorHandler__