src/javax/xml/transform/sax/SAXResult.java

Print this page
rev 602 : 8047723: @since tag cleanup in jaxp
Reviewed-by:


  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package javax.xml.transform.sax;
  27 
  28 import javax.xml.transform.Result;
  29 
  30 import org.xml.sax.ContentHandler;
  31 import org.xml.sax.ext.LexicalHandler;
  32 
  33 /**
  34  * <p>Acts as an holder for a transformation Result.</p>
  35  *
  36  * @author <a href="Jeff.Suttor@Sun.com">Jeff Suttor</a>

  37  */
  38 public class SAXResult implements Result {
  39 
  40     /**
  41      * If {@link javax.xml.transform.TransformerFactory#getFeature}
  42      * returns true when passed this value as an argument,
  43      * the Transformer supports Result output of this type.
  44      */
  45     public static final String FEATURE =
  46         "http://javax.xml.transform.sax.SAXResult/feature";
  47 
  48     /**
  49      * Zero-argument default constructor.
  50      */
  51     public SAXResult() {
  52     }
  53 
  54     /**
  55      * Create a SAXResult that targets a SAX2 {@link org.xml.sax.ContentHandler}.
  56      *




  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package javax.xml.transform.sax;
  27 
  28 import javax.xml.transform.Result;
  29 
  30 import org.xml.sax.ContentHandler;
  31 import org.xml.sax.ext.LexicalHandler;
  32 
  33 /**
  34  * <p>Acts as an holder for a transformation Result.</p>
  35  *
  36  * @author <a href="Jeff.Suttor@Sun.com">Jeff Suttor</a>
  37  * @since 1.4
  38  */
  39 public class SAXResult implements Result {
  40 
  41     /**
  42      * If {@link javax.xml.transform.TransformerFactory#getFeature}
  43      * returns true when passed this value as an argument,
  44      * the Transformer supports Result output of this type.
  45      */
  46     public static final String FEATURE =
  47         "http://javax.xml.transform.sax.SAXResult/feature";
  48 
  49     /**
  50      * Zero-argument default constructor.
  51      */
  52     public SAXResult() {
  53     }
  54 
  55     /**
  56      * Create a SAXResult that targets a SAX2 {@link org.xml.sax.ContentHandler}.
  57      *