summaryrefslogtreecommitdiff
path: root/libjava/gnu/xml/aelfred2
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/xml/aelfred2')
-rw-r--r--libjava/gnu/xml/aelfred2/JAXPFactory$JaxpParser.h59
-rw-r--r--libjava/gnu/xml/aelfred2/JAXPFactory.h48
-rw-r--r--libjava/gnu/xml/aelfred2/SAXDriver$Adapter.h61
-rw-r--r--libjava/gnu/xml/aelfred2/SAXDriver$Attribute.h38
-rw-r--r--libjava/gnu/xml/aelfred2/SAXDriver.h167
-rw-r--r--libjava/gnu/xml/aelfred2/XmlParser$AttributeDecl.h38
-rw-r--r--libjava/gnu/xml/aelfred2/XmlParser$ElementDecl.h36
-rw-r--r--libjava/gnu/xml/aelfred2/XmlParser$EntityInfo.h38
-rw-r--r--libjava/gnu/xml/aelfred2/XmlParser$ExternalIdentifiers.h37
-rw-r--r--libjava/gnu/xml/aelfred2/XmlParser$Input.h54
-rw-r--r--libjava/gnu/xml/aelfred2/XmlParser.h274
-rw-r--r--libjava/gnu/xml/aelfred2/XmlReader$FatalErrorHandler.h44
-rw-r--r--libjava/gnu/xml/aelfred2/XmlReader.h76
13 files changed, 970 insertions, 0 deletions
diff --git a/libjava/gnu/xml/aelfred2/JAXPFactory$JaxpParser.h b/libjava/gnu/xml/aelfred2/JAXPFactory$JaxpParser.h
new file mode 100644
index 000000000..42e8e0be0
--- /dev/null
+++ b/libjava/gnu/xml/aelfred2/JAXPFactory$JaxpParser.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_aelfred2_JAXPFactory$JaxpParser__
+#define __gnu_xml_aelfred2_JAXPFactory$JaxpParser__
+
+#pragma interface
+
+#include <javax/xml/parsers/SAXParser.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace aelfred2
+ {
+ class JAXPFactory$JaxpParser;
+ class XmlReader;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace xml
+ {
+ namespace sax
+ {
+ class Parser;
+ class XMLReader;
+ namespace helpers
+ {
+ class XMLReaderAdapter;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::aelfred2::JAXPFactory$JaxpParser : public ::javax::xml::parsers::SAXParser
+{
+
+public: // actually package-private
+ JAXPFactory$JaxpParser();
+public:
+ virtual void setProperty(::java::lang::String *, ::java::lang::Object *);
+ virtual ::java::lang::Object * getProperty(::java::lang::String *);
+ virtual ::org::xml::sax::Parser * getParser();
+ virtual ::org::xml::sax::XMLReader * getXMLReader();
+ virtual jboolean isNamespaceAware();
+ virtual jboolean isValidating();
+private:
+ ::gnu::xml::aelfred2::XmlReader * __attribute__((aligned(__alignof__( ::javax::xml::parsers::SAXParser)))) ae2;
+ ::org::xml::sax::helpers::XMLReaderAdapter * parser;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_aelfred2_JAXPFactory$JaxpParser__
diff --git a/libjava/gnu/xml/aelfred2/JAXPFactory.h b/libjava/gnu/xml/aelfred2/JAXPFactory.h
new file mode 100644
index 000000000..8bffce6c8
--- /dev/null
+++ b/libjava/gnu/xml/aelfred2/JAXPFactory.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_aelfred2_JAXPFactory__
+#define __gnu_xml_aelfred2_JAXPFactory__
+
+#pragma interface
+
+#include <javax/xml/parsers/SAXParserFactory.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace aelfred2
+ {
+ class JAXPFactory;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace xml
+ {
+ namespace parsers
+ {
+ class SAXParser;
+ }
+ }
+ }
+}
+
+class gnu::xml::aelfred2::JAXPFactory : public ::javax::xml::parsers::SAXParserFactory
+{
+
+public:
+ JAXPFactory();
+ ::javax::xml::parsers::SAXParser * newSAXParser();
+ void setFeature(::java::lang::String *, jboolean);
+ jboolean getFeature(::java::lang::String *);
+private:
+ ::java::util::Hashtable * __attribute__((aligned(__alignof__( ::javax::xml::parsers::SAXParserFactory)))) flags;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_aelfred2_JAXPFactory__
diff --git a/libjava/gnu/xml/aelfred2/SAXDriver$Adapter.h b/libjava/gnu/xml/aelfred2/SAXDriver$Adapter.h
new file mode 100644
index 000000000..ac3cbea3a
--- /dev/null
+++ b/libjava/gnu/xml/aelfred2/SAXDriver$Adapter.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_aelfred2_SAXDriver$Adapter__
+#define __gnu_xml_aelfred2_SAXDriver$Adapter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace aelfred2
+ {
+ class SAXDriver$Adapter;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace xml
+ {
+ namespace sax
+ {
+ class Attributes;
+ class DocumentHandler;
+ class Locator;
+ }
+ }
+ }
+}
+
+class gnu::xml::aelfred2::SAXDriver$Adapter : public ::java::lang::Object
+{
+
+public: // actually package-private
+ SAXDriver$Adapter(::org::xml::sax::DocumentHandler *);
+public:
+ virtual void setDocumentLocator(::org::xml::sax::Locator *);
+ virtual void startDocument();
+ virtual void processingInstruction(::java::lang::String *, ::java::lang::String *);
+ virtual void startPrefixMapping(::java::lang::String *, ::java::lang::String *);
+ virtual void startElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::org::xml::sax::Attributes *);
+ virtual void characters(JArray< jchar > *, jint, jint);
+ virtual void ignorableWhitespace(JArray< jchar > *, jint, jint);
+ virtual void skippedEntity(::java::lang::String *);
+ virtual void endElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ virtual void endPrefixMapping(::java::lang::String *);
+ virtual void endDocument();
+private:
+ ::org::xml::sax::DocumentHandler * __attribute__((aligned(__alignof__( ::java::lang::Object)))) docHandler;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_aelfred2_SAXDriver$Adapter__
diff --git a/libjava/gnu/xml/aelfred2/SAXDriver$Attribute.h b/libjava/gnu/xml/aelfred2/SAXDriver$Attribute.h
new file mode 100644
index 000000000..3aca39008
--- /dev/null
+++ b/libjava/gnu/xml/aelfred2/SAXDriver$Attribute.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_aelfred2_SAXDriver$Attribute__
+#define __gnu_xml_aelfred2_SAXDriver$Attribute__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace aelfred2
+ {
+ class SAXDriver$Attribute;
+ }
+ }
+ }
+}
+
+class gnu::xml::aelfred2::SAXDriver$Attribute : public ::java::lang::Object
+{
+
+public: // actually package-private
+ SAXDriver$Attribute(::java::lang::String *, ::java::lang::String *, jboolean);
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ ::java::lang::String * value;
+ ::java::lang::String * nameSpace;
+ ::java::lang::String * localName;
+ jboolean specified;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_aelfred2_SAXDriver$Attribute__
diff --git a/libjava/gnu/xml/aelfred2/SAXDriver.h b/libjava/gnu/xml/aelfred2/SAXDriver.h
new file mode 100644
index 000000000..aca07f727
--- /dev/null
+++ b/libjava/gnu/xml/aelfred2/SAXDriver.h
@@ -0,0 +1,167 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_aelfred2_SAXDriver__
+#define __gnu_xml_aelfred2_SAXDriver__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace aelfred2
+ {
+ class SAXDriver;
+ class XmlParser;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace xml
+ {
+ namespace sax
+ {
+ class ContentHandler;
+ class DTDHandler;
+ class DocumentHandler;
+ class EntityResolver;
+ class ErrorHandler;
+ class InputSource;
+ namespace ext
+ {
+ class DeclHandler;
+ class DefaultHandler2;
+ class EntityResolver2;
+ class LexicalHandler;
+ }
+ namespace helpers
+ {
+ class NamespaceSupport;
+ }
+ }
+ }
+ }
+}
+
+class gnu::xml::aelfred2::SAXDriver : public ::java::lang::Object
+{
+
+public:
+ SAXDriver();
+private:
+ void reset();
+public:
+ void setLocale(::java::util::Locale *);
+ ::org::xml::sax::EntityResolver * getEntityResolver();
+ void setEntityResolver(::org::xml::sax::EntityResolver *);
+ ::org::xml::sax::DTDHandler * getDTDHandler();
+ void setDTDHandler(::org::xml::sax::DTDHandler *);
+ void setDocumentHandler(::org::xml::sax::DocumentHandler *);
+ ::org::xml::sax::ContentHandler * getContentHandler();
+ void setContentHandler(::org::xml::sax::ContentHandler *);
+ void setErrorHandler(::org::xml::sax::ErrorHandler *);
+ ::org::xml::sax::ErrorHandler * getErrorHandler();
+ void parse(::org::xml::sax::InputSource *);
+ void parse(::java::lang::String *);
+ jboolean getFeature(::java::lang::String *);
+public: // actually package-private
+ ::org::xml::sax::ext::DeclHandler * getDeclHandler();
+ jboolean resolveURIs();
+public:
+ ::java::lang::Object * getProperty(::java::lang::String *);
+ void setFeature(::java::lang::String *, jboolean);
+ void setProperty(::java::lang::String *, ::java::lang::Object *);
+public: // actually package-private
+ void startDocument();
+ void skippedEntity(::java::lang::String *);
+ ::org::xml::sax::InputSource * getExternalSubset(::java::lang::String *, ::java::lang::String *);
+ ::org::xml::sax::InputSource * resolveEntity(jboolean, ::java::lang::String *, ::org::xml::sax::InputSource *, ::java::lang::String *);
+ ::java::lang::String * absolutize(::java::lang::String *, ::java::lang::String *, jboolean);
+ void startExternalEntity(::java::lang::String *, ::java::lang::String *, jboolean);
+ void endExternalEntity(::java::lang::String *);
+ void startInternalEntity(::java::lang::String *);
+ void endInternalEntity(::java::lang::String *);
+ void doctypeDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ void notationDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ void unparsedEntityDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ void endDoctype();
+private:
+ void declarePrefix(::java::lang::String *, ::java::lang::String *);
+public: // actually package-private
+ void attribute(::java::lang::String *, ::java::lang::String *, jboolean);
+ void startElement(::java::lang::String *);
+ void endElement(::java::lang::String *);
+ void startCDATA();
+ void charData(JArray< jchar > *, jint, jint);
+ void endCDATA();
+ void ignorableWhitespace(JArray< jchar > *, jint, jint);
+ void processingInstruction(::java::lang::String *, ::java::lang::String *);
+ void comment(JArray< jchar > *, jint, jint);
+ void fatal(::java::lang::String *);
+ void verror(::java::lang::String *);
+ void warn(::java::lang::String *);
+public:
+ jint getLength();
+ ::java::lang::String * getURI(jint);
+ ::java::lang::String * getLocalName(jint);
+ ::java::lang::String * getQName(jint);
+ ::java::lang::String * getName(jint);
+ ::java::lang::String * getType(jint);
+ ::java::lang::String * getValue(jint);
+ jint getIndex(::java::lang::String *, ::java::lang::String *);
+ jint getIndex(::java::lang::String *);
+ ::java::lang::String * getType(::java::lang::String *, ::java::lang::String *);
+ ::java::lang::String * getType(::java::lang::String *);
+ ::java::lang::String * getValue(::java::lang::String *, ::java::lang::String *);
+ ::java::lang::String * getValue(::java::lang::String *);
+ jboolean isDeclared(jint);
+ jboolean isDeclared(::java::lang::String *);
+ jboolean isDeclared(::java::lang::String *, ::java::lang::String *);
+ jboolean isSpecified(jint);
+ jboolean isSpecified(::java::lang::String *, ::java::lang::String *);
+ jboolean isSpecified(::java::lang::String *);
+ ::java::lang::String * getPublicId();
+ ::java::lang::String * getSystemId();
+ jint getLineNumber();
+ jint getColumnNumber();
+private:
+ ::org::xml::sax::ext::DefaultHandler2 * __attribute__((aligned(__alignof__( ::java::lang::Object)))) base;
+ ::gnu::xml::aelfred2::XmlParser * parser;
+ ::org::xml::sax::EntityResolver * entityResolver;
+ ::org::xml::sax::ext::EntityResolver2 * resolver2;
+ ::org::xml::sax::ContentHandler * contentHandler;
+ ::org::xml::sax::DTDHandler * dtdHandler;
+ ::org::xml::sax::ErrorHandler * errorHandler;
+ ::org::xml::sax::ext::DeclHandler * declHandler;
+ ::org::xml::sax::ext::LexicalHandler * lexicalHandler;
+ ::java::lang::String * elementName;
+ ::java::util::Stack * entityStack;
+ ::java::util::List * attributesList;
+ jboolean namespaces;
+ jboolean xmlNames;
+ jboolean extGE;
+ jboolean extPE;
+ jboolean resolveAll;
+ jboolean useResolver2;
+public: // actually package-private
+ jboolean stringInterning;
+private:
+ jint attributeCount;
+ jboolean attributes;
+ JArray< ::java::lang::String * > * nsTemp;
+ ::org::xml::sax::helpers::NamespaceSupport * prefixStack;
+public: // actually package-private
+ static ::java::lang::String * FEATURE;
+ static ::java::lang::String * PROPERTY;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_aelfred2_SAXDriver__
diff --git a/libjava/gnu/xml/aelfred2/XmlParser$AttributeDecl.h b/libjava/gnu/xml/aelfred2/XmlParser$AttributeDecl.h
new file mode 100644
index 000000000..4baac80e1
--- /dev/null
+++ b/libjava/gnu/xml/aelfred2/XmlParser$AttributeDecl.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_aelfred2_XmlParser$AttributeDecl__
+#define __gnu_xml_aelfred2_XmlParser$AttributeDecl__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace aelfred2
+ {
+ class XmlParser$AttributeDecl;
+ }
+ }
+ }
+}
+
+class gnu::xml::aelfred2::XmlParser$AttributeDecl : public ::java::lang::Object
+{
+
+public: // actually package-private
+ XmlParser$AttributeDecl();
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
+ ::java::lang::String * value;
+ jint valueType;
+ ::java::lang::String * enumeration;
+ ::java::lang::String * defaultValue;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_aelfred2_XmlParser$AttributeDecl__
diff --git a/libjava/gnu/xml/aelfred2/XmlParser$ElementDecl.h b/libjava/gnu/xml/aelfred2/XmlParser$ElementDecl.h
new file mode 100644
index 000000000..8e992e1ca
--- /dev/null
+++ b/libjava/gnu/xml/aelfred2/XmlParser$ElementDecl.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_aelfred2_XmlParser$ElementDecl__
+#define __gnu_xml_aelfred2_XmlParser$ElementDecl__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace aelfred2
+ {
+ class XmlParser$ElementDecl;
+ }
+ }
+ }
+}
+
+class gnu::xml::aelfred2::XmlParser$ElementDecl : public ::java::lang::Object
+{
+
+public: // actually package-private
+ XmlParser$ElementDecl();
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) contentType;
+ ::java::lang::String * contentModel;
+ ::java::util::HashMap * attributes;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_aelfred2_XmlParser$ElementDecl__
diff --git a/libjava/gnu/xml/aelfred2/XmlParser$EntityInfo.h b/libjava/gnu/xml/aelfred2/XmlParser$EntityInfo.h
new file mode 100644
index 000000000..5c4701a40
--- /dev/null
+++ b/libjava/gnu/xml/aelfred2/XmlParser$EntityInfo.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_aelfred2_XmlParser$EntityInfo__
+#define __gnu_xml_aelfred2_XmlParser$EntityInfo__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace aelfred2
+ {
+ class XmlParser$EntityInfo;
+ class XmlParser$ExternalIdentifiers;
+ }
+ }
+ }
+}
+
+class gnu::xml::aelfred2::XmlParser$EntityInfo : public ::java::lang::Object
+{
+
+public: // actually package-private
+ XmlParser$EntityInfo();
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
+ ::gnu::xml::aelfred2::XmlParser$ExternalIdentifiers * ids;
+ ::java::lang::String * value;
+ ::java::lang::String * notationName;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_aelfred2_XmlParser$EntityInfo__
diff --git a/libjava/gnu/xml/aelfred2/XmlParser$ExternalIdentifiers.h b/libjava/gnu/xml/aelfred2/XmlParser$ExternalIdentifiers.h
new file mode 100644
index 000000000..a91f6496f
--- /dev/null
+++ b/libjava/gnu/xml/aelfred2/XmlParser$ExternalIdentifiers.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_aelfred2_XmlParser$ExternalIdentifiers__
+#define __gnu_xml_aelfred2_XmlParser$ExternalIdentifiers__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace aelfred2
+ {
+ class XmlParser$ExternalIdentifiers;
+ }
+ }
+ }
+}
+
+class gnu::xml::aelfred2::XmlParser$ExternalIdentifiers : public ::java::lang::Object
+{
+
+public: // actually package-private
+ XmlParser$ExternalIdentifiers();
+ XmlParser$ExternalIdentifiers(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) publicId;
+ ::java::lang::String * systemId;
+ ::java::lang::String * baseUri;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_aelfred2_XmlParser$ExternalIdentifiers__
diff --git a/libjava/gnu/xml/aelfred2/XmlParser$Input.h b/libjava/gnu/xml/aelfred2/XmlParser$Input.h
new file mode 100644
index 000000000..feaf39e5f
--- /dev/null
+++ b/libjava/gnu/xml/aelfred2/XmlParser$Input.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_aelfred2_XmlParser$Input__
+#define __gnu_xml_aelfred2_XmlParser$Input__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace aelfred2
+ {
+ class XmlParser$Input;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URLConnection;
+ }
+ }
+}
+
+class gnu::xml::aelfred2::XmlParser$Input : public ::java::lang::Object
+{
+
+public: // actually package-private
+ XmlParser$Input();
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) sourceType;
+ ::java::net::URLConnection * externalEntity;
+ JArray< jchar > * readBuffer;
+ jint readBufferPos;
+ jint readBufferLength;
+ jint line;
+ jint encoding;
+ jint readBufferOverflow;
+ ::java::io::InputStream * is;
+ jint currentByteCount;
+ jint column;
+ ::java::io::Reader * reader;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_aelfred2_XmlParser$Input__
diff --git a/libjava/gnu/xml/aelfred2/XmlParser.h b/libjava/gnu/xml/aelfred2/XmlParser.h
new file mode 100644
index 000000000..baf73193b
--- /dev/null
+++ b/libjava/gnu/xml/aelfred2/XmlParser.h
@@ -0,0 +1,274 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_aelfred2_XmlParser__
+#define __gnu_xml_aelfred2_XmlParser__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace aelfred2
+ {
+ class SAXDriver;
+ class XmlParser;
+ class XmlParser$AttributeDecl;
+ class XmlParser$ElementDecl;
+ class XmlParser$ExternalIdentifiers;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URLConnection;
+ }
+ }
+ namespace org
+ {
+ namespace xml
+ {
+ namespace sax
+ {
+ class InputSource;
+ }
+ }
+ }
+}
+
+class gnu::xml::aelfred2::XmlParser : public ::java::lang::Object
+{
+
+public: // actually package-private
+ XmlParser();
+ void setHandler(::gnu::xml::aelfred2::SAXDriver *);
+ void doParse(::java::lang::String *, ::java::lang::String *, ::java::io::Reader *, ::java::io::InputStream *, ::java::lang::String *);
+private:
+ void error(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ void error(::java::lang::String *, jchar, ::java::lang::String *);
+ void error(::java::lang::String *);
+ void parseDocument();
+ void parseComment();
+ void parsePI();
+ void parseCDSect();
+ jboolean parseProlog();
+ void checkLegalVersion(::java::lang::String *);
+ ::java::lang::String * parseXMLDecl(jboolean);
+ ::java::lang::String * parseTextDecl(jboolean);
+ void setupDecoding(::java::lang::String *);
+ void parseMisc();
+ void parseDoctypedecl();
+ void parseMarkupdecl();
+ void parseElement(jboolean);
+ void parseAttribute(::java::lang::String *);
+ void parseEq();
+ void parseETag();
+ void parseContent();
+ void parseElementDecl();
+ void parseContentspec(::java::lang::String *);
+ void parseElements(JArray< jchar > *);
+ void parseCp();
+ void parseMixed(JArray< jchar > *);
+ void parseAttlistDecl();
+ void parseAttDef(::java::lang::String *);
+ ::java::lang::String * readAttType();
+ void parseEnumeration(jboolean);
+ void parseNotationType();
+ void parseDefault(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ void parseConditionalSect(JArray< jchar > *);
+ void parseCharRef();
+ void tryReadCharRef();
+ void parseCharRef(jboolean);
+ void parseEntityRef(jboolean);
+ void parsePEReference();
+ void parseEntityDecl();
+ void parseNotationDecl();
+ void parseCharData();
+ void requireWhitespace();
+ void skipWhitespace();
+ ::java::lang::String * readNmtoken(jboolean);
+ static jboolean isExtender(jchar);
+ ::java::lang::String * readLiteral(jint);
+ ::gnu::xml::aelfred2::XmlParser$ExternalIdentifiers * readExternalIds(jboolean, jboolean);
+ jboolean isWhitespace(jchar);
+ void dataBufferAppend(jchar);
+ void dataBufferAppend(::java::lang::String *);
+ void dataBufferAppend(JArray< jchar > *, jint, jint);
+ void dataBufferNormalize();
+ ::java::lang::String * dataBufferToString();
+ void dataBufferFlush();
+ void require(::java::lang::String *);
+ void require(jchar);
+public:
+ ::java::lang::String * intern(JArray< jchar > *, jint, jint);
+private:
+ ::java::lang::Object * extendArray(::java::lang::Object *, jint, jint);
+public: // actually package-private
+ jboolean isStandalone();
+private:
+ jint getContentType(::gnu::xml::aelfred2::XmlParser$ElementDecl *, jint);
+public:
+ jint getElementContentType(::java::lang::String *);
+private:
+ void setElement(::java::lang::String *, jint, ::java::lang::String *, ::java::util::HashMap *);
+ ::java::util::HashMap * getElementAttributes(::java::lang::String *);
+ ::java::util::Iterator * declaredAttributes(::gnu::xml::aelfred2::XmlParser$ElementDecl *);
+public:
+ ::java::util::Iterator * declaredAttributes(::java::lang::String *);
+ ::java::lang::String * getAttributeType(::java::lang::String *, ::java::lang::String *);
+ ::java::lang::String * getAttributeEnumeration(::java::lang::String *, ::java::lang::String *);
+ ::java::lang::String * getAttributeDefaultValue(::java::lang::String *, ::java::lang::String *);
+ jint getAttributeDefaultValueType(::java::lang::String *, ::java::lang::String *);
+private:
+ void setAttribute(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, jint);
+ ::gnu::xml::aelfred2::XmlParser$AttributeDecl * getAttribute(::java::lang::String *, ::java::lang::String *);
+public:
+ jint getEntityType(::java::lang::String *);
+ ::gnu::xml::aelfred2::XmlParser$ExternalIdentifiers * getEntityIds(::java::lang::String *);
+ ::java::lang::String * getEntityValue(::java::lang::String *);
+private:
+ void setInternalEntity(::java::lang::String *, ::java::lang::String *);
+ void setExternalEntity(::java::lang::String *, jint, ::gnu::xml::aelfred2::XmlParser$ExternalIdentifiers *, ::java::lang::String *);
+ void setNotation(::java::lang::String *, ::gnu::xml::aelfred2::XmlParser$ExternalIdentifiers *);
+public:
+ jint getLineNumber();
+ jint getColumnNumber();
+private:
+ jchar readCh();
+ void unread(jchar);
+ void unread(JArray< jchar > *, jint);
+ void pushURL(jboolean, ::java::lang::String *, ::gnu::xml::aelfred2::XmlParser$ExternalIdentifiers *, ::java::io::Reader *, ::java::io::InputStream *, ::java::lang::String *, jboolean);
+ ::java::lang::String * tryEncodingDecl(jboolean);
+ void detectEncoding();
+ static jboolean tryEncoding(JArray< jbyte > *, jbyte, jbyte, jbyte, jbyte);
+ static jboolean tryEncoding(JArray< jbyte > *, jbyte, jbyte);
+ void pushString(::java::lang::String *, ::java::lang::String *);
+ void pushCharArray(::java::lang::String *, JArray< jchar > *, jint, jint);
+ void pushInput(::java::lang::String *);
+ void popInput();
+ jboolean tryRead(jchar);
+ jboolean tryRead(::java::lang::String *);
+ jboolean tryRead(JArray< jchar > *);
+ jboolean tryWhitespace();
+ void parseUntil(::java::lang::String *);
+ void parseUntil(JArray< jchar > *);
+ void prefetchASCIIEncodingDecl();
+ void readDataChunk();
+ void filterCR(jboolean);
+ void copyUtf8ReadBuffer(jint);
+ jint getNextUtf8Byte(jint, jint);
+ void copyIso8859_1ReadBuffer(jint, jchar);
+ void copyUcs2ReadBuffer(jint, jint, jint);
+ void copyUcs4ReadBuffer(jint, jint, jint, jint, jint);
+ void encodingError(::java::lang::String *, jint, jint);
+ void initializeVariables();
+ static const jboolean USE_CHEATS = 1;
+public:
+ static const jint CONTENT_UNDECLARED = 0;
+ static const jint CONTENT_ANY = 1;
+ static const jint CONTENT_EMPTY = 2;
+ static const jint CONTENT_MIXED = 3;
+ static const jint CONTENT_ELEMENTS = 4;
+ static const jint ENTITY_UNDECLARED = 0;
+ static const jint ENTITY_INTERNAL = 1;
+ static const jint ENTITY_NDATA = 2;
+ static const jint ENTITY_TEXT = 3;
+private:
+ static const jint ENCODING_EXTERNAL = 0;
+ static const jint ENCODING_UTF_8 = 1;
+ static const jint ENCODING_ISO_8859_1 = 2;
+ static const jint ENCODING_UCS_2_12 = 3;
+ static const jint ENCODING_UCS_2_21 = 4;
+ static const jint ENCODING_UCS_4_1234 = 5;
+ static const jint ENCODING_UCS_4_4321 = 6;
+ static const jint ENCODING_UCS_4_2143 = 7;
+ static const jint ENCODING_UCS_4_3412 = 8;
+ static const jint ENCODING_ASCII = 9;
+public:
+ static const jint ATTRIBUTE_DEFAULT_UNDECLARED = 30;
+ static const jint ATTRIBUTE_DEFAULT_SPECIFIED = 31;
+ static const jint ATTRIBUTE_DEFAULT_IMPLIED = 32;
+ static const jint ATTRIBUTE_DEFAULT_REQUIRED = 33;
+ static const jint ATTRIBUTE_DEFAULT_FIXED = 34;
+private:
+ static const jint INPUT_NONE = 0;
+ static const jint INPUT_INTERNAL = 1;
+ static const jint INPUT_STREAM = 3;
+ static const jint INPUT_READER = 5;
+ static const jint LIT_ENTITY_REF = 2;
+ static const jint LIT_NORMALIZE = 4;
+ static const jint LIT_ATTRIBUTE = 8;
+ static const jint LIT_DISABLE_PE = 16;
+ static const jint LIT_DISABLE_CREF = 32;
+ static const jint LIT_DISABLE_EREF = 64;
+ static const jint LIT_PUBID = 256;
+ static const jint CONTEXT_NORMAL = 0;
+ static const jint CONTEXT_LITERAL = 1;
+public: // actually package-private
+ static jboolean uriWarnings;
+private:
+ ::gnu::xml::aelfred2::SAXDriver * __attribute__((aligned(__alignof__( ::java::lang::Object)))) handler;
+ ::java::io::Reader * reader;
+ ::java::io::InputStream * is;
+ jint line;
+ jint column;
+ jint sourceType;
+ ::java::util::LinkedList * inputStack;
+ ::java::net::URLConnection * externalEntity;
+ jint encoding;
+ jint currentByteCount;
+ ::org::xml::sax::InputSource * scratch;
+ JArray< jchar > * readBuffer;
+ jint readBufferPos;
+ jint readBufferLength;
+ jint readBufferOverflow;
+ static const jint READ_BUFFER_MAX = 16384;
+ JArray< jbyte > * rawReadBuffer;
+ static jint DATA_BUFFER_INITIAL;
+ JArray< jchar > * dataBuffer;
+ jint dataBufferPos;
+ static jint NAME_BUFFER_INITIAL;
+ JArray< jchar > * nameBuffer;
+ jint nameBufferPos;
+ jboolean docIsStandalone;
+ ::java::util::HashMap * elementInfo;
+ ::java::util::HashMap * entityInfo;
+ ::java::util::HashMap * notationInfo;
+ jboolean skippedPE;
+ ::java::lang::String * currentElement;
+ jint currentElementContent;
+ ::java::util::LinkedList * entityStack;
+ jboolean inLiteral;
+ jboolean expandPE;
+ jboolean peIsError;
+ jboolean doReport;
+ static const jint SYMBOL_TABLE_LENGTH = 2039;
+ JArray< JArray< ::java::lang::Object * > * > * symbolTable;
+ JArray< ::java::lang::String * > * tagAttributes;
+ jint tagAttributePos;
+ jboolean sawCR;
+ jboolean inCDATA;
+ static const jint XML_10 = 0;
+ static const jint XML_11 = 1;
+ jint xmlVersion;
+public: // actually package-private
+ static JArray< jchar > * startDelimComment;
+ static JArray< jchar > * endDelimComment;
+ static JArray< jchar > * startDelimPI;
+ static JArray< jchar > * endDelimPI;
+ static JArray< jchar > * endDelimCDATA;
+private:
+ jboolean isDirtyCurrentElement;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_aelfred2_XmlParser__
diff --git a/libjava/gnu/xml/aelfred2/XmlReader$FatalErrorHandler.h b/libjava/gnu/xml/aelfred2/XmlReader$FatalErrorHandler.h
new file mode 100644
index 000000000..2e8de94fe
--- /dev/null
+++ b/libjava/gnu/xml/aelfred2/XmlReader$FatalErrorHandler.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_aelfred2_XmlReader$FatalErrorHandler__
+#define __gnu_xml_aelfred2_XmlReader$FatalErrorHandler__
+
+#pragma interface
+
+#include <org/xml/sax/ext/DefaultHandler2.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace aelfred2
+ {
+ class XmlReader$FatalErrorHandler;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace xml
+ {
+ namespace sax
+ {
+ class SAXParseException;
+ }
+ }
+ }
+}
+
+class gnu::xml::aelfred2::XmlReader$FatalErrorHandler : public ::org::xml::sax::ext::DefaultHandler2
+{
+
+public: // actually package-private
+ XmlReader$FatalErrorHandler();
+public:
+ virtual void error(::org::xml::sax::SAXParseException *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_aelfred2_XmlReader$FatalErrorHandler__
diff --git a/libjava/gnu/xml/aelfred2/XmlReader.h b/libjava/gnu/xml/aelfred2/XmlReader.h
new file mode 100644
index 000000000..3d0f5ed3d
--- /dev/null
+++ b/libjava/gnu/xml/aelfred2/XmlReader.h
@@ -0,0 +1,76 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_xml_aelfred2_XmlReader__
+#define __gnu_xml_aelfred2_XmlReader__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace xml
+ {
+ namespace aelfred2
+ {
+ class SAXDriver;
+ class XmlReader;
+ }
+ namespace pipeline
+ {
+ class EventFilter;
+ }
+ }
+ }
+ namespace org
+ {
+ namespace xml
+ {
+ namespace sax
+ {
+ class ContentHandler;
+ class DTDHandler;
+ class EntityResolver;
+ class ErrorHandler;
+ class InputSource;
+ }
+ }
+ }
+}
+
+class gnu::xml::aelfred2::XmlReader : public ::java::lang::Object
+{
+
+public:
+ XmlReader();
+ XmlReader(jboolean);
+ ::org::xml::sax::ContentHandler * getContentHandler();
+ void setContentHandler(::org::xml::sax::ContentHandler *);
+ ::org::xml::sax::DTDHandler * getDTDHandler();
+ void setDTDHandler(::org::xml::sax::DTDHandler *);
+ ::org::xml::sax::EntityResolver * getEntityResolver();
+ void setEntityResolver(::org::xml::sax::EntityResolver *);
+ ::org::xml::sax::ErrorHandler * getErrorHandler();
+ void setErrorHandler(::org::xml::sax::ErrorHandler *);
+ void setProperty(::java::lang::String *, ::java::lang::Object *);
+ ::java::lang::Object * getProperty(::java::lang::String *);
+private:
+ void forceValidating();
+public:
+ void setFeature(::java::lang::String *, jboolean);
+ jboolean getFeature(::java::lang::String *);
+ void setLocale(::java::util::Locale *);
+ void parse(::java::lang::String *);
+ void parse(::org::xml::sax::InputSource *);
+private:
+ ::gnu::xml::aelfred2::SAXDriver * __attribute__((aligned(__alignof__( ::java::lang::Object)))) aelfred2;
+ ::gnu::xml::pipeline::EventFilter * filter;
+ jboolean isValidating;
+ jboolean active;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_xml_aelfred2_XmlReader__