src/javax/xml/transform/OutputKeys.java

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


  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;
  27 
  28 /**
  29  * Provides string constants that can be used to set
  30  * output properties for a Transformer, or to retrieve
  31  * output properties from a Transformer or Templates object.
  32  * <p>All the fields in this class are read-only.</p>
  33  *
  34  * @see <a href="http://www.w3.org/TR/xslt#output">
  35  *  section 16 of the XSL Transformations (XSLT) W3C Recommendation</a>

  36  */
  37 public class OutputKeys {
  38 
  39     /**
  40      * Default constructor is private on purpose.  This class is
  41      * only for static variable access, and should never be constructed.
  42      */
  43     private OutputKeys() { }
  44 
  45     /**
  46      * method = "xml" | "html" | "text" | <var>expanded name</var>.
  47      *
  48      * <p>The value of the method property identifies the overall method that
  49      * should be used for outputting the result tree.  Other non-namespaced
  50      * values may be used, such as "xhtml", but, if accepted, the handling
  51      * of such values is implementation defined.  If any of the method values
  52      * are not accepted and are not namespace qualified,
  53      * then {@link javax.xml.transform.Transformer#setOutputProperty}
  54      * or {@link javax.xml.transform.Transformer#setOutputProperties} will
  55      * throw a {@link java.lang.IllegalArgumentException}.</p>




  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;
  27 
  28 /**
  29  * Provides string constants that can be used to set
  30  * output properties for a Transformer, or to retrieve
  31  * output properties from a Transformer or Templates object.
  32  * <p>All the fields in this class are read-only.</p>
  33  *
  34  * @see <a href="http://www.w3.org/TR/xslt#output">
  35  *  section 16 of the XSL Transformations (XSLT) W3C Recommendation</a>
  36  * @since 1.4
  37  */
  38 public class OutputKeys {
  39 
  40     /**
  41      * Default constructor is private on purpose.  This class is
  42      * only for static variable access, and should never be constructed.
  43      */
  44     private OutputKeys() { }
  45 
  46     /**
  47      * method = "xml" | "html" | "text" | <var>expanded name</var>.
  48      *
  49      * <p>The value of the method property identifies the overall method that
  50      * should be used for outputting the result tree.  Other non-namespaced
  51      * values may be used, such as "xhtml", but, if accepted, the handling
  52      * of such values is implementation defined.  If any of the method values
  53      * are not accepted and are not namespace qualified,
  54      * then {@link javax.xml.transform.Transformer#setOutputProperty}
  55      * or {@link javax.xml.transform.Transformer#setOutputProperties} will
  56      * throw a {@link java.lang.IllegalArgumentException}.</p>