286N/A<?xml version="1.0" encoding="UTF-8"?>
286N/A<!--
286N/ACopyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved.
286N/ADO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
286N/A
286N/AThis code is free software; you can redistribute it and/or modify it
286N/Aunder the terms of the GNU General Public License version 2 only, as
286N/Apublished by the Free Software Foundation. Oracle designates this
286N/Aparticular file as subject to the "Classpath" exception as provided
286N/Aby Oracle in the LICENSE file that accompanied this code.
286N/A
286N/AThis code is distributed in the hope that it will be useful, but WITHOUT
286N/AANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
286N/AFITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
286N/Aversion 2 for more details (a copy is included in the LICENSE file that
286N/Aaccompanied this code).
286N/A
286N/AYou should have received a copy of the GNU General Public License version
286N/A2 along with this work; if not, write to the Free Software Foundation,
286N/AInc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
286N/A
286N/APlease contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
286N/Aor visit www.oracle.com if you need additional information or have any
286N/Aquestions.
286N/A-->
286N/A
286N/A<!DOCTYPE html
286N/A PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
286N/A "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
286N/A
286N/A<html xmlns="http://www.w3.org/1999/xhtml">
286N/A
286N/A<head>
286N/A <title>javax.xml.transform.stream</title>
286N/A
286N/A <meta name="CVS"
286N/A content="$Id: package.html,v 1.2 2005/06/10 03:50:42 jeffsuttor Exp $" />
286N/A <meta name="AUTHOR"
286N/A content="Jeff.Suttor@Sun.com" />
286N/A</head>
286N/A<body>
286N/A<p>This package implements stream- and URI- specific transformation APIs.
286N/A </p>
286N/A<p>The {@link javax.xml.transform.stream.StreamSource} class
286N/A provides methods for specifying {@link java.io.InputStream} input,
286N/A {@link java.io.Reader} input, and URL input in the form of strings. Even
286N/A if an input stream or reader is specified as the source,
286N/A {@link javax.xml.transform.stream.StreamSource#setSystemId} should still
286N/A be called, so that the transformer can know from where it should resolve
286N/A relative URIs. The public identifier is always optional: if the application
286N/A writer includes one, it will be provided as part of the
286N/A {@link javax.xml.transform.SourceLocator} information.</p>
286N/A<p>The {@link javax.xml.transform.stream.StreamResult} class
286N/A provides methods for specifying {@link java.io.OutputStream},
286N/A {@link java.io.Writer}, or an output system ID, as the output of the
286N/A transformation result.</p>
286N/A<p>Normally streams should be used rather than readers or writers, for
286N/A both the Source and Result, since readers and writers already have the encoding
286N/A established to and from the internal Unicode format. However, there are times
286N/A when it is useful to write to a character stream, such as when using a
286N/A StringWriter in order to write to a String, or in the case of reading source
286N/A XML from a StringReader.</p>
286N/A</body>
286N/A</html>