08452f4553
2007-02-07 Chris Burdess <dog@gnu.org> Fixes PR 30718. * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators. * gnu/xml/transform/XSLURIResolver.java: Add support for custom SAXSources without a backing URL or stream. Fixes PR 27710. * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous LSParser if implementation does not support asynchronous. * gnu/xml/stream/XMLParser.java, gnu/xml/stream/XIncludeFilter.java: Use custom code instead of java.net.URL to resolve to an an absolute URI, to avoid nonexistent protocol handler problems. From-SVN: r121694
87 lines
2.1 KiB
C++
87 lines
2.1 KiB
C++
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
|
|
|
#ifndef __gnu_xml_transform_XSLURIResolver__
|
|
#define __gnu_xml_transform_XSLURIResolver__
|
|
|
|
#pragma interface
|
|
|
|
#include <java/lang/Object.h>
|
|
extern "Java"
|
|
{
|
|
namespace gnu
|
|
{
|
|
namespace xml
|
|
{
|
|
namespace transform
|
|
{
|
|
class XSLURIResolver;
|
|
}
|
|
}
|
|
}
|
|
namespace java
|
|
{
|
|
namespace net
|
|
{
|
|
class URL;
|
|
}
|
|
}
|
|
namespace javax
|
|
{
|
|
namespace xml
|
|
{
|
|
namespace parsers
|
|
{
|
|
class DocumentBuilder;
|
|
}
|
|
namespace transform
|
|
{
|
|
class ErrorListener;
|
|
class Source;
|
|
class URIResolver;
|
|
namespace dom
|
|
{
|
|
class DOMSource;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
namespace org
|
|
{
|
|
namespace xml
|
|
{
|
|
namespace sax
|
|
{
|
|
class InputSource;
|
|
class XMLReader;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
class gnu::xml::transform::XSLURIResolver : public ::java::lang::Object
|
|
{
|
|
|
|
public: // actually package-private
|
|
XSLURIResolver();
|
|
virtual void setUserResolver(::javax::xml::transform::URIResolver *);
|
|
virtual void setUserListener(::javax::xml::transform::ErrorListener *);
|
|
virtual void flush();
|
|
public:
|
|
virtual ::javax::xml::transform::Source * resolve(::java::lang::String *, ::java::lang::String *);
|
|
public: // actually package-private
|
|
virtual ::javax::xml::transform::dom::DOMSource * resolveDOM(::javax::xml::transform::Source *, ::java::lang::String *, ::java::lang::String *);
|
|
virtual ::java::net::URL * resolveURL(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
|
|
virtual ::javax::xml::parsers::DocumentBuilder * getDocumentBuilder();
|
|
virtual ::javax::xml::transform::dom::DOMSource * parse(::org::xml::sax::InputSource *, ::org::xml::sax::XMLReader *);
|
|
::java::util::Map * __attribute__((aligned(__alignof__( ::java::lang::Object)))) lastModifiedCache;
|
|
::java::util::Map * nodeCache;
|
|
::javax::xml::parsers::DocumentBuilder * builder;
|
|
::javax::xml::transform::URIResolver * userResolver;
|
|
::javax::xml::transform::ErrorListener * userListener;
|
|
public:
|
|
static ::java::lang::Class class$;
|
|
};
|
|
|
|
#endif // __gnu_xml_transform_XSLURIResolver__
|