< prev index next >

src/java.xml/share/classes/javax/xml/transform/dom/DOMResult.java

Print this page




  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.dom;
  27 
  28 import javax.xml.transform.Result;
  29 import org.w3c.dom.Node;
  30 
  31 /**
  32  * Acts as a holder for a transformation result tree
  33  * in the form of a Document Object Model (DOM) tree.
  34  *
  35  * <p>If no output DOM source is set, the transformation will create
  36  * a Document node as the holder for the result of the transformation,
  37  * which may be retrieved with {@link #getNode()}.
  38  *
  39  * @author <a href="Jeff.Suttor@Sun.com">Jeff Suttor</a>
  40  * @since 1.4
  41  */
  42 public class DOMResult implements Result {
  43 
  44     /**
  45      * If {@link javax.xml.transform.TransformerFactory#getFeature}
  46      * returns {@code true} when passed this value as an argument,
  47      * the {@code Transformer} supports {@code Result} output of this type.
  48      */
  49     public static final String FEATURE = "http://javax.xml.transform.dom.DOMResult/feature";
  50 
  51     /**
  52      * Zero-argument default constructor.
  53      *
  54      * <p>{@code node},
  55      * {@code siblingNode} and
  56      * {@code systemId}
  57      * will be set to {@code null}.
  58      */
  59     public DOMResult() {




  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.dom;
  27 
  28 import javax.xml.transform.Result;
  29 import org.w3c.dom.Node;
  30 
  31 /**
  32  * Acts as a holder for a transformation result tree
  33  * in the form of a Document Object Model (DOM) tree.
  34  *
  35  * <p>If no output DOM source is set, the transformation will create
  36  * a Document node as the holder for the result of the transformation,
  37  * which may be retrieved with {@link #getNode()}.
  38  *
  39  * @author Jeff Suttor
  40  * @since 1.4
  41  */
  42 public class DOMResult implements Result {
  43 
  44     /**
  45      * If {@link javax.xml.transform.TransformerFactory#getFeature}
  46      * returns {@code true} when passed this value as an argument,
  47      * the {@code Transformer} supports {@code Result} output of this type.
  48      */
  49     public static final String FEATURE = "http://javax.xml.transform.dom.DOMResult/feature";
  50 
  51     /**
  52      * Zero-argument default constructor.
  53      *
  54      * <p>{@code node},
  55      * {@code siblingNode} and
  56      * {@code systemId}
  57      * will be set to {@code null}.
  58      */
  59     public DOMResult() {


< prev index next >