< prev index next >

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

Print this page




  16  *
  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}.




  16  *
  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 Jeff Suttor
  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}.


< prev index next >