From ece7d18cf35374bf4e26d041799cda8f791c89f8 Mon Sep 17 00:00:00 2001 From: gregor Date: Mon, 7 Jul 2003 10:58:37 +0000 Subject: Initial commit git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@2 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../egovernment/moa/util/StreamEntityResolver.html | 237 +++++++++++++++++++++ 1 file changed, 237 insertions(+) create mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/StreamEntityResolver.html (limited to 'spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/StreamEntityResolver.html') diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/StreamEntityResolver.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/StreamEntityResolver.html new file mode 100644 index 000000000..df879dea8 --- /dev/null +++ b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/StreamEntityResolver.html @@ -0,0 +1,237 @@ + + + + + + +MOA SP/SS Server Internal API: Class StreamEntityResolver + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +

+ +at.gv.egovernment.moa.util +
+Class StreamEntityResolver

+
+java.lang.Object
+  |
+  +--at.gv.egovernment.moa.util.StreamEntityResolver
+
+
+
All Implemented Interfaces:
org.xml.sax.EntityResolver
+
+
+
+
public class StreamEntityResolver
extends Object
implements org.xml.sax.EntityResolver
+ +

+An EntityResolver that maps system IDs to + InputStreams. +

+

+
Version:
$Id$
+
Author:
Patrick Peck
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
StreamEntityResolver(Map mappedEntities) + +
+          Create a StreamEntityResolver.
+  + + + + + + + + + + + +
+Method Summary
+ org.xml.sax.InputSourceresolveEntity(String publicId, + String systemId) + +
+          Resolve an entity by looking it up in the mapped entities. + +
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+StreamEntityResolver

+
+public StreamEntityResolver(Map mappedEntities)
+
+
Create a StreamEntityResolver.
+
Parameters:
mappedEntities - A mapping from public or system IDs + (String objects) to InputStreams.
+
+
+ + + + + + + + +
+Method Detail
+ +

+resolveEntity

+
+public org.xml.sax.InputSource resolveEntity(String publicId,
+                                             String systemId)
+                                      throws org.xml.sax.SAXException,
+                                             IOException
+
+
Resolve an entity by looking it up in the mapped entities. + + First, the public ID is looked up in the mapping, then the system ID.
+
Specified by:
resolveEntity in interface org.xml.sax.EntityResolver
+
+
+
Parameters:
publicId - The public ID of the entity.
systemId - The system ID of the entity.
Returns:
An InputStream containing the entity or + null if no entity could be found.
Throws:
org.xml.sax.SAXException - Signalling a parsing exception.
IOException - Error reading the entity.
+
+
+ +
+ + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + + -- cgit v1.2.3