You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sb...@locus.apache.org on 2000/11/15 23:25:23 UTC
cvs commit: xml-xalan/java/src/javax/xml/transform/sax TemplatesHandler.java TransformerHandler.java
sboag 00/11/15 14:25:23
Modified: java/src/javax/xml/transform Transformer.java
TransformerFactory.java
java/src/javax/xml/transform/sax TemplatesHandler.java
TransformerHandler.java
Log:
Changed TransformerHandler#setBaseID to setSystemId (sorry), and
added getSystemId to both TransformerHandler and TemplatesHandler.
Fixed setURIResolver comments to accurately reflect use in the
document() function vs. xsl:include/xsl:import.
Revision Changes Path
1.8 +1 -1 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.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Transformer.java 2000/11/15 02:59:42 1.7
+++ Transformer.java 2000/11/15 22:25:22 1.8
@@ -122,7 +122,7 @@
/**
* Set an object that will be used to resolve URIs used in
- * document(), xsl:import, or xsl:include.
+ * document().
*
* @param resolver An object that implements the URIResolver interface,
* or null.
1.9 +1 -1 xml-xalan/java/src/javax/xml/transform/TransformerFactory.java
Index: TransformerFactory.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/javax/xml/transform/TransformerFactory.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- TransformerFactory.java 2000/11/14 17:02:39 1.8
+++ TransformerFactory.java 2000/11/15 22:25:22 1.9
@@ -220,7 +220,7 @@
/**
* Set an object that is used by default during the transformation
- * to resolve URIs used in document(), xsl:import, or xsl:include.
+ * to resolve URIs used in xsl:import, or xsl:include.
*
* @param resolver An object that implements the URIResolver interface,
* or null.
1.5 +7 -0 xml-xalan/java/src/javax/xml/transform/sax/TemplatesHandler.java
Index: TemplatesHandler.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/javax/xml/transform/sax/TemplatesHandler.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- TemplatesHandler.java 2000/11/15 02:34:32 1.4
+++ TemplatesHandler.java 2000/11/15 22:25:22 1.5
@@ -89,4 +89,11 @@
* @param baseID Base URI for this stylesheet.
*/
public void setSystemId(String systemID);
+
+ /**
+ * Get the base ID (URI or system ID) from where relative
+ * URLs will be resolved.
+ * @return The systemID that was set with {@link #setSystemId}.
+ */
+ public String getSystemId();
}
1.4 +9 -2 xml-xalan/java/src/javax/xml/transform/sax/TransformerHandler.java
Index: TransformerHandler.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/javax/xml/transform/sax/TransformerHandler.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- TransformerHandler.java 2000/11/14 20:30:06 1.3
+++ TransformerHandler.java 2000/11/15 22:25:22 1.4
@@ -33,9 +33,16 @@
/**
* Set the base ID (URI or system ID) from where relative
* URLs will be resolved.
- * @param baseID Base URI for the source tree.
+ * @param systemID Base URI for the source tree.
*/
- public void setBaseID(String baseID);
+ public void setSystemId(String systemID);
+
+ /**
+ * Get the base ID (URI or system ID) from where relative
+ * URLs will be resolved.
+ * @return The systemID that was set with {@link #setSystemId}.
+ */
+ public String getSystemId();
/**
* Get the Transformer associated with this handler, which