summaryrefslogtreecommitdiff
path: root/libjava/javax/xml/stream
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/javax/xml/stream
downloadcbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2
cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository.
Diffstat (limited to 'libjava/javax/xml/stream')
-rw-r--r--libjava/javax/xml/stream/EventFilter.h36
-rw-r--r--libjava/javax/xml/stream/FactoryConfigurationError.h41
-rw-r--r--libjava/javax/xml/stream/Location.h36
-rw-r--r--libjava/javax/xml/stream/StreamFilter.h33
-rw-r--r--libjava/javax/xml/stream/XMLEventFactory.h85
-rw-r--r--libjava/javax/xml/stream/XMLEventReader.h44
-rw-r--r--libjava/javax/xml/stream/XMLEventWriter.h49
-rw-r--r--libjava/javax/xml/stream/XMLInputFactory.h85
-rw-r--r--libjava/javax/xml/stream/XMLOutputFactory.h56
-rw-r--r--libjava/javax/xml/stream/XMLReporter.h33
-rw-r--r--libjava/javax/xml/stream/XMLResolver.h32
-rw-r--r--libjava/javax/xml/stream/XMLStreamConstants.h46
-rw-r--r--libjava/javax/xml/stream/XMLStreamException.h44
-rw-r--r--libjava/javax/xml/stream/XMLStreamReader.h84
-rw-r--r--libjava/javax/xml/stream/XMLStreamWriter.h69
-rw-r--r--libjava/javax/xml/stream/events/Attribute.h62
-rw-r--r--libjava/javax/xml/stream/events/Characters.h61
-rw-r--r--libjava/javax/xml/stream/events/Comment.h59
-rw-r--r--libjava/javax/xml/stream/events/DTD.h62
-rw-r--r--libjava/javax/xml/stream/events/EndDocument.h58
-rw-r--r--libjava/javax/xml/stream/events/EndElement.h59
-rw-r--r--libjava/javax/xml/stream/events/EntityDeclaration.h64
-rw-r--r--libjava/javax/xml/stream/events/EntityReference.h61
-rw-r--r--libjava/javax/xml/stream/events/Namespace.h65
-rw-r--r--libjava/javax/xml/stream/events/NotationDeclaration.h61
-rw-r--r--libjava/javax/xml/stream/events/ProcessingInstruction.h60
-rw-r--r--libjava/javax/xml/stream/events/StartDocument.h64
-rw-r--r--libjava/javax/xml/stream/events/StartElement.h65
-rw-r--r--libjava/javax/xml/stream/events/XMLEvent.h58
-rw-r--r--libjava/javax/xml/stream/util/EventReaderDelegate.h55
-rw-r--r--libjava/javax/xml/stream/util/ReaderDelegate.h95
-rw-r--r--libjava/javax/xml/stream/util/StreamReaderDelegate.h95
-rw-r--r--libjava/javax/xml/stream/util/XMLEventAllocator.h43
-rw-r--r--libjava/javax/xml/stream/util/XMLEventConsumer.h39
34 files changed, 1959 insertions, 0 deletions
diff --git a/libjava/javax/xml/stream/EventFilter.h b/libjava/javax/xml/stream/EventFilter.h
new file mode 100644
index 000000000..92cdd2480
--- /dev/null
+++ b/libjava/javax/xml/stream/EventFilter.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_EventFilter__
+#define __javax_xml_stream_EventFilter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace stream
+ {
+ class EventFilter;
+ namespace events
+ {
+ class XMLEvent;
+ }
+ }
+ }
+ }
+}
+
+class javax::xml::stream::EventFilter : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean accept(::javax::xml::stream::events::XMLEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_EventFilter__
diff --git a/libjava/javax/xml/stream/FactoryConfigurationError.h b/libjava/javax/xml/stream/FactoryConfigurationError.h
new file mode 100644
index 000000000..78ecdf6a0
--- /dev/null
+++ b/libjava/javax/xml/stream/FactoryConfigurationError.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_FactoryConfigurationError__
+#define __javax_xml_stream_FactoryConfigurationError__
+
+#pragma interface
+
+#include <java/lang/Error.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace stream
+ {
+ class FactoryConfigurationError;
+ }
+ }
+ }
+}
+
+class javax::xml::stream::FactoryConfigurationError : public ::java::lang::Error
+{
+
+public:
+ FactoryConfigurationError();
+ FactoryConfigurationError(::java::lang::Exception *);
+ FactoryConfigurationError(::java::lang::Exception *, ::java::lang::String *);
+ FactoryConfigurationError(::java::lang::String *, ::java::lang::Exception *);
+ FactoryConfigurationError(::java::lang::String *);
+ virtual ::java::lang::Exception * getException();
+ virtual ::java::lang::String * getMessage();
+private:
+ ::java::lang::Exception * __attribute__((aligned(__alignof__( ::java::lang::Error)))) exception;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_xml_stream_FactoryConfigurationError__
diff --git a/libjava/javax/xml/stream/Location.h b/libjava/javax/xml/stream/Location.h
new file mode 100644
index 000000000..c997a8011
--- /dev/null
+++ b/libjava/javax/xml/stream/Location.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_Location__
+#define __javax_xml_stream_Location__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace stream
+ {
+ class Location;
+ }
+ }
+ }
+}
+
+class javax::xml::stream::Location : public ::java::lang::Object
+{
+
+public:
+ virtual jint getLineNumber() = 0;
+ virtual jint getColumnNumber() = 0;
+ virtual jint getCharacterOffset() = 0;
+ virtual ::java::lang::String * getPublicId() = 0;
+ virtual ::java::lang::String * getSystemId() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_Location__
diff --git a/libjava/javax/xml/stream/StreamFilter.h b/libjava/javax/xml/stream/StreamFilter.h
new file mode 100644
index 000000000..82daf6ad5
--- /dev/null
+++ b/libjava/javax/xml/stream/StreamFilter.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_StreamFilter__
+#define __javax_xml_stream_StreamFilter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace stream
+ {
+ class StreamFilter;
+ class XMLStreamReader;
+ }
+ }
+ }
+}
+
+class javax::xml::stream::StreamFilter : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean accept(::javax::xml::stream::XMLStreamReader *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_StreamFilter__
diff --git a/libjava/javax/xml/stream/XMLEventFactory.h b/libjava/javax/xml/stream/XMLEventFactory.h
new file mode 100644
index 000000000..d64a2859b
--- /dev/null
+++ b/libjava/javax/xml/stream/XMLEventFactory.h
@@ -0,0 +1,85 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_XMLEventFactory__
+#define __javax_xml_stream_XMLEventFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class NamespaceContext;
+ class QName;
+ }
+ namespace stream
+ {
+ class Location;
+ class XMLEventFactory;
+ namespace events
+ {
+ class Attribute;
+ class Characters;
+ class Comment;
+ class DTD;
+ class EndDocument;
+ class EndElement;
+ class EntityDeclaration;
+ class EntityReference;
+ class Namespace;
+ class ProcessingInstruction;
+ class StartDocument;
+ class StartElement;
+ }
+ }
+ }
+ }
+}
+
+class javax::xml::stream::XMLEventFactory : public ::java::lang::Object
+{
+
+public: // actually protected
+ XMLEventFactory();
+public:
+ static ::javax::xml::stream::XMLEventFactory * newInstance();
+ static ::javax::xml::stream::XMLEventFactory * newInstance(::java::lang::String *, ::java::lang::ClassLoader *);
+private:
+ static ::java::lang::String * getFactoryClassName(::java::lang::ClassLoader *, jint);
+public:
+ virtual void setLocation(::javax::xml::stream::Location *) = 0;
+ virtual ::javax::xml::stream::events::Attribute * createAttribute(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::javax::xml::stream::events::Attribute * createAttribute(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::javax::xml::stream::events::Attribute * createAttribute(::javax::xml::namespace$::QName *, ::java::lang::String *) = 0;
+ virtual ::javax::xml::stream::events::Namespace * createNamespace(::java::lang::String *) = 0;
+ virtual ::javax::xml::stream::events::Namespace * createNamespace(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::javax::xml::stream::events::StartElement * createStartElement(::javax::xml::namespace$::QName *, ::java::util::Iterator *, ::java::util::Iterator *) = 0;
+ virtual ::javax::xml::stream::events::StartElement * createStartElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::javax::xml::stream::events::StartElement * createStartElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::util::Iterator *, ::java::util::Iterator *) = 0;
+ virtual ::javax::xml::stream::events::StartElement * createStartElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::util::Iterator *, ::java::util::Iterator *, ::javax::xml::namespace$::NamespaceContext *) = 0;
+ virtual ::javax::xml::stream::events::EndElement * createEndElement(::javax::xml::namespace$::QName *, ::java::util::Iterator *) = 0;
+ virtual ::javax::xml::stream::events::EndElement * createEndElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::javax::xml::stream::events::EndElement * createEndElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::util::Iterator *) = 0;
+ virtual ::javax::xml::stream::events::Characters * createCharacters(::java::lang::String *) = 0;
+ virtual ::javax::xml::stream::events::Characters * createCData(::java::lang::String *) = 0;
+ virtual ::javax::xml::stream::events::Characters * createSpace(::java::lang::String *) = 0;
+ virtual ::javax::xml::stream::events::Characters * createIgnorableSpace(::java::lang::String *) = 0;
+ virtual ::javax::xml::stream::events::StartDocument * createStartDocument() = 0;
+ virtual ::javax::xml::stream::events::StartDocument * createStartDocument(::java::lang::String *, ::java::lang::String *, jboolean) = 0;
+ virtual ::javax::xml::stream::events::StartDocument * createStartDocument(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::javax::xml::stream::events::StartDocument * createStartDocument(::java::lang::String *) = 0;
+ virtual ::javax::xml::stream::events::EndDocument * createEndDocument() = 0;
+ virtual ::javax::xml::stream::events::EntityReference * createEntityReference(::java::lang::String *, ::javax::xml::stream::events::EntityDeclaration *) = 0;
+ virtual ::javax::xml::stream::events::Comment * createComment(::java::lang::String *) = 0;
+ virtual ::javax::xml::stream::events::ProcessingInstruction * createProcessingInstruction(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::javax::xml::stream::events::DTD * createDTD(::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_xml_stream_XMLEventFactory__
diff --git a/libjava/javax/xml/stream/XMLEventReader.h b/libjava/javax/xml/stream/XMLEventReader.h
new file mode 100644
index 000000000..e4ef90a6a
--- /dev/null
+++ b/libjava/javax/xml/stream/XMLEventReader.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_XMLEventReader__
+#define __javax_xml_stream_XMLEventReader__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace stream
+ {
+ class XMLEventReader;
+ namespace events
+ {
+ class XMLEvent;
+ }
+ }
+ }
+ }
+}
+
+class javax::xml::stream::XMLEventReader : public ::java::lang::Object
+{
+
+public:
+ virtual ::javax::xml::stream::events::XMLEvent * nextEvent() = 0;
+ virtual jboolean hasNext() = 0;
+ virtual ::javax::xml::stream::events::XMLEvent * peek() = 0;
+ virtual ::java::lang::String * getElementText() = 0;
+ virtual ::javax::xml::stream::events::XMLEvent * nextTag() = 0;
+ virtual ::java::lang::Object * getProperty(::java::lang::String *) = 0;
+ virtual void close() = 0;
+ virtual ::java::lang::Object * next() = 0;
+ virtual void remove() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_XMLEventReader__
diff --git a/libjava/javax/xml/stream/XMLEventWriter.h b/libjava/javax/xml/stream/XMLEventWriter.h
new file mode 100644
index 000000000..9ed0aa1df
--- /dev/null
+++ b/libjava/javax/xml/stream/XMLEventWriter.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_XMLEventWriter__
+#define __javax_xml_stream_XMLEventWriter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class NamespaceContext;
+ }
+ namespace stream
+ {
+ class XMLEventReader;
+ class XMLEventWriter;
+ namespace events
+ {
+ class XMLEvent;
+ }
+ }
+ }
+ }
+}
+
+class javax::xml::stream::XMLEventWriter : public ::java::lang::Object
+{
+
+public:
+ virtual void flush() = 0;
+ virtual void close() = 0;
+ virtual void add(::javax::xml::stream::events::XMLEvent *) = 0;
+ virtual void add(::javax::xml::stream::XMLEventReader *) = 0;
+ virtual ::java::lang::String * getPrefix(::java::lang::String *) = 0;
+ virtual void setPrefix(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual void setDefaultNamespace(::java::lang::String *) = 0;
+ virtual void setNamespaceContext(::javax::xml::namespace$::NamespaceContext *) = 0;
+ virtual ::javax::xml::namespace$::NamespaceContext * getNamespaceContext() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_XMLEventWriter__
diff --git a/libjava/javax/xml/stream/XMLInputFactory.h b/libjava/javax/xml/stream/XMLInputFactory.h
new file mode 100644
index 000000000..13239f143
--- /dev/null
+++ b/libjava/javax/xml/stream/XMLInputFactory.h
@@ -0,0 +1,85 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_XMLInputFactory__
+#define __javax_xml_stream_XMLInputFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace stream
+ {
+ class EventFilter;
+ class StreamFilter;
+ class XMLEventReader;
+ class XMLInputFactory;
+ class XMLReporter;
+ class XMLResolver;
+ class XMLStreamReader;
+ namespace util
+ {
+ class XMLEventAllocator;
+ }
+ }
+ namespace transform
+ {
+ class Source;
+ }
+ }
+ }
+}
+
+class javax::xml::stream::XMLInputFactory : public ::java::lang::Object
+{
+
+public: // actually protected
+ XMLInputFactory();
+public:
+ static ::javax::xml::stream::XMLInputFactory * newInstance();
+ static ::javax::xml::stream::XMLInputFactory * newInstance(::java::lang::String *, ::java::lang::ClassLoader *);
+private:
+ static ::java::lang::String * getFactoryClassName(::java::lang::ClassLoader *, jint);
+public:
+ virtual ::javax::xml::stream::XMLStreamReader * createXMLStreamReader(::java::io::Reader *) = 0;
+ virtual ::javax::xml::stream::XMLStreamReader * createXMLStreamReader(::javax::xml::transform::Source *) = 0;
+ virtual ::javax::xml::stream::XMLStreamReader * createXMLStreamReader(::java::io::InputStream *) = 0;
+ virtual ::javax::xml::stream::XMLStreamReader * createXMLStreamReader(::java::io::InputStream *, ::java::lang::String *) = 0;
+ virtual ::javax::xml::stream::XMLStreamReader * createXMLStreamReader(::java::lang::String *, ::java::io::InputStream *) = 0;
+ virtual ::javax::xml::stream::XMLStreamReader * createXMLStreamReader(::java::lang::String *, ::java::io::Reader *) = 0;
+ virtual ::javax::xml::stream::XMLEventReader * createXMLEventReader(::java::io::Reader *) = 0;
+ virtual ::javax::xml::stream::XMLEventReader * createXMLEventReader(::java::lang::String *, ::java::io::Reader *) = 0;
+ virtual ::javax::xml::stream::XMLEventReader * createXMLEventReader(::javax::xml::stream::XMLStreamReader *) = 0;
+ virtual ::javax::xml::stream::XMLEventReader * createXMLEventReader(::javax::xml::transform::Source *) = 0;
+ virtual ::javax::xml::stream::XMLEventReader * createXMLEventReader(::java::io::InputStream *) = 0;
+ virtual ::javax::xml::stream::XMLEventReader * createXMLEventReader(::java::io::InputStream *, ::java::lang::String *) = 0;
+ virtual ::javax::xml::stream::XMLEventReader * createXMLEventReader(::java::lang::String *, ::java::io::InputStream *) = 0;
+ virtual ::javax::xml::stream::XMLStreamReader * createFilteredReader(::javax::xml::stream::XMLStreamReader *, ::javax::xml::stream::StreamFilter *) = 0;
+ virtual ::javax::xml::stream::XMLEventReader * createFilteredReader(::javax::xml::stream::XMLEventReader *, ::javax::xml::stream::EventFilter *) = 0;
+ virtual ::javax::xml::stream::XMLResolver * getXMLResolver() = 0;
+ virtual void setXMLResolver(::javax::xml::stream::XMLResolver *) = 0;
+ virtual ::javax::xml::stream::XMLReporter * getXMLReporter() = 0;
+ virtual void setXMLReporter(::javax::xml::stream::XMLReporter *) = 0;
+ virtual void setProperty(::java::lang::String *, ::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * getProperty(::java::lang::String *) = 0;
+ virtual jboolean isPropertySupported(::java::lang::String *) = 0;
+ virtual void setEventAllocator(::javax::xml::stream::util::XMLEventAllocator *) = 0;
+ virtual ::javax::xml::stream::util::XMLEventAllocator * getEventAllocator() = 0;
+ static ::java::lang::String * IS_NAMESPACE_AWARE;
+ static ::java::lang::String * IS_VALIDATING;
+ static ::java::lang::String * IS_COALESCING;
+ static ::java::lang::String * IS_REPLACING_ENTITY_REFERENCES;
+ static ::java::lang::String * IS_SUPPORTING_EXTERNAL_ENTITIES;
+ static ::java::lang::String * SUPPORT_DTD;
+ static ::java::lang::String * REPORTER;
+ static ::java::lang::String * RESOLVER;
+ static ::java::lang::String * ALLOCATOR;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_xml_stream_XMLInputFactory__
diff --git a/libjava/javax/xml/stream/XMLOutputFactory.h b/libjava/javax/xml/stream/XMLOutputFactory.h
new file mode 100644
index 000000000..ad20deb70
--- /dev/null
+++ b/libjava/javax/xml/stream/XMLOutputFactory.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_XMLOutputFactory__
+#define __javax_xml_stream_XMLOutputFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace stream
+ {
+ class XMLEventWriter;
+ class XMLOutputFactory;
+ class XMLStreamWriter;
+ }
+ namespace transform
+ {
+ class Result;
+ }
+ }
+ }
+}
+
+class javax::xml::stream::XMLOutputFactory : public ::java::lang::Object
+{
+
+public: // actually protected
+ XMLOutputFactory();
+public:
+ static ::javax::xml::stream::XMLOutputFactory * newInstance();
+ static ::javax::xml::stream::XMLOutputFactory * newInstance(::java::lang::String *, ::java::lang::ClassLoader *);
+private:
+ static ::java::lang::String * getFactoryClassName(::java::lang::ClassLoader *, jint);
+public:
+ virtual ::javax::xml::stream::XMLStreamWriter * createXMLStreamWriter(::java::io::Writer *) = 0;
+ virtual ::javax::xml::stream::XMLStreamWriter * createXMLStreamWriter(::java::io::OutputStream *) = 0;
+ virtual ::javax::xml::stream::XMLStreamWriter * createXMLStreamWriter(::java::io::OutputStream *, ::java::lang::String *) = 0;
+ virtual ::javax::xml::stream::XMLStreamWriter * createXMLStreamWriter(::javax::xml::transform::Result *) = 0;
+ virtual ::javax::xml::stream::XMLEventWriter * createXMLEventWriter(::javax::xml::transform::Result *) = 0;
+ virtual ::javax::xml::stream::XMLEventWriter * createXMLEventWriter(::java::io::OutputStream *) = 0;
+ virtual ::javax::xml::stream::XMLEventWriter * createXMLEventWriter(::java::io::OutputStream *, ::java::lang::String *) = 0;
+ virtual ::javax::xml::stream::XMLEventWriter * createXMLEventWriter(::java::io::Writer *) = 0;
+ virtual void setProperty(::java::lang::String *, ::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * getProperty(::java::lang::String *) = 0;
+ virtual jboolean isPropertySupported(::java::lang::String *) = 0;
+ static ::java::lang::String * IS_REPAIRING_NAMESPACES;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_xml_stream_XMLOutputFactory__
diff --git a/libjava/javax/xml/stream/XMLReporter.h b/libjava/javax/xml/stream/XMLReporter.h
new file mode 100644
index 000000000..4416f8408
--- /dev/null
+++ b/libjava/javax/xml/stream/XMLReporter.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_XMLReporter__
+#define __javax_xml_stream_XMLReporter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace stream
+ {
+ class Location;
+ class XMLReporter;
+ }
+ }
+ }
+}
+
+class javax::xml::stream::XMLReporter : public ::java::lang::Object
+{
+
+public:
+ virtual void report(::java::lang::String *, ::java::lang::String *, ::java::lang::Object *, ::javax::xml::stream::Location *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_XMLReporter__
diff --git a/libjava/javax/xml/stream/XMLResolver.h b/libjava/javax/xml/stream/XMLResolver.h
new file mode 100644
index 000000000..254dc2ca2
--- /dev/null
+++ b/libjava/javax/xml/stream/XMLResolver.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_XMLResolver__
+#define __javax_xml_stream_XMLResolver__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace stream
+ {
+ class XMLResolver;
+ }
+ }
+ }
+}
+
+class javax::xml::stream::XMLResolver : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Object * resolveEntity(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_XMLResolver__
diff --git a/libjava/javax/xml/stream/XMLStreamConstants.h b/libjava/javax/xml/stream/XMLStreamConstants.h
new file mode 100644
index 000000000..d042a7cd0
--- /dev/null
+++ b/libjava/javax/xml/stream/XMLStreamConstants.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_XMLStreamConstants__
+#define __javax_xml_stream_XMLStreamConstants__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace stream
+ {
+ class XMLStreamConstants;
+ }
+ }
+ }
+}
+
+class javax::xml::stream::XMLStreamConstants : public ::java::lang::Object
+{
+
+public:
+ static const jint START_ELEMENT = 1;
+ static const jint END_ELEMENT = 2;
+ static const jint PROCESSING_INSTRUCTION = 3;
+ static const jint CHARACTERS = 4;
+ static const jint COMMENT = 5;
+ static const jint SPACE = 6;
+ static const jint START_DOCUMENT = 7;
+ static const jint END_DOCUMENT = 8;
+ static const jint ENTITY_REFERENCE = 9;
+ static const jint ATTRIBUTE = 10;
+ static const jint DTD = 11;
+ static const jint CDATA = 12;
+ static const jint NAMESPACE = 13;
+ static const jint NOTATION_DECLARATION = 14;
+ static const jint ENTITY_DECLARATION = 15;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_XMLStreamConstants__
diff --git a/libjava/javax/xml/stream/XMLStreamException.h b/libjava/javax/xml/stream/XMLStreamException.h
new file mode 100644
index 000000000..71acc39c0
--- /dev/null
+++ b/libjava/javax/xml/stream/XMLStreamException.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_XMLStreamException__
+#define __javax_xml_stream_XMLStreamException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace stream
+ {
+ class Location;
+ class XMLStreamException;
+ }
+ }
+ }
+}
+
+class javax::xml::stream::XMLStreamException : public ::java::lang::Exception
+{
+
+public:
+ XMLStreamException();
+ XMLStreamException(::java::lang::String *);
+ XMLStreamException(::java::lang::Throwable *);
+ XMLStreamException(::java::lang::String *, ::java::lang::Throwable *);
+ XMLStreamException(::java::lang::String *, ::javax::xml::stream::Location *, ::java::lang::Throwable *);
+ XMLStreamException(::java::lang::String *, ::javax::xml::stream::Location *);
+ virtual ::java::lang::Throwable * getNestedException();
+ virtual ::javax::xml::stream::Location * getLocation();
+public: // actually protected
+ ::javax::xml::stream::Location * __attribute__((aligned(__alignof__( ::java::lang::Exception)))) location;
+ ::java::lang::Throwable * nested;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_xml_stream_XMLStreamException__
diff --git a/libjava/javax/xml/stream/XMLStreamReader.h b/libjava/javax/xml/stream/XMLStreamReader.h
new file mode 100644
index 000000000..47b49b408
--- /dev/null
+++ b/libjava/javax/xml/stream/XMLStreamReader.h
@@ -0,0 +1,84 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_XMLStreamReader__
+#define __javax_xml_stream_XMLStreamReader__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class NamespaceContext;
+ class QName;
+ }
+ namespace stream
+ {
+ class Location;
+ class XMLStreamReader;
+ }
+ }
+ }
+}
+
+class javax::xml::stream::XMLStreamReader : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Object * getProperty(::java::lang::String *) = 0;
+ virtual jint next() = 0;
+ virtual void require(jint, ::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::java::lang::String * getElementText() = 0;
+ virtual jint nextTag() = 0;
+ virtual jboolean hasNext() = 0;
+ virtual void close() = 0;
+ virtual ::java::lang::String * getNamespaceURI(::java::lang::String *) = 0;
+ virtual jboolean isStartElement() = 0;
+ virtual jboolean isEndElement() = 0;
+ virtual jboolean isCharacters() = 0;
+ virtual jboolean isWhiteSpace() = 0;
+ virtual ::java::lang::String * getAttributeValue(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual jint getAttributeCount() = 0;
+ virtual ::javax::xml::namespace$::QName * getAttributeName(jint) = 0;
+ virtual ::java::lang::String * getAttributeNamespace(jint) = 0;
+ virtual ::java::lang::String * getAttributeLocalName(jint) = 0;
+ virtual ::java::lang::String * getAttributePrefix(jint) = 0;
+ virtual ::java::lang::String * getAttributeType(jint) = 0;
+ virtual ::java::lang::String * getAttributeValue(jint) = 0;
+ virtual jboolean isAttributeSpecified(jint) = 0;
+ virtual jint getNamespaceCount() = 0;
+ virtual ::java::lang::String * getNamespacePrefix(jint) = 0;
+ virtual ::java::lang::String * getNamespaceURI(jint) = 0;
+ virtual ::javax::xml::namespace$::NamespaceContext * getNamespaceContext() = 0;
+ virtual jint getEventType() = 0;
+ virtual ::java::lang::String * getText() = 0;
+ virtual JArray< jchar > * getTextCharacters() = 0;
+ virtual jint getTextCharacters(jint, JArray< jchar > *, jint, jint) = 0;
+ virtual jint getTextStart() = 0;
+ virtual jint getTextLength() = 0;
+ virtual ::java::lang::String * getEncoding() = 0;
+ virtual jboolean hasText() = 0;
+ virtual ::javax::xml::stream::Location * getLocation() = 0;
+ virtual ::javax::xml::namespace$::QName * getName() = 0;
+ virtual ::java::lang::String * getLocalName() = 0;
+ virtual jboolean hasName() = 0;
+ virtual ::java::lang::String * getNamespaceURI() = 0;
+ virtual ::java::lang::String * getPrefix() = 0;
+ virtual ::java::lang::String * getVersion() = 0;
+ virtual jboolean isStandalone() = 0;
+ virtual jboolean standaloneSet() = 0;
+ virtual ::java::lang::String * getCharacterEncodingScheme() = 0;
+ virtual ::java::lang::String * getPITarget() = 0;
+ virtual ::java::lang::String * getPIData() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_XMLStreamReader__
diff --git a/libjava/javax/xml/stream/XMLStreamWriter.h b/libjava/javax/xml/stream/XMLStreamWriter.h
new file mode 100644
index 000000000..e4bed463c
--- /dev/null
+++ b/libjava/javax/xml/stream/XMLStreamWriter.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_XMLStreamWriter__
+#define __javax_xml_stream_XMLStreamWriter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class NamespaceContext;
+ }
+ namespace stream
+ {
+ class XMLStreamWriter;
+ }
+ }
+ }
+}
+
+class javax::xml::stream::XMLStreamWriter : public ::java::lang::Object
+{
+
+public:
+ virtual void writeStartElement(::java::lang::String *) = 0;
+ virtual void writeStartElement(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual void writeStartElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
+ virtual void writeEmptyElement(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual void writeEmptyElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
+ virtual void writeEmptyElement(::java::lang::String *) = 0;
+ virtual void writeEndElement() = 0;
+ virtual void writeEndDocument() = 0;
+ virtual void close() = 0;
+ virtual void flush() = 0;
+ virtual void writeAttribute(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual void writeAttribute(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
+ virtual void writeAttribute(::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
+ virtual void writeNamespace(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual void writeDefaultNamespace(::java::lang::String *) = 0;
+ virtual void writeComment(::java::lang::String *) = 0;
+ virtual void writeProcessingInstruction(::java::lang::String *) = 0;
+ virtual void writeProcessingInstruction(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual void writeCData(::java::lang::String *) = 0;
+ virtual void writeDTD(::java::lang::String *) = 0;
+ virtual void writeEntityRef(::java::lang::String *) = 0;
+ virtual void writeStartDocument() = 0;
+ virtual void writeStartDocument(::java::lang::String *) = 0;
+ virtual void writeStartDocument(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual void writeCharacters(::java::lang::String *) = 0;
+ virtual void writeCharacters(JArray< jchar > *, jint, jint) = 0;
+ virtual ::java::lang::String * getPrefix(::java::lang::String *) = 0;
+ virtual void setPrefix(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual void setDefaultNamespace(::java::lang::String *) = 0;
+ virtual void setNamespaceContext(::javax::xml::namespace$::NamespaceContext *) = 0;
+ virtual ::javax::xml::namespace$::NamespaceContext * getNamespaceContext() = 0;
+ virtual ::java::lang::Object * getProperty(::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_XMLStreamWriter__
diff --git a/libjava/javax/xml/stream/events/Attribute.h b/libjava/javax/xml/stream/events/Attribute.h
new file mode 100644
index 000000000..d4e42b5a5
--- /dev/null
+++ b/libjava/javax/xml/stream/events/Attribute.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_events_Attribute__
+#define __javax_xml_stream_events_Attribute__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class QName;
+ }
+ namespace stream
+ {
+ class Location;
+ namespace events
+ {
+ class Attribute;
+ class Characters;
+ class EndElement;
+ class StartElement;
+ }
+ }
+ }
+ }
+}
+
+class javax::xml::stream::events::Attribute : public ::java::lang::Object
+{
+
+public:
+ virtual ::javax::xml::namespace$::QName * getName() = 0;
+ virtual ::java::lang::String * getValue() = 0;
+ virtual ::java::lang::String * getDTDType() = 0;
+ virtual jboolean isSpecified() = 0;
+ virtual jint getEventType() = 0;
+ virtual ::javax::xml::stream::Location * getLocation() = 0;
+ virtual jboolean isStartElement() = 0;
+ virtual jboolean isAttribute() = 0;
+ virtual jboolean isNamespace() = 0;
+ virtual jboolean isEndElement() = 0;
+ virtual jboolean isEntityReference() = 0;
+ virtual jboolean isProcessingInstruction() = 0;
+ virtual jboolean isCharacters() = 0;
+ virtual jboolean isStartDocument() = 0;
+ virtual jboolean isEndDocument() = 0;
+ virtual ::javax::xml::stream::events::StartElement * asStartElement() = 0;
+ virtual ::javax::xml::stream::events::EndElement * asEndElement() = 0;
+ virtual ::javax::xml::stream::events::Characters * asCharacters() = 0;
+ virtual ::javax::xml::namespace$::QName * getSchemaType() = 0;
+ virtual void writeAsEncodedUnicode(::java::io::Writer *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_events_Attribute__
diff --git a/libjava/javax/xml/stream/events/Characters.h b/libjava/javax/xml/stream/events/Characters.h
new file mode 100644
index 000000000..539d45f3c
--- /dev/null
+++ b/libjava/javax/xml/stream/events/Characters.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_events_Characters__
+#define __javax_xml_stream_events_Characters__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class QName;
+ }
+ namespace stream
+ {
+ class Location;
+ namespace events
+ {
+ class Characters;
+ class EndElement;
+ class StartElement;
+ }
+ }
+ }
+ }
+}
+
+class javax::xml::stream::events::Characters : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * getData() = 0;
+ virtual jboolean isWhiteSpace() = 0;
+ virtual jboolean isCData() = 0;
+ virtual jboolean isIgnorableWhiteSpace() = 0;
+ virtual jint getEventType() = 0;
+ virtual ::javax::xml::stream::Location * getLocation() = 0;
+ virtual jboolean isStartElement() = 0;
+ virtual jboolean isAttribute() = 0;
+ virtual jboolean isNamespace() = 0;
+ virtual jboolean isEndElement() = 0;
+ virtual jboolean isEntityReference() = 0;
+ virtual jboolean isProcessingInstruction() = 0;
+ virtual jboolean isCharacters() = 0;
+ virtual jboolean isStartDocument() = 0;
+ virtual jboolean isEndDocument() = 0;
+ virtual ::javax::xml::stream::events::StartElement * asStartElement() = 0;
+ virtual ::javax::xml::stream::events::EndElement * asEndElement() = 0;
+ virtual ::javax::xml::stream::events::Characters * asCharacters() = 0;
+ virtual ::javax::xml::namespace$::QName * getSchemaType() = 0;
+ virtual void writeAsEncodedUnicode(::java::io::Writer *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_events_Characters__
diff --git a/libjava/javax/xml/stream/events/Comment.h b/libjava/javax/xml/stream/events/Comment.h
new file mode 100644
index 000000000..ba81b85a8
--- /dev/null
+++ b/libjava/javax/xml/stream/events/Comment.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_events_Comment__
+#define __javax_xml_stream_events_Comment__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class QName;
+ }
+ namespace stream
+ {
+ class Location;
+ namespace events
+ {
+ class Characters;
+ class Comment;
+ class EndElement;
+ class StartElement;
+ }
+ }
+ }
+ }
+}
+
+class javax::xml::stream::events::Comment : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * getText() = 0;
+ virtual jint getEventType() = 0;
+ virtual ::javax::xml::stream::Location * getLocation() = 0;
+ virtual jboolean isStartElement() = 0;
+ virtual jboolean isAttribute() = 0;
+ virtual jboolean isNamespace() = 0;
+ virtual jboolean isEndElement() = 0;
+ virtual jboolean isEntityReference() = 0;
+ virtual jboolean isProcessingInstruction() = 0;
+ virtual jboolean isCharacters() = 0;
+ virtual jboolean isStartDocument() = 0;
+ virtual jboolean isEndDocument() = 0;
+ virtual ::javax::xml::stream::events::StartElement * asStartElement() = 0;
+ virtual ::javax::xml::stream::events::EndElement * asEndElement() = 0;
+ virtual ::javax::xml::stream::events::Characters * asCharacters() = 0;
+ virtual ::javax::xml::namespace$::QName * getSchemaType() = 0;
+ virtual void writeAsEncodedUnicode(::java::io::Writer *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_events_Comment__
diff --git a/libjava/javax/xml/stream/events/DTD.h b/libjava/javax/xml/stream/events/DTD.h
new file mode 100644
index 000000000..2932d6871
--- /dev/null
+++ b/libjava/javax/xml/stream/events/DTD.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_events_DTD__
+#define __javax_xml_stream_events_DTD__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class QName;
+ }
+ namespace stream
+ {
+ class Location;
+ namespace events
+ {
+ class Characters;
+ class DTD;
+ class EndElement;
+ class StartElement;
+ }
+ }
+ }
+ }
+}
+
+class javax::xml::stream::events::DTD : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * getDocumentTypeDeclaration() = 0;
+ virtual ::java::lang::Object * getProcessedDTD() = 0;
+ virtual ::java::util::List * getNotations() = 0;
+ virtual ::java::util::List * getEntities() = 0;
+ virtual jint getEventType() = 0;
+ virtual ::javax::xml::stream::Location * getLocation() = 0;
+ virtual jboolean isStartElement() = 0;
+ virtual jboolean isAttribute() = 0;
+ virtual jboolean isNamespace() = 0;
+ virtual jboolean isEndElement() = 0;
+ virtual jboolean isEntityReference() = 0;
+ virtual jboolean isProcessingInstruction() = 0;
+ virtual jboolean isCharacters() = 0;
+ virtual jboolean isStartDocument() = 0;
+ virtual jboolean isEndDocument() = 0;
+ virtual ::javax::xml::stream::events::StartElement * asStartElement() = 0;
+ virtual ::javax::xml::stream::events::EndElement * asEndElement() = 0;
+ virtual ::javax::xml::stream::events::Characters * asCharacters() = 0;
+ virtual ::javax::xml::namespace$::QName * getSchemaType() = 0;
+ virtual void writeAsEncodedUnicode(::java::io::Writer *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_events_DTD__
diff --git a/libjava/javax/xml/stream/events/EndDocument.h b/libjava/javax/xml/stream/events/EndDocument.h
new file mode 100644
index 000000000..e3cdc98db
--- /dev/null
+++ b/libjava/javax/xml/stream/events/EndDocument.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_events_EndDocument__
+#define __javax_xml_stream_events_EndDocument__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class QName;
+ }
+ namespace stream
+ {
+ class Location;
+ namespace events
+ {
+ class Characters;
+ class EndDocument;
+ class EndElement;
+ class StartElement;
+ }
+ }
+ }
+ }
+}
+
+class javax::xml::stream::events::EndDocument : public ::java::lang::Object
+{
+
+public:
+ virtual jint getEventType() = 0;
+ virtual ::javax::xml::stream::Location * getLocation() = 0;
+ virtual jboolean isStartElement() = 0;
+ virtual jboolean isAttribute() = 0;
+ virtual jboolean isNamespace() = 0;
+ virtual jboolean isEndElement() = 0;
+ virtual jboolean isEntityReference() = 0;
+ virtual jboolean isProcessingInstruction() = 0;
+ virtual jboolean isCharacters() = 0;
+ virtual jboolean isStartDocument() = 0;
+ virtual jboolean isEndDocument() = 0;
+ virtual ::javax::xml::stream::events::StartElement * asStartElement() = 0;
+ virtual ::javax::xml::stream::events::EndElement * asEndElement() = 0;
+ virtual ::javax::xml::stream::events::Characters * asCharacters() = 0;
+ virtual ::javax::xml::namespace$::QName * getSchemaType() = 0;
+ virtual void writeAsEncodedUnicode(::java::io::Writer *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_events_EndDocument__
diff --git a/libjava/javax/xml/stream/events/EndElement.h b/libjava/javax/xml/stream/events/EndElement.h
new file mode 100644
index 000000000..b67f2bb18
--- /dev/null
+++ b/libjava/javax/xml/stream/events/EndElement.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_events_EndElement__
+#define __javax_xml_stream_events_EndElement__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class QName;
+ }
+ namespace stream
+ {
+ class Location;
+ namespace events
+ {
+ class Characters;
+ class EndElement;
+ class StartElement;
+ }
+ }
+ }
+ }
+}
+
+class javax::xml::stream::events::EndElement : public ::java::lang::Object
+{
+
+public:
+ virtual ::javax::xml::namespace$::QName * getName() = 0;
+ virtual ::java::util::Iterator * getNamespaces() = 0;
+ virtual jint getEventType() = 0;
+ virtual ::javax::xml::stream::Location * getLocation() = 0;
+ virtual jboolean isStartElement() = 0;
+ virtual jboolean isAttribute() = 0;
+ virtual jboolean isNamespace() = 0;
+ virtual jboolean isEndElement() = 0;
+ virtual jboolean isEntityReference() = 0;
+ virtual jboolean isProcessingInstruction() = 0;
+ virtual jboolean isCharacters() = 0;
+ virtual jboolean isStartDocument() = 0;
+ virtual jboolean isEndDocument() = 0;
+ virtual ::javax::xml::stream::events::StartElement * asStartElement() = 0;
+ virtual ::javax::xml::stream::events::EndElement * asEndElement() = 0;
+ virtual ::javax::xml::stream::events::Characters * asCharacters() = 0;
+ virtual ::javax::xml::namespace$::QName * getSchemaType() = 0;
+ virtual void writeAsEncodedUnicode(::java::io::Writer *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_events_EndElement__
diff --git a/libjava/javax/xml/stream/events/EntityDeclaration.h b/libjava/javax/xml/stream/events/EntityDeclaration.h
new file mode 100644
index 000000000..f4075edc4
--- /dev/null
+++ b/libjava/javax/xml/stream/events/EntityDeclaration.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_events_EntityDeclaration__
+#define __javax_xml_stream_events_EntityDeclaration__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class QName;
+ }
+ namespace stream
+ {
+ class Location;
+ namespace events
+ {
+ class Characters;
+ class EndElement;
+ class EntityDeclaration;
+ class StartElement;
+ }
+ }
+ }
+ }
+}
+
+class javax::xml::stream::events::EntityDeclaration : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * getPublicId() = 0;
+ virtual ::java::lang::String * getSystemId() = 0;
+ virtual ::java::lang::String * getName() = 0;
+ virtual ::java::lang::String * getNotationName() = 0;
+ virtual ::java::lang::String * getReplacementText() = 0;
+ virtual ::java::lang::String * getBaseURI() = 0;
+ virtual jint getEventType() = 0;
+ virtual ::javax::xml::stream::Location * getLocation() = 0;
+ virtual jboolean isStartElement() = 0;
+ virtual jboolean isAttribute() = 0;
+ virtual jboolean isNamespace() = 0;
+ virtual jboolean isEndElement() = 0;
+ virtual jboolean isEntityReference() = 0;
+ virtual jboolean isProcessingInstruction() = 0;
+ virtual jboolean isCharacters() = 0;
+ virtual jboolean isStartDocument() = 0;
+ virtual jboolean isEndDocument() = 0;
+ virtual ::javax::xml::stream::events::StartElement * asStartElement() = 0;
+ virtual ::javax::xml::stream::events::EndElement * asEndElement() = 0;
+ virtual ::javax::xml::stream::events::Characters * asCharacters() = 0;
+ virtual ::javax::xml::namespace$::QName * getSchemaType() = 0;
+ virtual void writeAsEncodedUnicode(::java::io::Writer *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_events_EntityDeclaration__
diff --git a/libjava/javax/xml/stream/events/EntityReference.h b/libjava/javax/xml/stream/events/EntityReference.h
new file mode 100644
index 000000000..548bbc6b3
--- /dev/null
+++ b/libjava/javax/xml/stream/events/EntityReference.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_events_EntityReference__
+#define __javax_xml_stream_events_EntityReference__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class QName;
+ }
+ namespace stream
+ {
+ class Location;
+ namespace events
+ {
+ class Characters;
+ class EndElement;
+ class EntityDeclaration;
+ class EntityReference;
+ class StartElement;
+ }
+ }
+ }
+ }
+}
+
+class javax::xml::stream::events::EntityReference : public ::java::lang::Object
+{
+
+public:
+ virtual ::javax::xml::stream::events::EntityDeclaration * getDeclaration() = 0;
+ virtual ::java::lang::String * getName() = 0;
+ virtual jint getEventType() = 0;
+ virtual ::javax::xml::stream::Location * getLocation() = 0;
+ virtual jboolean isStartElement() = 0;
+ virtual jboolean isAttribute() = 0;
+ virtual jboolean isNamespace() = 0;
+ virtual jboolean isEndElement() = 0;
+ virtual jboolean isEntityReference() = 0;
+ virtual jboolean isProcessingInstruction() = 0;
+ virtual jboolean isCharacters() = 0;
+ virtual jboolean isStartDocument() = 0;
+ virtual jboolean isEndDocument() = 0;
+ virtual ::javax::xml::stream::events::StartElement * asStartElement() = 0;
+ virtual ::javax::xml::stream::events::EndElement * asEndElement() = 0;
+ virtual ::javax::xml::stream::events::Characters * asCharacters() = 0;
+ virtual ::javax::xml::namespace$::QName * getSchemaType() = 0;
+ virtual void writeAsEncodedUnicode(::java::io::Writer *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_events_EntityReference__
diff --git a/libjava/javax/xml/stream/events/Namespace.h b/libjava/javax/xml/stream/events/Namespace.h
new file mode 100644
index 000000000..7c05ab8cf
--- /dev/null
+++ b/libjava/javax/xml/stream/events/Namespace.h
@@ -0,0 +1,65 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_events_Namespace__
+#define __javax_xml_stream_events_Namespace__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class QName;
+ }
+ namespace stream
+ {
+ class Location;
+ namespace events
+ {
+ class Characters;
+ class EndElement;
+ class Namespace;
+ class StartElement;
+ }
+ }
+ }
+ }
+}
+
+class javax::xml::stream::events::Namespace : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * getPrefix() = 0;
+ virtual ::java::lang::String * getNamespaceURI() = 0;
+ virtual jboolean isDefaultNamespaceDeclaration() = 0;
+ virtual ::javax::xml::namespace$::QName * getName() = 0;
+ virtual ::java::lang::String * getValue() = 0;
+ virtual ::java::lang::String * getDTDType() = 0;
+ virtual jboolean isSpecified() = 0;
+ virtual jint getEventType() = 0;
+ virtual ::javax::xml::stream::Location * getLocation() = 0;
+ virtual jboolean isStartElement() = 0;
+ virtual jboolean isAttribute() = 0;
+ virtual jboolean isNamespace() = 0;
+ virtual jboolean isEndElement() = 0;
+ virtual jboolean isEntityReference() = 0;
+ virtual jboolean isProcessingInstruction() = 0;
+ virtual jboolean isCharacters() = 0;
+ virtual jboolean isStartDocument() = 0;
+ virtual jboolean isEndDocument() = 0;
+ virtual ::javax::xml::stream::events::StartElement * asStartElement() = 0;
+ virtual ::javax::xml::stream::events::EndElement * asEndElement() = 0;
+ virtual ::javax::xml::stream::events::Characters * asCharacters() = 0;
+ virtual ::javax::xml::namespace$::QName * getSchemaType() = 0;
+ virtual void writeAsEncodedUnicode(::java::io::Writer *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_events_Namespace__
diff --git a/libjava/javax/xml/stream/events/NotationDeclaration.h b/libjava/javax/xml/stream/events/NotationDeclaration.h
new file mode 100644
index 000000000..c60a79ebc
--- /dev/null
+++ b/libjava/javax/xml/stream/events/NotationDeclaration.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_events_NotationDeclaration__
+#define __javax_xml_stream_events_NotationDeclaration__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class QName;
+ }
+ namespace stream
+ {
+ class Location;
+ namespace events
+ {
+ class Characters;
+ class EndElement;
+ class NotationDeclaration;
+ class StartElement;
+ }
+ }
+ }
+ }
+}
+
+class javax::xml::stream::events::NotationDeclaration : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * getName() = 0;
+ virtual ::java::lang::String * getPublicId() = 0;
+ virtual ::java::lang::String * getSystemId() = 0;
+ virtual jint getEventType() = 0;
+ virtual ::javax::xml::stream::Location * getLocation() = 0;
+ virtual jboolean isStartElement() = 0;
+ virtual jboolean isAttribute() = 0;
+ virtual jboolean isNamespace() = 0;
+ virtual jboolean isEndElement() = 0;
+ virtual jboolean isEntityReference() = 0;
+ virtual jboolean isProcessingInstruction() = 0;
+ virtual jboolean isCharacters() = 0;
+ virtual jboolean isStartDocument() = 0;
+ virtual jboolean isEndDocument() = 0;
+ virtual ::javax::xml::stream::events::StartElement * asStartElement() = 0;
+ virtual ::javax::xml::stream::events::EndElement * asEndElement() = 0;
+ virtual ::javax::xml::stream::events::Characters * asCharacters() = 0;
+ virtual ::javax::xml::namespace$::QName * getSchemaType() = 0;
+ virtual void writeAsEncodedUnicode(::java::io::Writer *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_events_NotationDeclaration__
diff --git a/libjava/javax/xml/stream/events/ProcessingInstruction.h b/libjava/javax/xml/stream/events/ProcessingInstruction.h
new file mode 100644
index 000000000..79f969d69
--- /dev/null
+++ b/libjava/javax/xml/stream/events/ProcessingInstruction.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_events_ProcessingInstruction__
+#define __javax_xml_stream_events_ProcessingInstruction__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class QName;
+ }
+ namespace stream
+ {
+ class Location;
+ namespace events
+ {
+ class Characters;
+ class EndElement;
+ class ProcessingInstruction;
+ class StartElement;
+ }
+ }
+ }
+ }
+}
+
+class javax::xml::stream::events::ProcessingInstruction : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * getTarget() = 0;
+ virtual ::java::lang::String * getData() = 0;
+ virtual jint getEventType() = 0;
+ virtual ::javax::xml::stream::Location * getLocation() = 0;
+ virtual jboolean isStartElement() = 0;
+ virtual jboolean isAttribute() = 0;
+ virtual jboolean isNamespace() = 0;
+ virtual jboolean isEndElement() = 0;
+ virtual jboolean isEntityReference() = 0;
+ virtual jboolean isProcessingInstruction() = 0;
+ virtual jboolean isCharacters() = 0;
+ virtual jboolean isStartDocument() = 0;
+ virtual jboolean isEndDocument() = 0;
+ virtual ::javax::xml::stream::events::StartElement * asStartElement() = 0;
+ virtual ::javax::xml::stream::events::EndElement * asEndElement() = 0;
+ virtual ::javax::xml::stream::events::Characters * asCharacters() = 0;
+ virtual ::javax::xml::namespace$::QName * getSchemaType() = 0;
+ virtual void writeAsEncodedUnicode(::java::io::Writer *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_events_ProcessingInstruction__
diff --git a/libjava/javax/xml/stream/events/StartDocument.h b/libjava/javax/xml/stream/events/StartDocument.h
new file mode 100644
index 000000000..112e60031
--- /dev/null
+++ b/libjava/javax/xml/stream/events/StartDocument.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_events_StartDocument__
+#define __javax_xml_stream_events_StartDocument__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class QName;
+ }
+ namespace stream
+ {
+ class Location;
+ namespace events
+ {
+ class Characters;
+ class EndElement;
+ class StartDocument;
+ class StartElement;
+ }
+ }
+ }
+ }
+}
+
+class javax::xml::stream::events::StartDocument : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * getSystemId() = 0;
+ virtual ::java::lang::String * getCharacterEncodingScheme() = 0;
+ virtual jboolean encodingSet() = 0;
+ virtual jboolean isStandalone() = 0;
+ virtual jboolean standaloneSet() = 0;
+ virtual ::java::lang::String * getVersion() = 0;
+ virtual jint getEventType() = 0;
+ virtual ::javax::xml::stream::Location * getLocation() = 0;
+ virtual jboolean isStartElement() = 0;
+ virtual jboolean isAttribute() = 0;
+ virtual jboolean isNamespace() = 0;
+ virtual jboolean isEndElement() = 0;
+ virtual jboolean isEntityReference() = 0;
+ virtual jboolean isProcessingInstruction() = 0;
+ virtual jboolean isCharacters() = 0;
+ virtual jboolean isStartDocument() = 0;
+ virtual jboolean isEndDocument() = 0;
+ virtual ::javax::xml::stream::events::StartElement * asStartElement() = 0;
+ virtual ::javax::xml::stream::events::EndElement * asEndElement() = 0;
+ virtual ::javax::xml::stream::events::Characters * asCharacters() = 0;
+ virtual ::javax::xml::namespace$::QName * getSchemaType() = 0;
+ virtual void writeAsEncodedUnicode(::java::io::Writer *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_events_StartDocument__
diff --git a/libjava/javax/xml/stream/events/StartElement.h b/libjava/javax/xml/stream/events/StartElement.h
new file mode 100644
index 000000000..2dd50e6c8
--- /dev/null
+++ b/libjava/javax/xml/stream/events/StartElement.h
@@ -0,0 +1,65 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_events_StartElement__
+#define __javax_xml_stream_events_StartElement__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class NamespaceContext;
+ class QName;
+ }
+ namespace stream
+ {
+ class Location;
+ namespace events
+ {
+ class Attribute;
+ class Characters;
+ class EndElement;
+ class StartElement;
+ }
+ }
+ }
+ }
+}
+
+class javax::xml::stream::events::StartElement : public ::java::lang::Object
+{
+
+public:
+ virtual ::javax::xml::namespace$::QName * getName() = 0;
+ virtual ::java::util::Iterator * getAttributes() = 0;
+ virtual ::java::util::Iterator * getNamespaces() = 0;
+ virtual ::javax::xml::stream::events::Attribute * getAttributeByName(::javax::xml::namespace$::QName *) = 0;
+ virtual ::javax::xml::namespace$::NamespaceContext * getNamespaceContext() = 0;
+ virtual ::java::lang::String * getNamespaceURI(::java::lang::String *) = 0;
+ virtual jint getEventType() = 0;
+ virtual ::javax::xml::stream::Location * getLocation() = 0;
+ virtual jboolean isStartElement() = 0;
+ virtual jboolean isAttribute() = 0;
+ virtual jboolean isNamespace() = 0;
+ virtual jboolean isEndElement() = 0;
+ virtual jboolean isEntityReference() = 0;
+ virtual jboolean isProcessingInstruction() = 0;
+ virtual jboolean isCharacters() = 0;
+ virtual jboolean isStartDocument() = 0;
+ virtual jboolean isEndDocument() = 0;
+ virtual ::javax::xml::stream::events::StartElement * asStartElement() = 0;
+ virtual ::javax::xml::stream::events::EndElement * asEndElement() = 0;
+ virtual ::javax::xml::stream::events::Characters * asCharacters() = 0;
+ virtual ::javax::xml::namespace$::QName * getSchemaType() = 0;
+ virtual void writeAsEncodedUnicode(::java::io::Writer *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_events_StartElement__
diff --git a/libjava/javax/xml/stream/events/XMLEvent.h b/libjava/javax/xml/stream/events/XMLEvent.h
new file mode 100644
index 000000000..837f2a894
--- /dev/null
+++ b/libjava/javax/xml/stream/events/XMLEvent.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_events_XMLEvent__
+#define __javax_xml_stream_events_XMLEvent__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class QName;
+ }
+ namespace stream
+ {
+ class Location;
+ namespace events
+ {
+ class Characters;
+ class EndElement;
+ class StartElement;
+ class XMLEvent;
+ }
+ }
+ }
+ }
+}
+
+class javax::xml::stream::events::XMLEvent : public ::java::lang::Object
+{
+
+public:
+ virtual jint getEventType() = 0;
+ virtual ::javax::xml::stream::Location * getLocation() = 0;
+ virtual jboolean isStartElement() = 0;
+ virtual jboolean isAttribute() = 0;
+ virtual jboolean isNamespace() = 0;
+ virtual jboolean isEndElement() = 0;
+ virtual jboolean isEntityReference() = 0;
+ virtual jboolean isProcessingInstruction() = 0;
+ virtual jboolean isCharacters() = 0;
+ virtual jboolean isStartDocument() = 0;
+ virtual jboolean isEndDocument() = 0;
+ virtual ::javax::xml::stream::events::StartElement * asStartElement() = 0;
+ virtual ::javax::xml::stream::events::EndElement * asEndElement() = 0;
+ virtual ::javax::xml::stream::events::Characters * asCharacters() = 0;
+ virtual ::javax::xml::namespace$::QName * getSchemaType() = 0;
+ virtual void writeAsEncodedUnicode(::java::io::Writer *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_events_XMLEvent__
diff --git a/libjava/javax/xml/stream/util/EventReaderDelegate.h b/libjava/javax/xml/stream/util/EventReaderDelegate.h
new file mode 100644
index 000000000..fc1bb75bb
--- /dev/null
+++ b/libjava/javax/xml/stream/util/EventReaderDelegate.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_util_EventReaderDelegate__
+#define __javax_xml_stream_util_EventReaderDelegate__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace stream
+ {
+ class XMLEventReader;
+ namespace events
+ {
+ class XMLEvent;
+ }
+ namespace util
+ {
+ class EventReaderDelegate;
+ }
+ }
+ }
+ }
+}
+
+class javax::xml::stream::util::EventReaderDelegate : public ::java::lang::Object
+{
+
+public:
+ EventReaderDelegate();
+ EventReaderDelegate(::javax::xml::stream::XMLEventReader *);
+ virtual void setParent(::javax::xml::stream::XMLEventReader *);
+ virtual ::javax::xml::stream::XMLEventReader * getParent();
+ virtual ::javax::xml::stream::events::XMLEvent * nextEvent();
+ virtual ::java::lang::Object * next();
+ virtual jboolean hasNext();
+ virtual ::javax::xml::stream::events::XMLEvent * peek();
+ virtual ::java::lang::String * getElementText();
+ virtual ::javax::xml::stream::events::XMLEvent * nextTag();
+ virtual ::java::lang::Object * getProperty(::java::lang::String *);
+ virtual void close();
+ virtual void remove();
+private:
+ ::javax::xml::stream::XMLEventReader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) parent;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_xml_stream_util_EventReaderDelegate__
diff --git a/libjava/javax/xml/stream/util/ReaderDelegate.h b/libjava/javax/xml/stream/util/ReaderDelegate.h
new file mode 100644
index 000000000..0a887d1ee
--- /dev/null
+++ b/libjava/javax/xml/stream/util/ReaderDelegate.h
@@ -0,0 +1,95 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_util_ReaderDelegate__
+#define __javax_xml_stream_util_ReaderDelegate__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class NamespaceContext;
+ class QName;
+ }
+ namespace stream
+ {
+ class Location;
+ class XMLStreamReader;
+ namespace util
+ {
+ class ReaderDelegate;
+ }
+ }
+ }
+ }
+}
+
+class javax::xml::stream::util::ReaderDelegate : public ::java::lang::Object
+{
+
+public:
+ ReaderDelegate();
+ ReaderDelegate(::javax::xml::stream::XMLStreamReader *);
+ virtual void setParent(::javax::xml::stream::XMLStreamReader *);
+ virtual ::javax::xml::stream::XMLStreamReader * getParent();
+ virtual jint next();
+ virtual jint nextTag();
+ virtual ::java::lang::String * getElementText();
+ virtual void require(jint, ::java::lang::String *, ::java::lang::String *);
+ virtual jboolean hasNext();
+ virtual void close();
+ virtual ::java::lang::String * getNamespaceURI(::java::lang::String *);
+ virtual ::javax::xml::namespace$::NamespaceContext * getNamespaceContext();
+ virtual jboolean isStartElement();
+ virtual jboolean isEndElement();
+ virtual jboolean isCharacters();
+ virtual jboolean isWhiteSpace();
+ virtual ::java::lang::String * getAttributeValue(::java::lang::String *, ::java::lang::String *);
+ virtual jint getAttributeCount();
+ virtual ::javax::xml::namespace$::QName * getAttributeName(jint);
+ virtual ::java::lang::String * getAttributePrefix(jint);
+ virtual ::java::lang::String * getAttributeNamespace(jint);
+ virtual ::java::lang::String * getAttributeLocalName(jint);
+ virtual ::java::lang::String * getAttributeType(jint);
+ virtual ::java::lang::String * getAttributeValue(jint);
+ virtual jboolean isAttributeSpecified(jint);
+ virtual jint getNamespaceCount();
+ virtual ::java::lang::String * getNamespacePrefix(jint);
+ virtual ::java::lang::String * getNamespaceURI(jint);
+ virtual jint getEventType();
+ virtual ::java::lang::String * getText();
+ virtual jint getTextCharacters(jint, JArray< jchar > *, jint, jint);
+ virtual JArray< jchar > * getTextCharacters();
+ virtual jint getTextStart();
+ virtual jint getTextLength();
+ virtual ::java::lang::String * getEncoding();
+ virtual jboolean hasText();
+ virtual ::javax::xml::stream::Location * getLocation();
+ virtual ::javax::xml::namespace$::QName * getName();
+ virtual ::java::lang::String * getLocalName();
+ virtual jboolean hasName();
+ virtual ::java::lang::String * getNamespaceURI();
+ virtual ::java::lang::String * getPrefix();
+ virtual ::java::lang::String * getVersion();
+ virtual jboolean isStandalone();
+ virtual jboolean standaloneSet();
+ virtual ::java::lang::String * getCharacterEncodingScheme();
+ virtual ::java::lang::String * getPITarget();
+ virtual ::java::lang::String * getPIData();
+ virtual ::java::lang::Object * getProperty(::java::lang::String *);
+private:
+ ::javax::xml::stream::XMLStreamReader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) parent;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_xml_stream_util_ReaderDelegate__
diff --git a/libjava/javax/xml/stream/util/StreamReaderDelegate.h b/libjava/javax/xml/stream/util/StreamReaderDelegate.h
new file mode 100644
index 000000000..86864cb57
--- /dev/null
+++ b/libjava/javax/xml/stream/util/StreamReaderDelegate.h
@@ -0,0 +1,95 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_util_StreamReaderDelegate__
+#define __javax_xml_stream_util_StreamReaderDelegate__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace$
+ {
+ class NamespaceContext;
+ class QName;
+ }
+ namespace stream
+ {
+ class Location;
+ class XMLStreamReader;
+ namespace util
+ {
+ class StreamReaderDelegate;
+ }
+ }
+ }
+ }
+}
+
+class javax::xml::stream::util::StreamReaderDelegate : public ::java::lang::Object
+{
+
+public:
+ StreamReaderDelegate();
+ StreamReaderDelegate(::javax::xml::stream::XMLStreamReader *);
+ virtual void setParent(::javax::xml::stream::XMLStreamReader *);
+ virtual ::javax::xml::stream::XMLStreamReader * getParent();
+ virtual jint next();
+ virtual jint nextTag();
+ virtual ::java::lang::String * getElementText();
+ virtual void require(jint, ::java::lang::String *, ::java::lang::String *);
+ virtual jboolean hasNext();
+ virtual void close();
+ virtual ::java::lang::String * getNamespaceURI(::java::lang::String *);
+ virtual ::javax::xml::namespace$::NamespaceContext * getNamespaceContext();
+ virtual jboolean isStartElement();
+ virtual jboolean isEndElement();
+ virtual jboolean isCharacters();
+ virtual jboolean isWhiteSpace();
+ virtual ::java::lang::String * getAttributeValue(::java::lang::String *, ::java::lang::String *);
+ virtual jint getAttributeCount();
+ virtual ::javax::xml::namespace$::QName * getAttributeName(jint);
+ virtual ::java::lang::String * getAttributePrefix(jint);
+ virtual ::java::lang::String * getAttributeNamespace(jint);
+ virtual ::java::lang::String * getAttributeLocalName(jint);
+ virtual ::java::lang::String * getAttributeType(jint);
+ virtual ::java::lang::String * getAttributeValue(jint);
+ virtual jboolean isAttributeSpecified(jint);
+ virtual jint getNamespaceCount();
+ virtual ::java::lang::String * getNamespacePrefix(jint);
+ virtual ::java::lang::String * getNamespaceURI(jint);
+ virtual jint getEventType();
+ virtual ::java::lang::String * getText();
+ virtual jint getTextCharacters(jint, JArray< jchar > *, jint, jint);
+ virtual JArray< jchar > * getTextCharacters();
+ virtual jint getTextStart();
+ virtual jint getTextLength();
+ virtual ::java::lang::String * getEncoding();
+ virtual jboolean hasText();
+ virtual ::javax::xml::stream::Location * getLocation();
+ virtual ::javax::xml::namespace$::QName * getName();
+ virtual ::java::lang::String * getLocalName();
+ virtual jboolean hasName();
+ virtual ::java::lang::String * getNamespaceURI();
+ virtual ::java::lang::String * getPrefix();
+ virtual ::java::lang::String * getVersion();
+ virtual jboolean isStandalone();
+ virtual jboolean standaloneSet();
+ virtual ::java::lang::String * getCharacterEncodingScheme();
+ virtual ::java::lang::String * getPITarget();
+ virtual ::java::lang::String * getPIData();
+ virtual ::java::lang::Object * getProperty(::java::lang::String *);
+private:
+ ::javax::xml::stream::XMLStreamReader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) parent;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_xml_stream_util_StreamReaderDelegate__
diff --git a/libjava/javax/xml/stream/util/XMLEventAllocator.h b/libjava/javax/xml/stream/util/XMLEventAllocator.h
new file mode 100644
index 000000000..ac872525c
--- /dev/null
+++ b/libjava/javax/xml/stream/util/XMLEventAllocator.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_util_XMLEventAllocator__
+#define __javax_xml_stream_util_XMLEventAllocator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace stream
+ {
+ class XMLStreamReader;
+ namespace events
+ {
+ class XMLEvent;
+ }
+ namespace util
+ {
+ class XMLEventAllocator;
+ class XMLEventConsumer;
+ }
+ }
+ }
+ }
+}
+
+class javax::xml::stream::util::XMLEventAllocator : public ::java::lang::Object
+{
+
+public:
+ virtual ::javax::xml::stream::util::XMLEventAllocator * newInstance() = 0;
+ virtual ::javax::xml::stream::events::XMLEvent * allocate(::javax::xml::stream::XMLStreamReader *) = 0;
+ virtual void allocate(::javax::xml::stream::XMLStreamReader *, ::javax::xml::stream::util::XMLEventConsumer *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_util_XMLEventAllocator__
diff --git a/libjava/javax/xml/stream/util/XMLEventConsumer.h b/libjava/javax/xml/stream/util/XMLEventConsumer.h
new file mode 100644
index 000000000..7fb1fcf31
--- /dev/null
+++ b/libjava/javax/xml/stream/util/XMLEventConsumer.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_stream_util_XMLEventConsumer__
+#define __javax_xml_stream_util_XMLEventConsumer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace stream
+ {
+ namespace events
+ {
+ class XMLEvent;
+ }
+ namespace util
+ {
+ class XMLEventConsumer;
+ }
+ }
+ }
+ }
+}
+
+class javax::xml::stream::util::XMLEventConsumer : public ::java::lang::Object
+{
+
+public:
+ virtual void add(::javax::xml::stream::events::XMLEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_stream_util_XMLEventConsumer__