aboutsummaryrefslogtreecommitdiff
path: root/libjava/javax/xml/xpath
diff options
context:
space:
mode:
authorTom Tromey <tromey@gcc.gnu.org>2007-01-09 19:58:05 +0000
committerTom Tromey <tromey@gcc.gnu.org>2007-01-09 19:58:05 +0000
commit97b8365cafc3a344a22d3980b8ed885f5c6d8357 (patch)
tree996a5f57d4a68c53473382e45cb22f574cb3e4db /libjava/javax/xml/xpath
parentc648dedbde727ca3f883bb5fd773aa4af70d3369 (diff)
downloadgcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.zip
gcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.tar.gz
gcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.tar.bz2
Merged gcj-eclipse branch to trunk.
From-SVN: r120621
Diffstat (limited to 'libjava/javax/xml/xpath')
-rw-r--r--libjava/javax/xml/xpath/XPath.h61
-rw-r--r--libjava/javax/xml/xpath/XPathConstants.h42
-rw-r--r--libjava/javax/xml/xpath/XPathException.h42
-rw-r--r--libjava/javax/xml/xpath/XPathExpression.h49
-rw-r--r--libjava/javax/xml/xpath/XPathExpressionException.h36
-rw-r--r--libjava/javax/xml/xpath/XPathFactory.h49
-rw-r--r--libjava/javax/xml/xpath/XPathFactoryConfigurationException.h36
-rw-r--r--libjava/javax/xml/xpath/XPathFunction.h32
-rw-r--r--libjava/javax/xml/xpath/XPathFunctionException.h36
-rw-r--r--libjava/javax/xml/xpath/XPathFunctionResolver.h37
-rw-r--r--libjava/javax/xml/xpath/XPathVariableResolver.h36
11 files changed, 456 insertions, 0 deletions
diff --git a/libjava/javax/xml/xpath/XPath.h b/libjava/javax/xml/xpath/XPath.h
new file mode 100644
index 0000000..0a67abb
--- /dev/null
+++ b/libjava/javax/xml/xpath/XPath.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_xpath_XPath__
+#define __javax_xml_xpath_XPath__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace
+ {
+ class NamespaceContext;
+ class QName;
+ }
+ namespace xpath
+ {
+ class XPath;
+ class XPathExpression;
+ class XPathFunctionResolver;
+ class XPathVariableResolver;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace xml
+ {
+ namespace sax
+ {
+ class InputSource;
+ }
+ }
+ }
+}
+
+class javax::xml::xpath::XPath : public ::java::lang::Object
+{
+
+public:
+ virtual void reset() = 0;
+ virtual void setXPathVariableResolver(::javax::xml::xpath::XPathVariableResolver *) = 0;
+ virtual ::javax::xml::xpath::XPathVariableResolver * getXPathVariableResolver() = 0;
+ virtual void setXPathFunctionResolver(::javax::xml::xpath::XPathFunctionResolver *) = 0;
+ virtual ::javax::xml::xpath::XPathFunctionResolver * getXPathFunctionResolver() = 0;
+ virtual void setNamespaceContext(::javax::xml::namespace::NamespaceContext *) = 0;
+ virtual ::javax::xml::namespace::NamespaceContext * getNamespaceContext() = 0;
+ virtual ::javax::xml::xpath::XPathExpression * compile(::java::lang::String *) = 0;
+ virtual ::java::lang::Object * evaluate(::java::lang::String *, ::java::lang::Object *, ::javax::xml::namespace::QName *) = 0;
+ virtual ::java::lang::String * evaluate(::java::lang::String *, ::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * evaluate(::java::lang::String *, ::org::xml::sax::InputSource *, ::javax::xml::namespace::QName *) = 0;
+ virtual ::java::lang::String * evaluate(::java::lang::String *, ::org::xml::sax::InputSource *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_xpath_XPath__
diff --git a/libjava/javax/xml/xpath/XPathConstants.h b/libjava/javax/xml/xpath/XPathConstants.h
new file mode 100644
index 0000000..0b15648
--- /dev/null
+++ b/libjava/javax/xml/xpath/XPathConstants.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_xpath_XPathConstants__
+#define __javax_xml_xpath_XPathConstants__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace
+ {
+ class QName;
+ }
+ namespace xpath
+ {
+ class XPathConstants;
+ }
+ }
+ }
+}
+
+class javax::xml::xpath::XPathConstants : public ::java::lang::Object
+{
+
+ XPathConstants();
+public:
+ static ::javax::xml::namespace::QName * NUMBER;
+ static ::javax::xml::namespace::QName * STRING;
+ static ::javax::xml::namespace::QName * BOOLEAN;
+ static ::javax::xml::namespace::QName * NODESET;
+ static ::javax::xml::namespace::QName * NODE;
+ static ::java::lang::String * DOM_OBJECT_MODEL;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_xml_xpath_XPathConstants__
diff --git a/libjava/javax/xml/xpath/XPathException.h b/libjava/javax/xml/xpath/XPathException.h
new file mode 100644
index 0000000..a495a94
--- /dev/null
+++ b/libjava/javax/xml/xpath/XPathException.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_xpath_XPathException__
+#define __javax_xml_xpath_XPathException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace xpath
+ {
+ class XPathException;
+ }
+ }
+ }
+}
+
+class javax::xml::xpath::XPathException : public ::java::lang::Exception
+{
+
+public:
+ XPathException(::java::lang::String *);
+ XPathException(::java::lang::Throwable *);
+ virtual ::java::lang::Throwable * getCause();
+ virtual void printStackTrace();
+ virtual void printStackTrace(::java::io::PrintStream *);
+ virtual void printStackTrace(::java::io::PrintWriter *);
+private:
+ static const jlong serialVersionUID = -1837080260374986980LL;
+public: // actually package-private
+ ::java::lang::Throwable * __attribute__((aligned(__alignof__( ::java::lang::Exception)))) cause;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_xml_xpath_XPathException__
diff --git a/libjava/javax/xml/xpath/XPathExpression.h b/libjava/javax/xml/xpath/XPathExpression.h
new file mode 100644
index 0000000..6a9a0e3
--- /dev/null
+++ b/libjava/javax/xml/xpath/XPathExpression.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_xpath_XPathExpression__
+#define __javax_xml_xpath_XPathExpression__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace
+ {
+ class QName;
+ }
+ namespace xpath
+ {
+ class XPathExpression;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace xml
+ {
+ namespace sax
+ {
+ class InputSource;
+ }
+ }
+ }
+}
+
+class javax::xml::xpath::XPathExpression : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Object * evaluate(::java::lang::Object *, ::javax::xml::namespace::QName *) = 0;
+ virtual ::java::lang::String * evaluate(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * evaluate(::org::xml::sax::InputSource *, ::javax::xml::namespace::QName *) = 0;
+ virtual ::java::lang::String * evaluate(::org::xml::sax::InputSource *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_xpath_XPathExpression__
diff --git a/libjava/javax/xml/xpath/XPathExpressionException.h b/libjava/javax/xml/xpath/XPathExpressionException.h
new file mode 100644
index 0000000..e619bbd
--- /dev/null
+++ b/libjava/javax/xml/xpath/XPathExpressionException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_xpath_XPathExpressionException__
+#define __javax_xml_xpath_XPathExpressionException__
+
+#pragma interface
+
+#include <javax/xml/xpath/XPathException.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace xpath
+ {
+ class XPathExpressionException;
+ }
+ }
+ }
+}
+
+class javax::xml::xpath::XPathExpressionException : public ::javax::xml::xpath::XPathException
+{
+
+public:
+ XPathExpressionException(::java::lang::String *);
+ XPathExpressionException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = -1837080260374986980LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_xml_xpath_XPathExpressionException__
diff --git a/libjava/javax/xml/xpath/XPathFactory.h b/libjava/javax/xml/xpath/XPathFactory.h
new file mode 100644
index 0000000..f4b9ac6
--- /dev/null
+++ b/libjava/javax/xml/xpath/XPathFactory.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_xpath_XPathFactory__
+#define __javax_xml_xpath_XPathFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace xpath
+ {
+ class XPath;
+ class XPathFactory;
+ class XPathFunctionResolver;
+ class XPathVariableResolver;
+ }
+ }
+ }
+}
+
+class javax::xml::xpath::XPathFactory : public ::java::lang::Object
+{
+
+public: // actually protected
+ XPathFactory();
+public:
+ static ::javax::xml::xpath::XPathFactory * newInstance();
+ static ::javax::xml::xpath::XPathFactory * newInstance(::java::lang::String *);
+private:
+ static ::java::lang::String * getFactoryClassName(::java::lang::ClassLoader *, jint);
+public:
+ virtual jboolean isObjectModelSupported(::java::lang::String *) = 0;
+ virtual void setFeature(::java::lang::String *, jboolean) = 0;
+ virtual jboolean getFeature(::java::lang::String *) = 0;
+ virtual void setXPathVariableResolver(::javax::xml::xpath::XPathVariableResolver *) = 0;
+ virtual void setXPathFunctionResolver(::javax::xml::xpath::XPathFunctionResolver *) = 0;
+ virtual ::javax::xml::xpath::XPath * newXPath() = 0;
+ static ::java::lang::String * DEFAULT_PROPERTY_NAME;
+ static ::java::lang::String * DEFAULT_OBJECT_MODEL_URI;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_xml_xpath_XPathFactory__
diff --git a/libjava/javax/xml/xpath/XPathFactoryConfigurationException.h b/libjava/javax/xml/xpath/XPathFactoryConfigurationException.h
new file mode 100644
index 0000000..35ee442
--- /dev/null
+++ b/libjava/javax/xml/xpath/XPathFactoryConfigurationException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_xpath_XPathFactoryConfigurationException__
+#define __javax_xml_xpath_XPathFactoryConfigurationException__
+
+#pragma interface
+
+#include <javax/xml/xpath/XPathException.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace xpath
+ {
+ class XPathFactoryConfigurationException;
+ }
+ }
+ }
+}
+
+class javax::xml::xpath::XPathFactoryConfigurationException : public ::javax::xml::xpath::XPathException
+{
+
+public:
+ XPathFactoryConfigurationException(::java::lang::String *);
+ XPathFactoryConfigurationException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = -1837080260374986980LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_xml_xpath_XPathFactoryConfigurationException__
diff --git a/libjava/javax/xml/xpath/XPathFunction.h b/libjava/javax/xml/xpath/XPathFunction.h
new file mode 100644
index 0000000..adc7636
--- /dev/null
+++ b/libjava/javax/xml/xpath/XPathFunction.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_xpath_XPathFunction__
+#define __javax_xml_xpath_XPathFunction__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace xpath
+ {
+ class XPathFunction;
+ }
+ }
+ }
+}
+
+class javax::xml::xpath::XPathFunction : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Object * evaluate(::java::util::List *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_xpath_XPathFunction__
diff --git a/libjava/javax/xml/xpath/XPathFunctionException.h b/libjava/javax/xml/xpath/XPathFunctionException.h
new file mode 100644
index 0000000..690332a
--- /dev/null
+++ b/libjava/javax/xml/xpath/XPathFunctionException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_xpath_XPathFunctionException__
+#define __javax_xml_xpath_XPathFunctionException__
+
+#pragma interface
+
+#include <javax/xml/xpath/XPathExpressionException.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace xpath
+ {
+ class XPathFunctionException;
+ }
+ }
+ }
+}
+
+class javax::xml::xpath::XPathFunctionException : public ::javax::xml::xpath::XPathExpressionException
+{
+
+public:
+ XPathFunctionException(::java::lang::String *);
+ XPathFunctionException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = -1837080260374986980LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_xml_xpath_XPathFunctionException__
diff --git a/libjava/javax/xml/xpath/XPathFunctionResolver.h b/libjava/javax/xml/xpath/XPathFunctionResolver.h
new file mode 100644
index 0000000..b526d01
--- /dev/null
+++ b/libjava/javax/xml/xpath/XPathFunctionResolver.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_xpath_XPathFunctionResolver__
+#define __javax_xml_xpath_XPathFunctionResolver__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace
+ {
+ class QName;
+ }
+ namespace xpath
+ {
+ class XPathFunction;
+ class XPathFunctionResolver;
+ }
+ }
+ }
+}
+
+class javax::xml::xpath::XPathFunctionResolver : public ::java::lang::Object
+{
+
+public:
+ virtual ::javax::xml::xpath::XPathFunction * resolveFunction(::javax::xml::namespace::QName *, jint) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_xpath_XPathFunctionResolver__
diff --git a/libjava/javax/xml/xpath/XPathVariableResolver.h b/libjava/javax/xml/xpath/XPathVariableResolver.h
new file mode 100644
index 0000000..d308cac
--- /dev/null
+++ b/libjava/javax/xml/xpath/XPathVariableResolver.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_xml_xpath_XPathVariableResolver__
+#define __javax_xml_xpath_XPathVariableResolver__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace namespace
+ {
+ class QName;
+ }
+ namespace xpath
+ {
+ class XPathVariableResolver;
+ }
+ }
+ }
+}
+
+class javax::xml::xpath::XPathVariableResolver : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Object * resolveVariable(::javax::xml::namespace::QName *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_xml_xpath_XPathVariableResolver__