summaryrefslogtreecommitdiff
path: root/libjava/gnu/xml/util
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/gnu/xml/util
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/gnu/xml/util')
-rw-r--r--libjava/gnu/xml/util/DoParse$MyErrorHandler.h46
-rw-r--r--libjava/gnu/xml/util/DoParse.h65
-rw-r--r--libjava/gnu/xml/util/DomParser.h105
-rw-r--r--libjava/gnu/xml/util/Resolver.h53
-rw-r--r--libjava/gnu/xml/util/SAXNullTransformerFactory$DomHandler.h54
-rw-r--r--libjava/gnu/xml/util/SAXNullTransformerFactory$DomTerminus.h46
-rw-r--r--libjava/gnu/xml/util/SAXNullTransformerFactory$ListenerAdapter.h62
-rw-r--r--libjava/gnu/xml/util/SAXNullTransformerFactory$LocatorAdapter.h43
-rw-r--r--libjava/gnu/xml/util/SAXNullTransformerFactory$NullHandler.h52
-rw-r--r--libjava/gnu/xml/util/SAXNullTransformerFactory$NullTransformer.h69
-rw-r--r--libjava/gnu/xml/util/SAXNullTransformerFactory.h88
-rw-r--r--libjava/gnu/xml/util/XCat$Catalog.h71
-rw-r--r--libjava/gnu/xml/util/XCat$DoneDelegation.h33
-rw-r--r--libjava/gnu/xml/util/XCat$Loader.h72
-rw-r--r--libjava/gnu/xml/util/XCat.h80
-rw-r--r--libjava/gnu/xml/util/XHTMLWriter.h35
-rw-r--r--libjava/gnu/xml/util/XMLWriter.h152
17 files changed, 1126 insertions, 0 deletions
diff --git a/libjava/gnu/xml/util/DoParse$MyErrorHandler.h b/libjava/gnu/xml/util/DoParse$MyErrorHandler.h
new file mode 100644
index 000000000..3c61367dd
--- /dev/null
+++ b/libjava/gnu/xml/util/DoParse$MyErrorHandler.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_util_DoParse$MyErrorHandler__
+#define __gnu_xml_util_DoParse$MyErrorHandler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace util
+ {
+ class DoParse$MyErrorHandler;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace xml
+ {
+ namespace sax
+ {
+ class SAXParseException;
+ }
+ }
+ }
+}
+
+class gnu::xml::util::DoParse$MyErrorHandler : public ::java::lang::Object
+{
+
+public: // actually package-private
+ DoParse$MyErrorHandler();
+public:
+ virtual void error(::org::xml::sax::SAXParseException *);
+ virtual void warning(::org::xml::sax::SAXParseException *);
+ virtual void fatalError(::org::xml::sax::SAXParseException *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_util_DoParse$MyErrorHandler__
diff --git a/libjava/gnu/xml/util/DoParse.h b/libjava/gnu/xml/util/DoParse.h
new file mode 100644
index 000000000..b775f00d0
--- /dev/null
+++ b/libjava/gnu/xml/util/DoParse.h
@@ -0,0 +1,65 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_util_DoParse__
+#define __gnu_xml_util_DoParse__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace pipeline
+ {
+ class EventConsumer;
+ }
+ namespace util
+ {
+ class DoParse;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace xml
+ {
+ namespace sax
+ {
+ class SAXParseException;
+ }
+ }
+ }
+}
+
+class gnu::xml::util::DoParse : public ::java::lang::Object
+{
+
+ DoParse();
+public:
+ static void main(JArray< ::java::lang::String * > *);
+private:
+ static jboolean hasValidator(::gnu::xml::pipeline::EventConsumer *);
+ static ::java::lang::String * printParseException(::java::lang::String *, ::org::xml::sax::SAXParseException *);
+public: // actually package-private
+ static jint access$0();
+ static void access$1(jint);
+ static ::java::lang::String * access$2(::java::lang::String *, ::org::xml::sax::SAXParseException *);
+ static jint access$3();
+ static void access$4(jint);
+ static ::org::xml::sax::SAXParseException * access$5();
+ static void access$6(::org::xml::sax::SAXParseException *);
+private:
+ static ::org::xml::sax::SAXParseException * fatal;
+ static jint errorCount;
+ static jint fatalCount;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_util_DoParse__
diff --git a/libjava/gnu/xml/util/DomParser.h b/libjava/gnu/xml/util/DomParser.h
new file mode 100644
index 000000000..f64b729b5
--- /dev/null
+++ b/libjava/gnu/xml/util/DomParser.h
@@ -0,0 +1,105 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_util_DomParser__
+#define __gnu_xml_util_DomParser__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace util
+ {
+ class DomParser;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ class Node;
+ }
+ }
+ namespace xml
+ {
+ namespace sax
+ {
+ class ContentHandler;
+ class DTDHandler;
+ class EntityResolver;
+ class ErrorHandler;
+ class InputSource;
+ namespace ext
+ {
+ class DeclHandler;
+ class DefaultHandler2;
+ class LexicalHandler;
+ }
+ namespace helpers
+ {
+ class NamespaceSupport;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::util::DomParser : public ::java::lang::Object
+{
+
+public:
+ DomParser();
+ DomParser(::org::w3c::dom::Node *);
+ ::org::xml::sax::EntityResolver * getEntityResolver();
+ void setEntityResolver(::org::xml::sax::EntityResolver *);
+ void setLocale(::java::util::Locale *);
+ ::org::xml::sax::ErrorHandler * getErrorHandler();
+ void setErrorHandler(::org::xml::sax::ErrorHandler *);
+ ::org::xml::sax::ContentHandler * getContentHandler();
+ void setContentHandler(::org::xml::sax::ContentHandler *);
+ ::org::xml::sax::DTDHandler * getDTDHandler();
+ void setDTDHandler(::org::xml::sax::DTDHandler *);
+ void parse(::java::lang::String *);
+ void parse(::org::xml::sax::InputSource *);
+private:
+ void parse();
+ jboolean getIsL2(::org::w3c::dom::Node *);
+public:
+ jboolean getFeature(::java::lang::String *);
+ ::java::lang::Object * getProperty(::java::lang::String *);
+ void setFeature(::java::lang::String *, jboolean);
+ void setProperty(::java::lang::String *, ::java::lang::Object *);
+private:
+ void setStart(::org::w3c::dom::Node *);
+ void walk();
+ void callEnd(::org::w3c::dom::Node *);
+ ::org::xml::sax::ext::DefaultHandler2 * __attribute__((aligned(__alignof__( ::java::lang::Object)))) defaultHandler;
+ ::org::xml::sax::ContentHandler * contentHandler;
+ ::org::xml::sax::DTDHandler * dtdHandler;
+ ::org::xml::sax::ext::DeclHandler * declHandler;
+ ::org::xml::sax::ext::LexicalHandler * lexicalHandler;
+ ::org::xml::sax::ErrorHandler * errHandler;
+ ::org::xml::sax::EntityResolver * resolver;
+ ::java::util::Locale * locale;
+ ::org::w3c::dom::Node * start;
+ ::org::w3c::dom::Node * current;
+ jboolean isL2;
+ jboolean showNamespaces;
+ jboolean showXML1_0;
+ ::org::xml::sax::helpers::NamespaceSupport * prefixStack;
+ jboolean isDocument;
+ static ::java::lang::String * FEATURES;
+ static ::java::lang::String * HANDLERS;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_util_DomParser__
diff --git a/libjava/gnu/xml/util/Resolver.h b/libjava/gnu/xml/util/Resolver.h
new file mode 100644
index 000000000..ccafe1f2c
--- /dev/null
+++ b/libjava/gnu/xml/util/Resolver.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_util_Resolver__
+#define __gnu_xml_util_Resolver__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace util
+ {
+ class Resolver;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace xml
+ {
+ namespace sax
+ {
+ class InputSource;
+ }
+ }
+ }
+}
+
+class gnu::xml::util::Resolver : public ::java::lang::Object
+{
+
+public:
+ static void addDirectoryMapping(::java::util::Dictionary *, JArray< JArray< ::java::lang::String * > * > *, ::java::io::File *);
+ static ::java::lang::String * fileNameToURL(::java::lang::String *);
+ static ::java::lang::String * fileToURL(::java::io::File *);
+ static ::java::lang::String * getURL(::java::lang::String *);
+ Resolver(::java::util::Dictionary *);
+ static ::java::lang::String * getEncoding(::java::lang::String *);
+ virtual ::org::xml::sax::InputSource * resolveEntity(::java::lang::String *, ::java::lang::String *);
+private:
+ ::java::util::Dictionary * __attribute__((aligned(__alignof__( ::java::lang::Object)))) pubidMapping;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_util_Resolver__
diff --git a/libjava/gnu/xml/util/SAXNullTransformerFactory$DomHandler.h b/libjava/gnu/xml/util/SAXNullTransformerFactory$DomHandler.h
new file mode 100644
index 000000000..62e4abac1
--- /dev/null
+++ b/libjava/gnu/xml/util/SAXNullTransformerFactory$DomHandler.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_util_SAXNullTransformerFactory$DomHandler__
+#define __gnu_xml_util_SAXNullTransformerFactory$DomHandler__
+
+#pragma interface
+
+#include <gnu/xml/dom/Consumer$Backdoor.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace pipeline
+ {
+ class DomConsumer;
+ }
+ namespace util
+ {
+ class SAXNullTransformerFactory$DomHandler;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace transform
+ {
+ namespace dom
+ {
+ class DOMResult;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::util::SAXNullTransformerFactory$DomHandler : public ::gnu::xml::dom::Consumer$Backdoor
+{
+
+public: // actually package-private
+ SAXNullTransformerFactory$DomHandler(::gnu::xml::pipeline::DomConsumer *, ::javax::xml::transform::dom::DOMResult *);
+public:
+ virtual void endDocument();
+private:
+ ::javax::xml::transform::dom::DOMResult * __attribute__((aligned(__alignof__( ::gnu::xml::dom::Consumer$Backdoor)))) result;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_util_SAXNullTransformerFactory$DomHandler__
diff --git a/libjava/gnu/xml/util/SAXNullTransformerFactory$DomTerminus.h b/libjava/gnu/xml/util/SAXNullTransformerFactory$DomTerminus.h
new file mode 100644
index 000000000..b1c1bb1d6
--- /dev/null
+++ b/libjava/gnu/xml/util/SAXNullTransformerFactory$DomTerminus.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_util_SAXNullTransformerFactory$DomTerminus__
+#define __gnu_xml_util_SAXNullTransformerFactory$DomTerminus__
+
+#pragma interface
+
+#include <gnu/xml/pipeline/DomConsumer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace util
+ {
+ class SAXNullTransformerFactory$DomTerminus;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace transform
+ {
+ namespace dom
+ {
+ class DOMResult;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::util::SAXNullTransformerFactory$DomTerminus : public ::gnu::xml::pipeline::DomConsumer
+{
+
+public: // actually package-private
+ SAXNullTransformerFactory$DomTerminus(::javax::xml::transform::dom::DOMResult *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_util_SAXNullTransformerFactory$DomTerminus__
diff --git a/libjava/gnu/xml/util/SAXNullTransformerFactory$ListenerAdapter.h b/libjava/gnu/xml/util/SAXNullTransformerFactory$ListenerAdapter.h
new file mode 100644
index 000000000..3764fb6c8
--- /dev/null
+++ b/libjava/gnu/xml/util/SAXNullTransformerFactory$ListenerAdapter.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_util_SAXNullTransformerFactory$ListenerAdapter__
+#define __gnu_xml_util_SAXNullTransformerFactory$ListenerAdapter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace util
+ {
+ class SAXNullTransformerFactory$ListenerAdapter;
+ class SAXNullTransformerFactory$NullTransformer;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace transform
+ {
+ class TransformerException;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace xml
+ {
+ namespace sax
+ {
+ class SAXParseException;
+ }
+ }
+ }
+}
+
+class gnu::xml::util::SAXNullTransformerFactory$ListenerAdapter : public ::java::lang::Object
+{
+
+public: // actually package-private
+ SAXNullTransformerFactory$ListenerAdapter(::gnu::xml::util::SAXNullTransformerFactory$NullTransformer *);
+private:
+ ::javax::xml::transform::TransformerException * map(::org::xml::sax::SAXParseException *);
+public:
+ virtual void error(::org::xml::sax::SAXParseException *);
+ virtual void fatalError(::org::xml::sax::SAXParseException *);
+ virtual void warning(::org::xml::sax::SAXParseException *);
+public: // actually package-private
+ ::gnu::xml::util::SAXNullTransformerFactory$NullTransformer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) transformer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_util_SAXNullTransformerFactory$ListenerAdapter__
diff --git a/libjava/gnu/xml/util/SAXNullTransformerFactory$LocatorAdapter.h b/libjava/gnu/xml/util/SAXNullTransformerFactory$LocatorAdapter.h
new file mode 100644
index 000000000..0bf4b466b
--- /dev/null
+++ b/libjava/gnu/xml/util/SAXNullTransformerFactory$LocatorAdapter.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_util_SAXNullTransformerFactory$LocatorAdapter__
+#define __gnu_xml_util_SAXNullTransformerFactory$LocatorAdapter__
+
+#pragma interface
+
+#include <org/xml/sax/helpers/LocatorImpl.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace util
+ {
+ class SAXNullTransformerFactory$LocatorAdapter;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace xml
+ {
+ namespace sax
+ {
+ class SAXParseException;
+ }
+ }
+ }
+}
+
+class gnu::xml::util::SAXNullTransformerFactory$LocatorAdapter : public ::org::xml::sax::helpers::LocatorImpl
+{
+
+public: // actually package-private
+ SAXNullTransformerFactory$LocatorAdapter(::org::xml::sax::SAXParseException *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_util_SAXNullTransformerFactory$LocatorAdapter__
diff --git a/libjava/gnu/xml/util/SAXNullTransformerFactory$NullHandler.h b/libjava/gnu/xml/util/SAXNullTransformerFactory$NullHandler.h
new file mode 100644
index 000000000..784a7235e
--- /dev/null
+++ b/libjava/gnu/xml/util/SAXNullTransformerFactory$NullHandler.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_util_SAXNullTransformerFactory$NullHandler__
+#define __gnu_xml_util_SAXNullTransformerFactory$NullHandler__
+
+#pragma interface
+
+#include <gnu/xml/pipeline/EventFilter.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace util
+ {
+ class SAXNullTransformerFactory$NullHandler;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace transform
+ {
+ class Result;
+ class Transformer;
+ }
+ }
+ }
+}
+
+class gnu::xml::util::SAXNullTransformerFactory$NullHandler : public ::gnu::xml::pipeline::EventFilter
+{
+
+public: // actually package-private
+ SAXNullTransformerFactory$NullHandler(::javax::xml::transform::Transformer *);
+public:
+ virtual ::javax::xml::transform::Transformer * getTransformer();
+ virtual ::java::lang::String * getSystemId();
+ virtual void setSystemId(::java::lang::String *);
+ virtual void setResult(::javax::xml::transform::Result *);
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::gnu::xml::pipeline::EventFilter)))) systemId;
+ ::javax::xml::transform::Transformer * transformer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_util_SAXNullTransformerFactory$NullHandler__
diff --git a/libjava/gnu/xml/util/SAXNullTransformerFactory$NullTransformer.h b/libjava/gnu/xml/util/SAXNullTransformerFactory$NullTransformer.h
new file mode 100644
index 000000000..78fdb8caa
--- /dev/null
+++ b/libjava/gnu/xml/util/SAXNullTransformerFactory$NullTransformer.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_util_SAXNullTransformerFactory$NullTransformer__
+#define __gnu_xml_util_SAXNullTransformerFactory$NullTransformer__
+
+#pragma interface
+
+#include <javax/xml/transform/Transformer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace util
+ {
+ class SAXNullTransformerFactory$NullHandler;
+ class SAXNullTransformerFactory$NullTransformer;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace transform
+ {
+ class ErrorListener;
+ class Result;
+ class Source;
+ class TransformerException;
+ class URIResolver;
+ }
+ }
+ }
+}
+
+class gnu::xml::util::SAXNullTransformerFactory$NullTransformer : public ::javax::xml::transform::Transformer
+{
+
+public: // actually package-private
+ SAXNullTransformerFactory$NullTransformer();
+public:
+ virtual ::javax::xml::transform::ErrorListener * getErrorListener();
+ virtual void setErrorListener(::javax::xml::transform::ErrorListener *);
+ virtual ::javax::xml::transform::URIResolver * getURIResolver();
+ virtual void setURIResolver(::javax::xml::transform::URIResolver *);
+ virtual void setOutputProperties(::java::util::Properties *);
+ virtual ::java::util::Properties * getOutputProperties();
+ virtual void setOutputProperty(::java::lang::String *, ::java::lang::String *);
+ virtual ::java::lang::String * getOutputProperty(::java::lang::String *);
+ virtual void clearParameters();
+ virtual void setParameter(::java::lang::String *, ::java::lang::Object *);
+ virtual ::java::lang::Object * getParameter(::java::lang::String *);
+ virtual void transform(::javax::xml::transform::Source *, ::javax::xml::transform::Result *);
+private:
+ ::javax::xml::transform::URIResolver * __attribute__((aligned(__alignof__( ::javax::xml::transform::Transformer)))) uriResolver;
+ ::java::util::Properties * props;
+ ::java::util::Hashtable * params;
+public: // actually package-private
+ ::javax::xml::transform::ErrorListener * errListener;
+ ::javax::xml::transform::TransformerException * ex;
+ ::gnu::xml::util::SAXNullTransformerFactory$NullHandler * handler;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_util_SAXNullTransformerFactory$NullTransformer__
diff --git a/libjava/gnu/xml/util/SAXNullTransformerFactory.h b/libjava/gnu/xml/util/SAXNullTransformerFactory.h
new file mode 100644
index 000000000..f94150204
--- /dev/null
+++ b/libjava/gnu/xml/util/SAXNullTransformerFactory.h
@@ -0,0 +1,88 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_util_SAXNullTransformerFactory__
+#define __gnu_xml_util_SAXNullTransformerFactory__
+
+#pragma interface
+
+#include <javax/xml/transform/sax/SAXTransformerFactory.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace util
+ {
+ class SAXNullTransformerFactory;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace transform
+ {
+ class ErrorListener;
+ class Source;
+ class Templates;
+ class Transformer;
+ class URIResolver;
+ namespace sax
+ {
+ class TemplatesHandler;
+ class TransformerHandler;
+ }
+ }
+ }
+ }
+ namespace org
+ {
+ namespace xml
+ {
+ namespace sax
+ {
+ class XMLFilter;
+ }
+ }
+ }
+}
+
+class gnu::xml::util::SAXNullTransformerFactory : public ::javax::xml::transform::sax::SAXTransformerFactory
+{
+
+public:
+ SAXNullTransformerFactory();
+ virtual jboolean getFeature(::java::lang::String *);
+ virtual void setFeature(::java::lang::String *, jboolean);
+ virtual void setAttribute(::java::lang::String *, ::java::lang::Object *);
+ virtual ::java::lang::Object * getAttribute(::java::lang::String *);
+ virtual ::javax::xml::transform::Source * getAssociatedStylesheet(::javax::xml::transform::Source *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ virtual ::javax::xml::transform::Transformer * newTransformer();
+ virtual ::javax::xml::transform::sax::TransformerHandler * newTransformerHandler();
+ virtual ::javax::xml::transform::Transformer * newTransformer(::javax::xml::transform::Source *);
+ virtual ::javax::xml::transform::Templates * newTemplates(::javax::xml::transform::Source *);
+ virtual ::javax::xml::transform::sax::TemplatesHandler * newTemplatesHandler();
+ virtual ::javax::xml::transform::sax::TransformerHandler * newTransformerHandler(::javax::xml::transform::Source *);
+ virtual ::javax::xml::transform::sax::TransformerHandler * newTransformerHandler(::javax::xml::transform::Templates *);
+ virtual ::org::xml::sax::XMLFilter * newXMLFilter(::javax::xml::transform::Source *);
+ virtual ::org::xml::sax::XMLFilter * newXMLFilter(::javax::xml::transform::Templates *);
+ virtual ::javax::xml::transform::ErrorListener * getErrorListener();
+ virtual void setErrorListener(::javax::xml::transform::ErrorListener *);
+ virtual ::javax::xml::transform::URIResolver * getURIResolver();
+ virtual void setURIResolver(::javax::xml::transform::URIResolver *);
+private:
+ static ::java::io::OutputStream * getOutputStream(::java::lang::String *);
+public: // actually package-private
+ static ::java::io::OutputStream * access$0(::java::lang::String *);
+private:
+ ::javax::xml::transform::ErrorListener * __attribute__((aligned(__alignof__( ::javax::xml::transform::sax::SAXTransformerFactory)))) errListener;
+ ::javax::xml::transform::URIResolver * uriResolver;
+ static ::java::lang::String * noXSLT;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_util_SAXNullTransformerFactory__
diff --git a/libjava/gnu/xml/util/XCat$Catalog.h b/libjava/gnu/xml/util/XCat$Catalog.h
new file mode 100644
index 000000000..4b727ce46
--- /dev/null
+++ b/libjava/gnu/xml/util/XCat$Catalog.h
@@ -0,0 +1,71 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_util_XCat$Catalog__
+#define __gnu_xml_util_XCat$Catalog__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace util
+ {
+ class XCat$Catalog;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace xml
+ {
+ namespace sax
+ {
+ class ErrorHandler;
+ class InputSource;
+ }
+ }
+ }
+}
+
+class gnu::xml::util::XCat$Catalog : public ::java::lang::Object
+{
+
+public: // actually package-private
+ XCat$Catalog();
+private:
+ ::org::xml::sax::InputSource * locatePublicId(::java::lang::String *);
+ ::org::xml::sax::InputSource * mapURI(::java::lang::String *, ::java::util::Hashtable *, ::java::util::Hashtable *, ::java::util::Hashtable *);
+public:
+ virtual ::org::xml::sax::InputSource * resolve(jboolean, ::java::lang::String *, ::java::lang::String *);
+ virtual ::org::xml::sax::InputSource * resolveURI(::java::lang::String *);
+ virtual ::org::xml::sax::InputSource * getExternalSubset(::java::lang::String *);
+private:
+ ::gnu::xml::util::XCat$Catalog * getNext(jint);
+ ::org::xml::sax::InputSource * checkDelegations(::java::util::Hashtable *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+public: // actually package-private
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) catalogURI;
+ ::org::xml::sax::ErrorHandler * eh;
+ jboolean unified;
+ ::java::lang::String * parserClass;
+ jboolean hasPreference;
+ jboolean usingPublic;
+ ::java::util::Hashtable * publicIds;
+ ::java::util::Hashtable * publicDelegations;
+ ::java::util::Hashtable * systemIds;
+ ::java::util::Hashtable * systemRewrites;
+ ::java::util::Hashtable * systemDelegations;
+ ::java::util::Hashtable * uris;
+ ::java::util::Hashtable * uriRewrites;
+ ::java::util::Hashtable * uriDelegations;
+ ::java::util::Hashtable * doctypes;
+ ::java::util::Vector * next;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_util_XCat$Catalog__
diff --git a/libjava/gnu/xml/util/XCat$DoneDelegation.h b/libjava/gnu/xml/util/XCat$DoneDelegation.h
new file mode 100644
index 000000000..34e146afe
--- /dev/null
+++ b/libjava/gnu/xml/util/XCat$DoneDelegation.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_util_XCat$DoneDelegation__
+#define __gnu_xml_util_XCat$DoneDelegation__
+
+#pragma interface
+
+#include <org/xml/sax/SAXException.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace util
+ {
+ class XCat$DoneDelegation;
+ }
+ }
+ }
+}
+
+class gnu::xml::util::XCat$DoneDelegation : public ::org::xml::sax::SAXException
+{
+
+public: // actually package-private
+ XCat$DoneDelegation();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_util_XCat$DoneDelegation__
diff --git a/libjava/gnu/xml/util/XCat$Loader.h b/libjava/gnu/xml/util/XCat$Loader.h
new file mode 100644
index 000000000..846c85b27
--- /dev/null
+++ b/libjava/gnu/xml/util/XCat$Loader.h
@@ -0,0 +1,72 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_util_XCat$Loader__
+#define __gnu_xml_util_XCat$Loader__
+
+#pragma interface
+
+#include <org/xml/sax/ext/DefaultHandler2.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace util
+ {
+ class XCat$Catalog;
+ class XCat$Loader;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace xml
+ {
+ namespace sax
+ {
+ class Attributes;
+ class ErrorHandler;
+ class Locator;
+ }
+ }
+ }
+}
+
+class gnu::xml::util::XCat$Loader : public ::org::xml::sax::ext::DefaultHandler2
+{
+
+public: // actually package-private
+ XCat$Loader(jboolean, ::org::xml::sax::ErrorHandler *, jboolean);
+private:
+ ::java::lang::String * nofrag(::java::lang::String *);
+ ::java::lang::String * absolutize(::java::lang::String *);
+ void error(::java::lang::String *);
+ void fatal(::java::lang::String *);
+ void warn(::java::lang::String *);
+public:
+ virtual void setDocumentLocator(::org::xml::sax::Locator *);
+ virtual void startDocument();
+ virtual void endDocument();
+ virtual void externalEntityDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ virtual void startEntity(::java::lang::String *);
+ virtual void endEntity(::java::lang::String *);
+ virtual void startElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::org::xml::sax::Attributes *);
+ virtual void endElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+private:
+ jboolean __attribute__((aligned(__alignof__( ::org::xml::sax::ext::DefaultHandler2)))) preInterned;
+ ::org::xml::sax::ErrorHandler * handler;
+ jboolean unified;
+ jint ignoreDepth;
+ ::org::xml::sax::Locator * locator;
+ jboolean started;
+ ::java::util::Hashtable * externals;
+ ::java::util::Stack * bases;
+public: // actually package-private
+ ::gnu::xml::util::XCat$Catalog * cat;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_util_XCat$Loader__
diff --git a/libjava/gnu/xml/util/XCat.h b/libjava/gnu/xml/util/XCat.h
new file mode 100644
index 000000000..a0b93275d
--- /dev/null
+++ b/libjava/gnu/xml/util/XCat.h
@@ -0,0 +1,80 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_util_XCat__
+#define __gnu_xml_util_XCat__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace util
+ {
+ class XCat;
+ class XCat$Catalog;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace xml
+ {
+ namespace sax
+ {
+ class ErrorHandler;
+ class InputSource;
+ }
+ }
+ }
+}
+
+class gnu::xml::util::XCat : public ::java::lang::Object
+{
+
+public:
+ XCat();
+ XCat(::java::lang::String *);
+ virtual void loadCatalog(::java::lang::String *);
+ virtual ::org::xml::sax::InputSource * resolveEntity(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ virtual ::org::xml::sax::InputSource * getExternalSubset(::java::lang::String *, ::java::lang::String *);
+ virtual ::org::xml::sax::InputSource * resolveEntity(::java::lang::String *, ::java::lang::String *);
+ virtual ::org::xml::sax::InputSource * resolveURI(::java::lang::String *, ::java::lang::String *);
+ virtual void disableLoading();
+ virtual ::org::xml::sax::ErrorHandler * getErrorHandler();
+ virtual void setErrorHandler(::org::xml::sax::ErrorHandler *);
+ virtual ::java::lang::String * getParserClass();
+ virtual void setParserClass(::java::lang::String *);
+ virtual jboolean isUnified();
+ virtual void setUnified(jboolean);
+ virtual jboolean isUsingPublic();
+ virtual void setUsingPublic(jboolean);
+private:
+ static ::gnu::xml::util::XCat$Catalog * loadCatalog(::java::lang::String *, ::org::xml::sax::ErrorHandler *, ::java::lang::String *, jboolean);
+ static ::java::lang::String * normalizePublicId(jboolean, ::java::lang::String *);
+ static jboolean isUriExcluded(jint);
+ static jint hexNibble(jint);
+ static ::java::lang::String * normalizeURI(::java::lang::String *);
+public: // actually package-private
+ static ::java::lang::String * access$0(jboolean, ::java::lang::String *);
+ static ::java::lang::String * access$1(::java::lang::String *);
+ static ::gnu::xml::util::XCat$Catalog * access$2(::java::lang::String *, ::org::xml::sax::ErrorHandler *, ::java::lang::String *, jboolean);
+private:
+ JArray< ::gnu::xml::util::XCat$Catalog * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) catalogs;
+ jboolean usingPublic;
+ jboolean loadingPermitted;
+ jboolean unified;
+ ::java::lang::String * parserClass;
+ ::org::xml::sax::ErrorHandler * errorHandler;
+ static ::java::lang::String * catalogNamespace;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_util_XCat__
diff --git a/libjava/gnu/xml/util/XHTMLWriter.h b/libjava/gnu/xml/util/XHTMLWriter.h
new file mode 100644
index 000000000..6fd702d48
--- /dev/null
+++ b/libjava/gnu/xml/util/XHTMLWriter.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_util_XHTMLWriter__
+#define __gnu_xml_util_XHTMLWriter__
+
+#pragma interface
+
+#include <gnu/xml/util/XMLWriter.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace util
+ {
+ class XHTMLWriter;
+ }
+ }
+ }
+}
+
+class gnu::xml::util::XHTMLWriter : public ::gnu::xml::util::XMLWriter
+{
+
+public:
+ XHTMLWriter();
+ XHTMLWriter(::java::io::OutputStream *);
+ XHTMLWriter(::java::io::Writer *);
+ XHTMLWriter(::java::io::Writer *, ::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_util_XHTMLWriter__
diff --git a/libjava/gnu/xml/util/XMLWriter.h b/libjava/gnu/xml/util/XMLWriter.h
new file mode 100644
index 000000000..56252a5c1
--- /dev/null
+++ b/libjava/gnu/xml/util/XMLWriter.h
@@ -0,0 +1,152 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_util_XMLWriter__
+#define __gnu_xml_util_XMLWriter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace lang
+ {
+ class CPStringBuilder;
+ }
+ }
+ namespace xml
+ {
+ namespace util
+ {
+ class XMLWriter;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace xml
+ {
+ namespace sax
+ {
+ class Attributes;
+ class ErrorHandler;
+ class Locator;
+ }
+ }
+ }
+}
+
+class gnu::xml::util::XMLWriter : public ::java::lang::Object
+{
+
+ static jboolean isLineEnd(::java::lang::String *);
+public:
+ XMLWriter();
+ XMLWriter(::java::io::OutputStream *);
+ XMLWriter(::java::io::Writer *);
+ XMLWriter(::java::io::Writer *, ::java::lang::String *);
+private:
+ void setEncoding(::java::lang::String *);
+public:
+ virtual void setWriter(::java::io::Writer *, ::java::lang::String *);
+ virtual void setEOL(::java::lang::String *);
+ virtual void setErrorHandler(::org::xml::sax::ErrorHandler *);
+public: // actually protected
+ virtual void fatal(::java::lang::String *, ::java::lang::Exception *);
+public:
+ virtual void setXhtml(jboolean);
+ virtual jboolean isXhtml();
+ virtual void setExpandingEntities(jboolean);
+ virtual jboolean isExpandingEntities();
+ virtual void setPrettyPrinting(jboolean);
+ virtual jboolean isPrettyPrinting();
+ virtual void setCanonical(jboolean);
+ virtual jboolean isCanonical();
+ virtual void flush();
+ virtual void write(::java::lang::String *);
+ virtual void writeElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::org::xml::sax::Attributes *, ::java::lang::String *);
+ virtual void writeElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::org::xml::sax::Attributes *, jint);
+ virtual void setDocumentLocator(::org::xml::sax::Locator *);
+ virtual void startDocument();
+ virtual void endDocument();
+private:
+ static jboolean isEmptyElementTag(::java::lang::String *);
+ static jboolean indentBefore(::java::lang::String *);
+ static jboolean spaceBefore(::java::lang::String *);
+ static jboolean spacePreserve(::java::lang::String *);
+public:
+ virtual void startPrefixMapping(::java::lang::String *, ::java::lang::String *);
+ virtual void endPrefixMapping(::java::lang::String *);
+private:
+ void writeStartTag(::java::lang::String *, ::org::xml::sax::Attributes *, jboolean);
+public:
+ virtual void startElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::org::xml::sax::Attributes *);
+ virtual void writeEmptyElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::org::xml::sax::Attributes *);
+ virtual void endElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ virtual void characters(JArray< jchar > *, jint, jint);
+ virtual void ignorableWhitespace(JArray< jchar > *, jint, jint);
+ virtual void processingInstruction(::java::lang::String *, ::java::lang::String *);
+ virtual void skippedEntity(::java::lang::String *);
+ virtual void startCDATA();
+ virtual void endCDATA();
+ virtual void startDTD(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ virtual void endDTD();
+ virtual void startEntity(::java::lang::String *);
+ virtual void endEntity(::java::lang::String *);
+ virtual void comment(JArray< jchar > *, jint, jint);
+ virtual void notationDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ virtual void unparsedEntityDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ virtual void attributeDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ virtual void elementDecl(::java::lang::String *, ::java::lang::String *);
+ virtual void externalEntityDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ virtual void internalEntityDecl(::java::lang::String *, ::java::lang::String *);
+private:
+ void writeQuotedValue(::java::lang::String *, jint);
+ void escapeChars(JArray< jchar > *, jint, jint, jint);
+ void newline();
+ void doIndent();
+ void rawWrite(jchar);
+ void rawWrite(::java::lang::String *);
+ void rawWrite(JArray< jchar > *, jint, jint);
+ static const jint CTX_ENTITY = 1;
+ static const jint CTX_ATTRIBUTE = 2;
+ static const jint CTX_CONTENT = 3;
+ static const jint CTX_UNPARSED = 4;
+ static const jint CTX_NAME = 5;
+ static ::java::lang::String * sysEOL;
+ ::java::io::Writer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) out;
+ jboolean inCDATA;
+ jint elementNestLevel;
+ ::java::lang::String * eol;
+ jshort dangerMask;
+ ::gnu::java::lang::CPStringBuilder * stringBuf;
+ ::org::xml::sax::Locator * locator;
+ ::org::xml::sax::ErrorHandler * errHandler;
+ jboolean expandingEntities;
+ jint entityNestLevel;
+ jboolean xhtml;
+ jboolean startedDoctype;
+ ::java::lang::String * encoding;
+ jboolean canonical;
+ jboolean inDoctype;
+ jboolean inEpilogue;
+ jboolean prettyPrinting;
+ jint column;
+ jboolean noWrap;
+ ::java::util::Stack * space;
+ static const jint lineLength = 75;
+ static ::java::lang::String * xhtmlFullDTD;
+ static JArray< ::java::lang::String * > * HTMLlat1x;
+ static JArray< ::java::lang::String * > * HTMLsymbolx_GR;
+ static JArray< ::java::lang::String * > * HTMLsymbolx_gr;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_util_XMLWriter__