summaryrefslogtreecommitdiff
path: root/libjava/gnu/xml/libxmlj/transform
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/xml/libxmlj/transform')
-rw-r--r--libjava/gnu/xml/libxmlj/transform/ErrorListenerErrorHandler.h65
-rw-r--r--libjava/gnu/xml/libxmlj/transform/GnomeTransformer.h106
-rw-r--r--libjava/gnu/xml/libxmlj/transform/GnomeTransformerFactory$AssociatedStylesheetHandler.h44
-rw-r--r--libjava/gnu/xml/libxmlj/transform/GnomeTransformerFactory.h82
-rw-r--r--libjava/gnu/xml/libxmlj/transform/URIResolverEntityResolver.h60
5 files changed, 357 insertions, 0 deletions
diff --git a/libjava/gnu/xml/libxmlj/transform/ErrorListenerErrorHandler.h b/libjava/gnu/xml/libxmlj/transform/ErrorListenerErrorHandler.h
new file mode 100644
index 000000000..823265feb
--- /dev/null
+++ b/libjava/gnu/xml/libxmlj/transform/ErrorListenerErrorHandler.h
@@ -0,0 +1,65 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_libxmlj_transform_ErrorListenerErrorHandler__
+#define __gnu_xml_libxmlj_transform_ErrorListenerErrorHandler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace libxmlj
+ {
+ namespace transform
+ {
+ class ErrorListenerErrorHandler;
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace transform
+ {
+ class ErrorListener;
+ class TransformerException;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace xml
+ {
+ namespace sax
+ {
+ class SAXException;
+ class SAXParseException;
+ }
+ }
+ }
+}
+
+class gnu::xml::libxmlj::transform::ErrorListenerErrorHandler : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ErrorListenerErrorHandler(::javax::xml::transform::ErrorListener *);
+public:
+ virtual void warning(::org::xml::sax::SAXParseException *);
+ virtual void error(::org::xml::sax::SAXParseException *);
+ virtual void fatalError(::org::xml::sax::SAXParseException *);
+private:
+ ::org::xml::sax::SAXException * getSAXException(::javax::xml::transform::TransformerException *);
+ ::javax::xml::transform::ErrorListener * __attribute__((aligned(__alignof__( ::java::lang::Object)))) listener;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_libxmlj_transform_ErrorListenerErrorHandler__
diff --git a/libjava/gnu/xml/libxmlj/transform/GnomeTransformer.h b/libjava/gnu/xml/libxmlj/transform/GnomeTransformer.h
new file mode 100644
index 000000000..0b197fabd
--- /dev/null
+++ b/libjava/gnu/xml/libxmlj/transform/GnomeTransformer.h
@@ -0,0 +1,106 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_libxmlj_transform_GnomeTransformer__
+#define __gnu_xml_libxmlj_transform_GnomeTransformer__
+
+#pragma interface
+
+#include <javax/xml/transform/Transformer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace libxmlj
+ {
+ namespace dom
+ {
+ class GnomeDocument;
+ }
+ namespace sax
+ {
+ class GnomeXMLReader;
+ }
+ namespace transform
+ {
+ class GnomeTransformer;
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace transform
+ {
+ class ErrorListener;
+ class Result;
+ class Source;
+ class Transformer;
+ class URIResolver;
+ namespace sax
+ {
+ class SAXResult;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::libxmlj::transform::GnomeTransformer : public ::javax::xml::transform::Transformer
+{
+
+public: // actually package-private
+ GnomeTransformer(::javax::xml::transform::Source *, ::javax::xml::transform::URIResolver *, ::javax::xml::transform::ErrorListener *);
+private:
+ GnomeTransformer(::java::lang::Object *, ::javax::xml::transform::URIResolver *, ::javax::xml::transform::ErrorListener *, ::java::util::Map *, ::java::util::Properties *);
+ ::java::lang::Object * newStylesheet();
+ ::java::lang::Object * newStylesheetFromStream(::java::io::InputStream *, JArray< jbyte > *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, jboolean, jboolean);
+ ::java::lang::Object * newStylesheetFromDoc(::gnu::xml::libxmlj::dom::GnomeDocument *);
+public:
+ virtual void setParameter(::java::lang::String *, ::java::lang::Object *);
+ virtual ::java::lang::Object * getParameter(::java::lang::String *);
+ virtual void clearParameters();
+ virtual void setErrorListener(::javax::xml::transform::ErrorListener *);
+ virtual ::javax::xml::transform::ErrorListener * getErrorListener();
+ virtual void setURIResolver(::javax::xml::transform::URIResolver *);
+ virtual ::javax::xml::transform::URIResolver * getURIResolver();
+ virtual void setOutputProperties(::java::util::Properties *);
+ virtual void setOutputProperty(::java::lang::String *, ::java::lang::String *);
+ virtual ::java::util::Properties * getOutputProperties();
+ virtual ::java::lang::String * getOutputProperty(::java::lang::String *);
+ virtual ::javax::xml::transform::Transformer * newTransformer();
+ virtual void transform(::javax::xml::transform::Source *, ::javax::xml::transform::Result *);
+private:
+ ::gnu::xml::libxmlj::sax::GnomeXMLReader * getSAXContext(::javax::xml::transform::sax::SAXResult *);
+ void transformStreamToStream(::java::io::InputStream *, JArray< jbyte > *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, jboolean, jboolean, ::java::io::OutputStream *);
+ ::gnu::xml::libxmlj::dom::GnomeDocument * transformStreamToDoc(::java::io::InputStream *, JArray< jbyte > *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, jboolean, jboolean);
+ void transformStreamToSAX(::java::io::InputStream *, JArray< jbyte > *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, jboolean, jboolean, ::gnu::xml::libxmlj::sax::GnomeXMLReader *);
+ void transformDocToStream(::gnu::xml::libxmlj::dom::GnomeDocument *, ::java::io::OutputStream *);
+ ::gnu::xml::libxmlj::dom::GnomeDocument * transformDocToDoc(::gnu::xml::libxmlj::dom::GnomeDocument *);
+ void transformDocToSAX(::gnu::xml::libxmlj::dom::GnomeDocument *, ::gnu::xml::libxmlj::sax::GnomeXMLReader *);
+ JArray< ::java::lang::String * > * getParameterArray();
+public:
+ virtual void finalize();
+private:
+ void free();
+ ::java::io::InputStream * resolveEntity(::java::lang::String *, ::java::lang::String *);
+ void setDocumentLocator(::java::lang::Object *, ::java::lang::Object *);
+ void warning(::java::lang::String *, jint, jint, ::java::lang::String *, ::java::lang::String *);
+ void error(::java::lang::String *, jint, jint, ::java::lang::String *, ::java::lang::String *);
+ void fatalError(::java::lang::String *, jint, jint, ::java::lang::String *, ::java::lang::String *);
+ ::java::util::Map * __attribute__((aligned(__alignof__( ::javax::xml::transform::Transformer)))) parameters;
+ ::java::util::Properties * outputProperties;
+ ::javax::xml::transform::URIResolver * resolver;
+ ::javax::xml::transform::ErrorListener * errorListener;
+ ::java::lang::Object * stylesheet;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_libxmlj_transform_GnomeTransformer__
diff --git a/libjava/gnu/xml/libxmlj/transform/GnomeTransformerFactory$AssociatedStylesheetHandler.h b/libjava/gnu/xml/libxmlj/transform/GnomeTransformerFactory$AssociatedStylesheetHandler.h
new file mode 100644
index 000000000..6afbf3fab
--- /dev/null
+++ b/libjava/gnu/xml/libxmlj/transform/GnomeTransformerFactory$AssociatedStylesheetHandler.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_libxmlj_transform_GnomeTransformerFactory$AssociatedStylesheetHandler__
+#define __gnu_xml_libxmlj_transform_GnomeTransformerFactory$AssociatedStylesheetHandler__
+
+#pragma interface
+
+#include <org/xml/sax/helpers/DefaultHandler.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace libxmlj
+ {
+ namespace transform
+ {
+ class GnomeTransformerFactory;
+ class GnomeTransformerFactory$AssociatedStylesheetHandler;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::libxmlj::transform::GnomeTransformerFactory$AssociatedStylesheetHandler : public ::org::xml::sax::helpers::DefaultHandler
+{
+
+public: // actually package-private
+ GnomeTransformerFactory$AssociatedStylesheetHandler(::gnu::xml::libxmlj::transform::GnomeTransformerFactory *);
+public:
+ virtual void processingInstruction(::java::lang::String *, ::java::lang::String *);
+public: // actually package-private
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::org::xml::sax::helpers::DefaultHandler)))) media;
+ ::java::lang::String * title;
+ ::java::lang::String * href;
+ ::gnu::xml::libxmlj::transform::GnomeTransformerFactory * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_libxmlj_transform_GnomeTransformerFactory$AssociatedStylesheetHandler__
diff --git a/libjava/gnu/xml/libxmlj/transform/GnomeTransformerFactory.h b/libjava/gnu/xml/libxmlj/transform/GnomeTransformerFactory.h
new file mode 100644
index 000000000..b34706ec3
--- /dev/null
+++ b/libjava/gnu/xml/libxmlj/transform/GnomeTransformerFactory.h
@@ -0,0 +1,82 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_libxmlj_transform_GnomeTransformerFactory__
+#define __gnu_xml_libxmlj_transform_GnomeTransformerFactory__
+
+#pragma interface
+
+#include <javax/xml/transform/TransformerFactory.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace libxmlj
+ {
+ namespace transform
+ {
+ class GnomeTransformerFactory;
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace transform
+ {
+ class ErrorListener;
+ class Source;
+ class Templates;
+ class Transformer;
+ class URIResolver;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace xml
+ {
+ namespace sax
+ {
+ class XMLReader;
+ }
+ }
+ }
+}
+
+class gnu::xml::libxmlj::transform::GnomeTransformerFactory : public ::javax::xml::transform::TransformerFactory
+{
+
+public:
+ GnomeTransformerFactory();
+ virtual ::javax::xml::transform::Source * getAssociatedStylesheet(::javax::xml::transform::Source *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+private:
+ ::org::xml::sax::XMLReader * createXMLReader();
+public: // actually package-private
+ virtual ::java::lang::String * parseParameter(::java::lang::String *, ::java::lang::String *);
+public:
+ virtual void setAttribute(::java::lang::String *, ::java::lang::Object *);
+ virtual ::java::lang::Object * getAttribute(::java::lang::String *);
+ virtual void setErrorListener(::javax::xml::transform::ErrorListener *);
+ virtual ::javax::xml::transform::ErrorListener * getErrorListener();
+ virtual void setURIResolver(::javax::xml::transform::URIResolver *);
+ virtual ::javax::xml::transform::URIResolver * getURIResolver();
+ virtual jboolean getFeature(::java::lang::String *);
+ virtual void setFeature(::java::lang::String *, jboolean);
+ virtual ::javax::xml::transform::Transformer * newTransformer();
+ virtual ::javax::xml::transform::Transformer * newTransformer(::javax::xml::transform::Source *);
+ virtual ::javax::xml::transform::Templates * newTemplates(::javax::xml::transform::Source *);
+ static void freeLibxsltGlobal();
+private:
+ ::javax::xml::transform::URIResolver * __attribute__((aligned(__alignof__( ::javax::xml::transform::TransformerFactory)))) uriResolver;
+ ::javax::xml::transform::ErrorListener * errorListener;
+ ::java::util::Map * attributes;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_libxmlj_transform_GnomeTransformerFactory__
diff --git a/libjava/gnu/xml/libxmlj/transform/URIResolverEntityResolver.h b/libjava/gnu/xml/libxmlj/transform/URIResolverEntityResolver.h
new file mode 100644
index 000000000..88df98333
--- /dev/null
+++ b/libjava/gnu/xml/libxmlj/transform/URIResolverEntityResolver.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_libxmlj_transform_URIResolverEntityResolver__
+#define __gnu_xml_libxmlj_transform_URIResolverEntityResolver__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace libxmlj
+ {
+ namespace transform
+ {
+ class URIResolverEntityResolver;
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace transform
+ {
+ class URIResolver;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace xml
+ {
+ namespace sax
+ {
+ class InputSource;
+ }
+ }
+ }
+}
+
+class gnu::xml::libxmlj::transform::URIResolverEntityResolver : public ::java::lang::Object
+{
+
+public: // actually package-private
+ URIResolverEntityResolver(::javax::xml::transform::URIResolver *);
+public:
+ virtual ::org::xml::sax::InputSource * resolveEntity(::java::lang::String *, ::java::lang::String *);
+private:
+ ::javax::xml::transform::URIResolver * __attribute__((aligned(__alignof__( ::java::lang::Object)))) resolver;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_libxmlj_transform_URIResolverEntityResolver__