You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by dl...@locus.apache.org on 2000/11/14 21:54:10 UTC
cvs commit: xml-xalan/java/src/javax/xml/transform/stream StreamResult.java StreamSource.java
dleslie 00/11/14 12:54:09
Modified: java/src/javax/xml/transform/stream StreamResult.java
StreamSource.java
Log:
Javadoc update.
Revision Changes Path
1.4 +6 -6 xml-xalan/java/src/javax/xml/transform/stream/StreamResult.java
Index: StreamResult.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/javax/xml/transform/stream/StreamResult.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- StreamResult.java 2000/11/13 16:26:32 1.3
+++ StreamResult.java 2000/11/14 20:54:09 1.4
@@ -107,7 +107,7 @@
}
/**
- * Set the byte stream that is to be written to. Normally,
+ * Set the ByteStream that is to be written to. Normally,
* a stream should be used rather than a reader, so that
* the transformer may use instructions contained in the
* transformation instructions to control the encoding.
@@ -123,7 +123,7 @@
* Get the byte stream that was set with setByteStream.
*
* @return The byte stream that was set with setByteStream, or null
- * if setByteStream or the byte stream constructor was not called.
+ * if setByteStream or the ByteStream constructor was not called.
*/
public OutputStream getByteStream()
{
@@ -149,7 +149,7 @@
* Get the character stream that was set with setCharacterStream.
*
* @return The character stream that was set with setCharacterStream, or null
- * if setCharacterStream or the character stream constructor was not called.
+ * if setCharacterStream or the CharacterStream constructor was not called.
*/
public Writer getCharacterStream()
{
@@ -159,9 +159,9 @@
/**
* Method setSystemId Set the systemID that may be used in association
* with the byte or character stream, or, if neither is set, use
- * this value as a writeable URL (probably a file name).
+ * this value as a writeable URI (probably a file name).
*
- * @param systemId The system identifier as a URL string.
+ * @param systemId The system identifier as a URI string.
*/
public void setSystemId(String systemId)
{
@@ -186,7 +186,7 @@
/**
* The systemID that may be used in association
* with the byte or character stream, or, if neither is set, use
- * this value as a writeable URL (probably a file name).
+ * this value as a writeable URI (probably a file name).
*/
private String systemId;
1.4 +19 -19 xml-xalan/java/src/javax/xml/transform/stream/StreamSource.java
Index: StreamSource.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/javax/xml/transform/stream/StreamSource.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- StreamSource.java 2000/11/13 16:26:33 1.3
+++ StreamSource.java 2000/11/14 20:54:09 1.4
@@ -62,8 +62,8 @@
import java.io.Reader;
/**
- * Acts as an holder for a transformation Source tree as described
- * by a stream of XML markup.
+ * Acts as an holder for a transformation Source in the form
+ * of a stream of XML markup.
*
* @version Alpha
* @author <a href="mailto:scott_boag@lotus.com">Scott Boag</a>
@@ -80,13 +80,13 @@
/**
* Construct a StreamSource from a byte stream. Normally,
- * a stream should be used rather than a reader, so that
- * the XML parser may resolve character encoding specified
+ * a stream should be used rather than a reader, so
+ * the XML parser can resolve character encoding specified
* by the XML declaration.
*
* <p>If this constructor is used to process a stylesheet, normally
- * setSystemId should also be called, so that relative URL references
- * may be resolved.</p>
+ * setSystemId should also be called, so that relative URI references
+ * can be resolved.</p>
*
* @param byteStream A valid InputStream reference to an XML stream.
*/
@@ -98,15 +98,15 @@
/**
* Construct a StreamSource from a byte stream. Normally,
* a stream should be used rather than a reader, so that
- * the XML parser may resolve character encoding specified
+ * the XML parser can resolve character encoding specified
* by the XML declaration.
*
* <p>This constructor allows the systemID to be set in addition
- * to the input stream, which allows relative URLs to be processed
- * that are relative to the stream.</p>
+ * to the input stream, which allows relative URIs
+ * to be processed.</p>
*
* @param byteStream A valid InputStream reference to an XML stream.
- * @param systemId Must be a string that conforms to the URL syntax.
+ * @param systemId Must be a String that conforms to the URI syntax.
*/
public StreamSource(InputStream byteStream, String systemId)
{
@@ -118,7 +118,7 @@
/**
* Construct a StreamSource from a character reader. Normally,
* a stream should be used rather than a reader, so that
- * the XML parser may resolve character encoding specified
+ * the XML parser can resolve character encoding specified
* by the XML declaration. However, in many cases the encoding
* of the input stream is already resolved, as in the case of
* reading XML from a StringReader.
@@ -139,7 +139,7 @@
* reading XML from a StringReader.
*
* @param characterStream A valid Reader reference to an XML character stream.
- * @param systemId Must be a string that conforms to the URL syntax.
+ * @param systemId Must be a String that conforms to the URI syntax.
*/
public StreamSource(Reader characterStream, String systemId)
{
@@ -151,7 +151,7 @@
/**
* Construct a StreamSource from a URL.
*
- * @param systemId Must be a string that conforms to the URL syntax.
+ * @param systemId Must be a String that conforms to the URI syntax.
*/
public StreamSource(String systemId)
{
@@ -161,12 +161,12 @@
/**
* Set the byte stream to be used as input. Normally,
* a stream should be used rather than a reader, so that
- * the XML parser may resolve character encoding specified
+ * the XML parser can resolve character encoding specified
* by the XML declaration.
*
* <p>If this Source object is used to process a stylesheet, normally
* setSystemId should also be called, so that relative URL references
- * may be resolved.</p>
+ * can be resolved.</p>
*
* @param byteStream A valid InputStream reference to an XML stream.
*/
@@ -179,7 +179,7 @@
* Get the byte stream that was set with setByteStream.
*
* @return The byte stream that was set with setByteStream, or null
- * if setByteStream or the byte stream constructor was not called.
+ * if setByteStream or the ByteStream constructor was not called.
*/
public InputStream getByteStream()
{
@@ -189,12 +189,12 @@
/**
* Set the input to be a character reader. Normally,
* a stream should be used rather than a reader, so that
- * the XML parser may resolve character encoding specified
+ * the XML parser can resolve character encoding specified
* by the XML declaration. However, in many cases the encoding
* of the input stream is already resolved, as in the case of
* reading XML from a StringReader.
*
- * @param characterStream A valid Reader reference to an XML character stream.
+ * @param characterStream A valid Reader reference to an XML CharacterStream.
*/
public void setCharacterStream(Reader characterStream)
{
@@ -205,7 +205,7 @@
* Get the character stream that was set with setCharacterStream.
*
* @return The character stream that was set with setCharacterStream, or null
- * if setCharacterStream or the character stream constructor was not called.
+ * if setCharacterStream or the CharacterStream constructor was not called.
*/
public Reader getCharacterStream()
{