sboag 00/11/06 16:22:29
Modified: java/src/javax/xml/transform Transformer.java
Log:
Added getURIResolver.
Revision Changes Path
1.3 +12 -7 xml-xalan/java/src/javax/xml/transform/Transformer.java
Index: Transformer.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/javax/xml/transform/Transformer.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Transformer.java 2000/11/06 18:47:46 1.2
+++ Transformer.java 2000/11/07 00:22:29 1.3
@@ -70,7 +70,8 @@
* <p>An object of this class can not be used concurrently over
* multiple threads.</p>
*
- * <p>A Transformer may be used multiple times.</p>
+ * <p>A Transformer may be used multiple times. Parameters and
+ * output properties are preserved across transformations.</p>
*
* @version Alpha
* @author <a href="mailto:[EMAIL PROTECTED]">Scott Boag</a>
@@ -117,12 +118,7 @@
* these will not be additive, they will replace the existing
* set of parameters.
*
- * @param name The name of the parameter,
- * which may have a namespace URI.
- * @param value The value object. This can be any valid Java object
- * -- it's up to the processor to provide the proper
- * coersion to the object, or simply pass it on for use
- * in extensions.
+ * @param params A list of name-value pairs.
*/
public abstract void setParameters(Properties params);
@@ -134,6 +130,15 @@
* or null.
*/
public abstract void setURIResolver(URIResolver resolver);
+
+ /**
+ * Get an object that will be used to resolve URIs used in
+ * document(), etc.
+ *
+ * @return An object that implements the URIResolver interface,
+ * or null.
+ */
+ public abstract URIResolver getURIResolver();
/**
* Set the output properties for the transformation. These