diff options
Diffstat (limited to 'libjava/org/xml/sax/helpers')
-rw-r--r-- | libjava/org/xml/sax/helpers/AttributeListImpl.h | 52 | ||||
-rw-r--r-- | libjava/org/xml/sax/helpers/AttributesImpl.h | 68 | ||||
-rw-r--r-- | libjava/org/xml/sax/helpers/DefaultHandler.h | 58 | ||||
-rw-r--r-- | libjava/org/xml/sax/helpers/LocatorImpl.h | 51 | ||||
-rw-r--r-- | libjava/org/xml/sax/helpers/NamespaceSupport$Context.h | 62 | ||||
-rw-r--r-- | libjava/org/xml/sax/helpers/NamespaceSupport.h | 63 | ||||
-rw-r--r-- | libjava/org/xml/sax/helpers/NewInstance.h | 38 | ||||
-rw-r--r-- | libjava/org/xml/sax/helpers/ParserAdapter$AttributeListAdapter.h | 56 | ||||
-rw-r--r-- | libjava/org/xml/sax/helpers/ParserAdapter.h | 106 | ||||
-rw-r--r-- | libjava/org/xml/sax/helpers/ParserFactory.h | 38 | ||||
-rw-r--r-- | libjava/org/xml/sax/helpers/XMLFilterImpl.h | 89 | ||||
-rw-r--r-- | libjava/org/xml/sax/helpers/XMLReaderAdapter$AttributesAdapter.h | 50 | ||||
-rw-r--r-- | libjava/org/xml/sax/helpers/XMLReaderAdapter.h | 76 | ||||
-rw-r--r-- | libjava/org/xml/sax/helpers/XMLReaderFactory.h | 42 |
14 files changed, 849 insertions, 0 deletions
diff --git a/libjava/org/xml/sax/helpers/AttributeListImpl.h b/libjava/org/xml/sax/helpers/AttributeListImpl.h new file mode 100644 index 000000000..366c4554a --- /dev/null +++ b/libjava/org/xml/sax/helpers/AttributeListImpl.h @@ -0,0 +1,52 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_xml_sax_helpers_AttributeListImpl__ +#define __org_xml_sax_helpers_AttributeListImpl__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace org + { + namespace xml + { + namespace sax + { + class AttributeList; + namespace helpers + { + class AttributeListImpl; + } + } + } + } +} + +class org::xml::sax::helpers::AttributeListImpl : public ::java::lang::Object +{ + +public: + AttributeListImpl(); + AttributeListImpl(::org::xml::sax::AttributeList *); + virtual void setAttributeList(::org::xml::sax::AttributeList *); + virtual void addAttribute(::java::lang::String *, ::java::lang::String *, ::java::lang::String *); + virtual void removeAttribute(::java::lang::String *); + virtual void clear(); + virtual jint getLength(); + virtual ::java::lang::String * getName(jint); + virtual ::java::lang::String * getType(jint); + virtual ::java::lang::String * getValue(jint); + virtual ::java::lang::String * getType(::java::lang::String *); + virtual ::java::lang::String * getValue(::java::lang::String *); +public: // actually package-private + ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::lang::Object)))) names; + ::java::util::Vector * types; + ::java::util::Vector * values; +public: + static ::java::lang::Class class$; +}; + +#endif // __org_xml_sax_helpers_AttributeListImpl__ diff --git a/libjava/org/xml/sax/helpers/AttributesImpl.h b/libjava/org/xml/sax/helpers/AttributesImpl.h new file mode 100644 index 000000000..6f4fcdaf8 --- /dev/null +++ b/libjava/org/xml/sax/helpers/AttributesImpl.h @@ -0,0 +1,68 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_xml_sax_helpers_AttributesImpl__ +#define __org_xml_sax_helpers_AttributesImpl__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace org + { + namespace xml + { + namespace sax + { + class Attributes; + namespace helpers + { + class AttributesImpl; + } + } + } + } +} + +class org::xml::sax::helpers::AttributesImpl : public ::java::lang::Object +{ + +public: + AttributesImpl(); + AttributesImpl(::org::xml::sax::Attributes *); + virtual jint getLength(); + virtual ::java::lang::String * getURI(jint); + virtual ::java::lang::String * getLocalName(jint); + virtual ::java::lang::String * getQName(jint); + virtual ::java::lang::String * getType(jint); + virtual ::java::lang::String * getValue(jint); + virtual jint getIndex(::java::lang::String *, ::java::lang::String *); + virtual jint getIndex(::java::lang::String *); + virtual ::java::lang::String * getType(::java::lang::String *, ::java::lang::String *); + virtual ::java::lang::String * getType(::java::lang::String *); + virtual ::java::lang::String * getValue(::java::lang::String *, ::java::lang::String *); + virtual ::java::lang::String * getValue(::java::lang::String *); + virtual void clear(); + virtual void setAttributes(::org::xml::sax::Attributes *); + virtual void addAttribute(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *); + virtual void setAttribute(jint, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *); + virtual void removeAttribute(jint); + virtual void setURI(jint, ::java::lang::String *); + virtual void setLocalName(jint, ::java::lang::String *); + virtual void setQName(jint, ::java::lang::String *); + virtual void setType(jint, ::java::lang::String *); + virtual void setValue(jint, ::java::lang::String *); +private: + void ensureCapacity(jint); + void badIndex(jint); +public: // actually package-private + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) length; + JArray< ::java::lang::String * > * data; +public: + static ::java::lang::Class class$; +}; + +#endif // __org_xml_sax_helpers_AttributesImpl__ diff --git a/libjava/org/xml/sax/helpers/DefaultHandler.h b/libjava/org/xml/sax/helpers/DefaultHandler.h new file mode 100644 index 000000000..4d73466e7 --- /dev/null +++ b/libjava/org/xml/sax/helpers/DefaultHandler.h @@ -0,0 +1,58 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_xml_sax_helpers_DefaultHandler__ +#define __org_xml_sax_helpers_DefaultHandler__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace org + { + namespace xml + { + namespace sax + { + class Attributes; + class InputSource; + class Locator; + class SAXParseException; + namespace helpers + { + class DefaultHandler; + } + } + } + } +} + +class org::xml::sax::helpers::DefaultHandler : public ::java::lang::Object +{ + +public: + DefaultHandler(); + virtual ::org::xml::sax::InputSource * resolveEntity(::java::lang::String *, ::java::lang::String *); + 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 setDocumentLocator(::org::xml::sax::Locator *); + virtual void startDocument(); + virtual void endDocument(); + virtual void startPrefixMapping(::java::lang::String *, ::java::lang::String *); + virtual void endPrefixMapping(::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 *); + 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 warning(::org::xml::sax::SAXParseException *); + virtual void error(::org::xml::sax::SAXParseException *); + virtual void fatalError(::org::xml::sax::SAXParseException *); + static ::java::lang::Class class$; +}; + +#endif // __org_xml_sax_helpers_DefaultHandler__ diff --git a/libjava/org/xml/sax/helpers/LocatorImpl.h b/libjava/org/xml/sax/helpers/LocatorImpl.h new file mode 100644 index 000000000..41a67eff9 --- /dev/null +++ b/libjava/org/xml/sax/helpers/LocatorImpl.h @@ -0,0 +1,51 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_xml_sax_helpers_LocatorImpl__ +#define __org_xml_sax_helpers_LocatorImpl__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace org + { + namespace xml + { + namespace sax + { + class Locator; + namespace helpers + { + class LocatorImpl; + } + } + } + } +} + +class org::xml::sax::helpers::LocatorImpl : public ::java::lang::Object +{ + +public: + LocatorImpl(); + LocatorImpl(::org::xml::sax::Locator *); + virtual ::java::lang::String * getPublicId(); + virtual ::java::lang::String * getSystemId(); + virtual jint getLineNumber(); + virtual jint getColumnNumber(); + virtual void setPublicId(::java::lang::String *); + virtual void setSystemId(::java::lang::String *); + virtual void setLineNumber(jint); + virtual void setColumnNumber(jint); +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) publicId; + ::java::lang::String * systemId; + jint lineNumber; + jint columnNumber; +public: + static ::java::lang::Class class$; +}; + +#endif // __org_xml_sax_helpers_LocatorImpl__ diff --git a/libjava/org/xml/sax/helpers/NamespaceSupport$Context.h b/libjava/org/xml/sax/helpers/NamespaceSupport$Context.h new file mode 100644 index 000000000..5d8d35fdc --- /dev/null +++ b/libjava/org/xml/sax/helpers/NamespaceSupport$Context.h @@ -0,0 +1,62 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_xml_sax_helpers_NamespaceSupport$Context__ +#define __org_xml_sax_helpers_NamespaceSupport$Context__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace org + { + namespace xml + { + namespace sax + { + namespace helpers + { + class NamespaceSupport; + class NamespaceSupport$Context; + } + } + } + } +} + +class org::xml::sax::helpers::NamespaceSupport$Context : public ::java::lang::Object +{ + +public: // actually package-private + NamespaceSupport$Context(::org::xml::sax::helpers::NamespaceSupport *); + void setParent(::org::xml::sax::helpers::NamespaceSupport$Context *); + void clear(); + void declarePrefix(::java::lang::String *, ::java::lang::String *); + JArray< ::java::lang::String * > * processName(::java::lang::String *, jboolean); + ::java::lang::String * getURI(::java::lang::String *); + ::java::lang::String * getPrefix(::java::lang::String *); + ::java::util::Enumeration * getDeclaredPrefixes(); + ::java::util::Enumeration * getPrefixes(); +private: + void copyTables(); +public: // actually package-private + ::java::util::Hashtable * __attribute__((aligned(__alignof__( ::java::lang::Object)))) prefixTable; + ::java::util::Hashtable * uriTable; + ::java::util::Hashtable * elementNameTable; + ::java::util::Hashtable * attributeNameTable; + ::java::lang::String * defaultNS; + jboolean declsOK; +private: + ::java::util::Vector * declarations; + jboolean declSeen; + ::org::xml::sax::helpers::NamespaceSupport$Context * parent; +public: // actually package-private + ::org::xml::sax::helpers::NamespaceSupport * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __org_xml_sax_helpers_NamespaceSupport$Context__ diff --git a/libjava/org/xml/sax/helpers/NamespaceSupport.h b/libjava/org/xml/sax/helpers/NamespaceSupport.h new file mode 100644 index 000000000..afb3f6dd6 --- /dev/null +++ b/libjava/org/xml/sax/helpers/NamespaceSupport.h @@ -0,0 +1,63 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_xml_sax_helpers_NamespaceSupport__ +#define __org_xml_sax_helpers_NamespaceSupport__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace org + { + namespace xml + { + namespace sax + { + namespace helpers + { + class NamespaceSupport; + class NamespaceSupport$Context; + } + } + } + } +} + +class org::xml::sax::helpers::NamespaceSupport : public ::java::lang::Object +{ + +public: + NamespaceSupport(); + virtual void reset(); + virtual void pushContext(); + virtual void popContext(); + virtual jboolean declarePrefix(::java::lang::String *, ::java::lang::String *); + virtual JArray< ::java::lang::String * > * processName(::java::lang::String *, JArray< ::java::lang::String * > *, jboolean); + virtual ::java::lang::String * getURI(::java::lang::String *); + virtual ::java::util::Enumeration * getPrefixes(); + virtual ::java::lang::String * getPrefix(::java::lang::String *); + virtual ::java::util::Enumeration * getPrefixes(::java::lang::String *); + virtual ::java::util::Enumeration * getDeclaredPrefixes(); + virtual void setNamespaceDeclUris(jboolean); + virtual jboolean isNamespaceDeclUris(); +public: // actually package-private + static jboolean access$0(::org::xml::sax::helpers::NamespaceSupport *); + static ::java::util::Enumeration * access$1(); +public: + static ::java::lang::String * XMLNS; + static ::java::lang::String * NSDECL; +private: + static ::java::util::Enumeration * EMPTY_ENUMERATION; + JArray< ::org::xml::sax::helpers::NamespaceSupport$Context * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) contexts; + ::org::xml::sax::helpers::NamespaceSupport$Context * currentContext; + jint contextPos; + jboolean namespaceDeclUris; +public: + static ::java::lang::Class class$; +}; + +#endif // __org_xml_sax_helpers_NamespaceSupport__ diff --git a/libjava/org/xml/sax/helpers/NewInstance.h b/libjava/org/xml/sax/helpers/NewInstance.h new file mode 100644 index 000000000..ef1323e19 --- /dev/null +++ b/libjava/org/xml/sax/helpers/NewInstance.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_xml_sax_helpers_NewInstance__ +#define __org_xml_sax_helpers_NewInstance__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace org + { + namespace xml + { + namespace sax + { + namespace helpers + { + class NewInstance; + } + } + } + } +} + +class org::xml::sax::helpers::NewInstance : public ::java::lang::Object +{ + +public: // actually package-private + NewInstance(); + static ::java::lang::Object * newInstance(::java::lang::ClassLoader *, ::java::lang::String *); + static ::java::lang::ClassLoader * getClassLoader(); +public: + static ::java::lang::Class class$; +}; + +#endif // __org_xml_sax_helpers_NewInstance__ diff --git a/libjava/org/xml/sax/helpers/ParserAdapter$AttributeListAdapter.h b/libjava/org/xml/sax/helpers/ParserAdapter$AttributeListAdapter.h new file mode 100644 index 000000000..944e30db5 --- /dev/null +++ b/libjava/org/xml/sax/helpers/ParserAdapter$AttributeListAdapter.h @@ -0,0 +1,56 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_xml_sax_helpers_ParserAdapter$AttributeListAdapter__ +#define __org_xml_sax_helpers_ParserAdapter$AttributeListAdapter__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace org + { + namespace xml + { + namespace sax + { + class AttributeList; + namespace helpers + { + class ParserAdapter; + class ParserAdapter$AttributeListAdapter; + } + } + } + } +} + +class org::xml::sax::helpers::ParserAdapter$AttributeListAdapter : public ::java::lang::Object +{ + +public: // actually package-private + ParserAdapter$AttributeListAdapter(::org::xml::sax::helpers::ParserAdapter *); + void setAttributeList(::org::xml::sax::AttributeList *); +public: + jint getLength(); + ::java::lang::String * getURI(jint); + ::java::lang::String * getLocalName(jint); + ::java::lang::String * getQName(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 *); +private: + ::org::xml::sax::AttributeList * __attribute__((aligned(__alignof__( ::java::lang::Object)))) qAtts; +public: // actually package-private + ::org::xml::sax::helpers::ParserAdapter * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __org_xml_sax_helpers_ParserAdapter$AttributeListAdapter__ diff --git a/libjava/org/xml/sax/helpers/ParserAdapter.h b/libjava/org/xml/sax/helpers/ParserAdapter.h new file mode 100644 index 000000000..c33317b60 --- /dev/null +++ b/libjava/org/xml/sax/helpers/ParserAdapter.h @@ -0,0 +1,106 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_xml_sax_helpers_ParserAdapter__ +#define __org_xml_sax_helpers_ParserAdapter__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace org + { + namespace xml + { + namespace sax + { + class AttributeList; + class ContentHandler; + class DTDHandler; + class EntityResolver; + class ErrorHandler; + class InputSource; + class Locator; + class Parser; + class SAXParseException; + namespace helpers + { + class AttributesImpl; + class NamespaceSupport; + class ParserAdapter; + class ParserAdapter$AttributeListAdapter; + } + } + } + } +} + +class org::xml::sax::helpers::ParserAdapter : public ::java::lang::Object +{ + +public: + ParserAdapter(); + ParserAdapter(::org::xml::sax::Parser *); +private: + void setup(::org::xml::sax::Parser *); +public: + virtual void setFeature(::java::lang::String *, jboolean); + virtual jboolean getFeature(::java::lang::String *); + virtual void setProperty(::java::lang::String *, ::java::lang::Object *); + virtual ::java::lang::Object * getProperty(::java::lang::String *); + virtual void setEntityResolver(::org::xml::sax::EntityResolver *); + virtual ::org::xml::sax::EntityResolver * getEntityResolver(); + virtual void setDTDHandler(::org::xml::sax::DTDHandler *); + virtual ::org::xml::sax::DTDHandler * getDTDHandler(); + virtual void setContentHandler(::org::xml::sax::ContentHandler *); + virtual ::org::xml::sax::ContentHandler * getContentHandler(); + virtual void setErrorHandler(::org::xml::sax::ErrorHandler *); + virtual ::org::xml::sax::ErrorHandler * getErrorHandler(); + virtual void parse(::java::lang::String *); + virtual void parse(::org::xml::sax::InputSource *); + virtual void setDocumentLocator(::org::xml::sax::Locator *); + virtual void startDocument(); + virtual void endDocument(); + virtual void startElement(::java::lang::String *, ::org::xml::sax::AttributeList *); + virtual void endElement(::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 *); +private: + void setupParser(); + JArray< ::java::lang::String * > * processName(::java::lang::String *, jboolean, jboolean); +public: // actually package-private + virtual void reportError(::java::lang::String *); +private: + ::org::xml::sax::SAXParseException * makeException(::java::lang::String *); + void checkNotParsing(::java::lang::String *, ::java::lang::String *); +public: // actually package-private + static ::org::xml::sax::helpers::AttributesImpl * access$0(::org::xml::sax::helpers::ParserAdapter *); +private: + static ::java::lang::String * FEATURES; + static ::java::lang::String * NAMESPACES; + static ::java::lang::String * NAMESPACE_PREFIXES; + static ::java::lang::String * XMLNS_URIs; + ::org::xml::sax::helpers::NamespaceSupport * __attribute__((aligned(__alignof__( ::java::lang::Object)))) nsSupport; + ::org::xml::sax::helpers::ParserAdapter$AttributeListAdapter * attAdapter; + jboolean parsing; + JArray< ::java::lang::String * > * nameParts; + ::org::xml::sax::Parser * parser; + ::org::xml::sax::helpers::AttributesImpl * atts; + jboolean namespaces; + jboolean prefixes; + jboolean uris; +public: // actually package-private + ::org::xml::sax::Locator * locator; + ::org::xml::sax::EntityResolver * entityResolver; + ::org::xml::sax::DTDHandler * dtdHandler; + ::org::xml::sax::ContentHandler * contentHandler; + ::org::xml::sax::ErrorHandler * errorHandler; +public: + static ::java::lang::Class class$; +}; + +#endif // __org_xml_sax_helpers_ParserAdapter__ diff --git a/libjava/org/xml/sax/helpers/ParserFactory.h b/libjava/org/xml/sax/helpers/ParserFactory.h new file mode 100644 index 000000000..88d932520 --- /dev/null +++ b/libjava/org/xml/sax/helpers/ParserFactory.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_xml_sax_helpers_ParserFactory__ +#define __org_xml_sax_helpers_ParserFactory__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace org + { + namespace xml + { + namespace sax + { + class Parser; + namespace helpers + { + class ParserFactory; + } + } + } + } +} + +class org::xml::sax::helpers::ParserFactory : public ::java::lang::Object +{ + + ParserFactory(); +public: + static ::org::xml::sax::Parser * makeParser(); + static ::org::xml::sax::Parser * makeParser(::java::lang::String *); + static ::java::lang::Class class$; +}; + +#endif // __org_xml_sax_helpers_ParserFactory__ diff --git a/libjava/org/xml/sax/helpers/XMLFilterImpl.h b/libjava/org/xml/sax/helpers/XMLFilterImpl.h new file mode 100644 index 000000000..13e496048 --- /dev/null +++ b/libjava/org/xml/sax/helpers/XMLFilterImpl.h @@ -0,0 +1,89 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_xml_sax_helpers_XMLFilterImpl__ +#define __org_xml_sax_helpers_XMLFilterImpl__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace org + { + namespace xml + { + namespace sax + { + class Attributes; + class ContentHandler; + class DTDHandler; + class EntityResolver; + class ErrorHandler; + class InputSource; + class Locator; + class SAXParseException; + class XMLReader; + namespace helpers + { + class XMLFilterImpl; + } + } + } + } +} + +class org::xml::sax::helpers::XMLFilterImpl : public ::java::lang::Object +{ + +public: + XMLFilterImpl(); + XMLFilterImpl(::org::xml::sax::XMLReader *); + virtual void setParent(::org::xml::sax::XMLReader *); + virtual ::org::xml::sax::XMLReader * getParent(); + virtual void setFeature(::java::lang::String *, jboolean); + virtual jboolean getFeature(::java::lang::String *); + virtual void setProperty(::java::lang::String *, ::java::lang::Object *); + virtual ::java::lang::Object * getProperty(::java::lang::String *); + virtual void setEntityResolver(::org::xml::sax::EntityResolver *); + virtual ::org::xml::sax::EntityResolver * getEntityResolver(); + virtual void setDTDHandler(::org::xml::sax::DTDHandler *); + virtual ::org::xml::sax::DTDHandler * getDTDHandler(); + virtual void setContentHandler(::org::xml::sax::ContentHandler *); + virtual ::org::xml::sax::ContentHandler * getContentHandler(); + virtual void setErrorHandler(::org::xml::sax::ErrorHandler *); + virtual ::org::xml::sax::ErrorHandler * getErrorHandler(); + virtual void parse(::org::xml::sax::InputSource *); + virtual void parse(::java::lang::String *); + virtual ::org::xml::sax::InputSource * resolveEntity(::java::lang::String *, ::java::lang::String *); + 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 setDocumentLocator(::org::xml::sax::Locator *); + virtual void startDocument(); + virtual void endDocument(); + virtual void startPrefixMapping(::java::lang::String *, ::java::lang::String *); + virtual void endPrefixMapping(::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 *); + 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 warning(::org::xml::sax::SAXParseException *); + virtual void error(::org::xml::sax::SAXParseException *); + virtual void fatalError(::org::xml::sax::SAXParseException *); +private: + void setupParse(); + ::org::xml::sax::XMLReader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) parent; + ::org::xml::sax::Locator * locator; + ::org::xml::sax::EntityResolver * entityResolver; + ::org::xml::sax::DTDHandler * dtdHandler; + ::org::xml::sax::ContentHandler * contentHandler; + ::org::xml::sax::ErrorHandler * errorHandler; +public: + static ::java::lang::Class class$; +}; + +#endif // __org_xml_sax_helpers_XMLFilterImpl__ diff --git a/libjava/org/xml/sax/helpers/XMLReaderAdapter$AttributesAdapter.h b/libjava/org/xml/sax/helpers/XMLReaderAdapter$AttributesAdapter.h new file mode 100644 index 000000000..888b28a18 --- /dev/null +++ b/libjava/org/xml/sax/helpers/XMLReaderAdapter$AttributesAdapter.h @@ -0,0 +1,50 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_xml_sax_helpers_XMLReaderAdapter$AttributesAdapter__ +#define __org_xml_sax_helpers_XMLReaderAdapter$AttributesAdapter__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace org + { + namespace xml + { + namespace sax + { + class Attributes; + namespace helpers + { + class XMLReaderAdapter; + class XMLReaderAdapter$AttributesAdapter; + } + } + } + } +} + +class org::xml::sax::helpers::XMLReaderAdapter$AttributesAdapter : public ::java::lang::Object +{ + +public: // actually package-private + XMLReaderAdapter$AttributesAdapter(::org::xml::sax::helpers::XMLReaderAdapter *); + void setAttributes(::org::xml::sax::Attributes *); +public: + jint getLength(); + ::java::lang::String * getName(jint); + ::java::lang::String * getType(jint); + ::java::lang::String * getValue(jint); + ::java::lang::String * getType(::java::lang::String *); + ::java::lang::String * getValue(::java::lang::String *); +private: + ::org::xml::sax::Attributes * __attribute__((aligned(__alignof__( ::java::lang::Object)))) attributes; +public: // actually package-private + ::org::xml::sax::helpers::XMLReaderAdapter * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __org_xml_sax_helpers_XMLReaderAdapter$AttributesAdapter__ diff --git a/libjava/org/xml/sax/helpers/XMLReaderAdapter.h b/libjava/org/xml/sax/helpers/XMLReaderAdapter.h new file mode 100644 index 000000000..9d76f2e73 --- /dev/null +++ b/libjava/org/xml/sax/helpers/XMLReaderAdapter.h @@ -0,0 +1,76 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_xml_sax_helpers_XMLReaderAdapter__ +#define __org_xml_sax_helpers_XMLReaderAdapter__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace org + { + namespace xml + { + namespace sax + { + class Attributes; + class DTDHandler; + class DocumentHandler; + class EntityResolver; + class ErrorHandler; + class InputSource; + class Locator; + class XMLReader; + namespace helpers + { + class XMLReaderAdapter; + class XMLReaderAdapter$AttributesAdapter; + } + } + } + } +} + +class org::xml::sax::helpers::XMLReaderAdapter : public ::java::lang::Object +{ + +public: + XMLReaderAdapter(); + XMLReaderAdapter(::org::xml::sax::XMLReader *); +private: + void setup(::org::xml::sax::XMLReader *); +public: + virtual void setLocale(::java::util::Locale *); + virtual void setEntityResolver(::org::xml::sax::EntityResolver *); + virtual void setDTDHandler(::org::xml::sax::DTDHandler *); + virtual void setDocumentHandler(::org::xml::sax::DocumentHandler *); + virtual void setErrorHandler(::org::xml::sax::ErrorHandler *); + virtual void parse(::java::lang::String *); + virtual void parse(::org::xml::sax::InputSource *); +private: + void setupXMLReader(); +public: + virtual void setDocumentLocator(::org::xml::sax::Locator *); + virtual void startDocument(); + virtual void endDocument(); + virtual void startPrefixMapping(::java::lang::String *, ::java::lang::String *); + virtual void endPrefixMapping(::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 *); + 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 *); +public: // actually package-private + ::org::xml::sax::XMLReader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) xmlReader; + ::org::xml::sax::DocumentHandler * documentHandler; + ::org::xml::sax::helpers::XMLReaderAdapter$AttributesAdapter * qAtts; +public: + static ::java::lang::Class class$; +}; + +#endif // __org_xml_sax_helpers_XMLReaderAdapter__ diff --git a/libjava/org/xml/sax/helpers/XMLReaderFactory.h b/libjava/org/xml/sax/helpers/XMLReaderFactory.h new file mode 100644 index 000000000..9be9aaf79 --- /dev/null +++ b/libjava/org/xml/sax/helpers/XMLReaderFactory.h @@ -0,0 +1,42 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_xml_sax_helpers_XMLReaderFactory__ +#define __org_xml_sax_helpers_XMLReaderFactory__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace org + { + namespace xml + { + namespace sax + { + class XMLReader; + namespace helpers + { + class XMLReaderFactory; + } + } + } + } +} + +class org::xml::sax::helpers::XMLReaderFactory : public ::java::lang::Object +{ + + XMLReaderFactory(); +public: + static ::org::xml::sax::XMLReader * createXMLReader(); + static ::org::xml::sax::XMLReader * createXMLReader(::java::lang::String *); +private: + static ::org::xml::sax::XMLReader * loadClass(::java::lang::ClassLoader *, ::java::lang::String *); + static ::java::lang::String * property; +public: + static ::java::lang::Class class$; +}; + +#endif // __org_xml_sax_helpers_XMLReaderFactory__ |