outputkeys.html

来自「SUN公司官方J2EE中文帮助文档 应该不错 有兴趣的下来看看 html格式的」· HTML 代码 · 共 440 行 · 第 1/2 页

HTML
440
字号
VERSION</H3>
<PRE>
public static final java.lang.String <B>VERSION</B></PRE>
<DL>
<DD>version = <var>nmtoken</var>.

 <p><code>version</code> specifies the version of the output
 method.</p>
 <p>When the output method is "xml", the version value specifies the
 version of XML to be used for outputting the result tree. The default
 value for the xml output method is 1.0. When the output method is
 "html", the version value indicates the version of the HTML.
 The default value for the xml output method is 4.0, which specifies
 that the result should be output as HTML conforming to the HTML 4.0
 Recommendation [HTML].  If the output method is "text", the version
 property is ignored.</p><DD><DL>
<DT><B>See Also: </B><DD><a href="http://www.w3.org/TR/xslt#output">section 16 of the XSL Transformations (XSLT) W3C Recommendation</a></DL>
</DD>
</DL>
<HR>

<A NAME="ENCODING"><!-- --></A><H3>
ENCODING</H3>
<PRE>
public static final java.lang.String <B>ENCODING</B></PRE>
<DL>
<DD>encoding = <var>string</var>.

 <p><code>encoding</code> specifies the preferred character
 encoding that the Transformer should use to encode sequences of
 characters as sequences of bytes. The value of the attribute should be
 treated case-insensitively. The value must only contain characters in
 the range #x21 to #x7E (i.e., printable ASCII characters). The value
 should either be a <code>charset</code> registered with the Internet
 Assigned Numbers Authority <a href="#IANA">[IANA]</a>,
 <a href="#RFC2278">[RFC2278]</a> or start with <code>X-</code>.</p><DD><DL>
<DT><B>See Also: </B><DD><a href="http://www.w3.org/TR/xslt#output">section 16 of the XSL Transformations (XSLT) W3C Recommendation</a></DL>
</DD>
</DL>
<HR>

<A NAME="OMIT_XML_DECLARATION"><!-- --></A><H3>
OMIT_XML_DECLARATION</H3>
<PRE>
public static final java.lang.String <B>OMIT_XML_DECLARATION</B></PRE>
<DL>
<DD>omit-xml-declaration = "yes" | "no".

 <p><code>omit-xml-declaration</code> specifies whether the XSLT
 processor should output an XML declaration; the value must be
 <code>yes</code> or <code>no</code>.</p><DD><DL>
<DT><B>See Also: </B><DD><a href="http://www.w3.org/TR/xslt#output">section 16 of the XSL Transformations (XSLT) W3C Recommendation</a></DL>
</DD>
</DL>
<HR>

<A NAME="STANDALONE"><!-- --></A><H3>
STANDALONE</H3>
<PRE>
public static final java.lang.String <B>STANDALONE</B></PRE>
<DL>
<DD>standalone = "yes" | "no".

 <p><code>standalone</code> specifies whether the Transformer
 should output a standalone document declaration; the value must be
 <code>yes</code> or <code>no</code>.</p><DD><DL>
<DT><B>See Also: </B><DD><a href="http://www.w3.org/TR/xslt#output">section 16 of the XSL Transformations (XSLT) W3C Recommendation</a></DL>
</DD>
</DL>
<HR>

<A NAME="DOCTYPE_PUBLIC"><!-- --></A><H3>
DOCTYPE_PUBLIC</H3>
<PRE>
public static final java.lang.String <B>DOCTYPE_PUBLIC</B></PRE>
<DL>
<DD>doctype-public = <var>string</var>.
 <p>See the documentation for the <A HREF="../../../javax/xml/transform/OutputKeys.html#DOCTYPE_SYSTEM"><CODE>DOCTYPE_SYSTEM</CODE></A> property
 for a description of what the value of the key should be.</p><DD><DL>
<DT><B>See Also: </B><DD><a href="http://www.w3.org/TR/xslt#output">section 16 of the XSL Transformations (XSLT) W3C Recommendation</a></DL>
</DD>
</DL>
<HR>

<A NAME="DOCTYPE_SYSTEM"><!-- --></A><H3>
DOCTYPE_SYSTEM</H3>
<PRE>
public static final java.lang.String <B>DOCTYPE_SYSTEM</B></PRE>
<DL>
<DD>doctype-system = <var>string</var>.
 <p><code>doctype-public</code> specifies the public identifier
 to be used in the document type declaration.</p>
 <p>If the doctype-system property is specified, the xml output method
 should output a document type declaration immediately before the first
 element. The name following &lt;!DOCTYPE should be the name of the first
 element. If doctype-public property is also specified, then the xml
 output method should output PUBLIC followed by the public identifier
 and then the system identifier; otherwise, it should output SYSTEM
 followed by the system identifier. The internal subset should be empty.
 The doctype-public attribute should be ignored unless the doctype-system
 attribute is specified.</p>
 <p>If the doctype-public or doctype-system attributes are specified,
 then the html output method should output a document type declaration
 immediately before the first element. The name following &lt;!DOCTYPE
 should be HTML or html. If the doctype-public attribute is specified,
 then the output method should output PUBLIC followed by the specified
 public identifier; if the doctype-system attribute is also specified,
 it should also output the specified system identifier following the
 public identifier. If the doctype-system attribute is specified but
 the doctype-public attribute is not specified, then the output method
 should output SYSTEM followed by the specified system identifier.</p>

 <p><code>doctype-system</code> specifies the system identifier
 to be used in the document type declaration.</p><DD><DL>
<DT><B>See Also: </B><DD><a href="http://www.w3.org/TR/xslt#output">section 16 of the XSL Transformations (XSLT) W3C Recommendation</a></DL>
</DD>
</DL>
<HR>

<A NAME="CDATA_SECTION_ELEMENTS"><!-- --></A><H3>
CDATA_SECTION_ELEMENTS</H3>
<PRE>
public static final java.lang.String <B>CDATA_SECTION_ELEMENTS</B></PRE>
<DL>
<DD>cdata-section-elements = <var>expanded names</var>.

 <p><code>cdata-section-elements</code> specifies a whitespace delimited
 list of the names of elements whose text node children should be output
 using CDATA sections.</p><DD><DL>
<DT><B>See Also: </B><DD><a href="http://www.w3.org/TR/xslt#output">section 16 of the XSL Transformations (XSLT) W3C Recommendation.</a></DL>
</DD>
</DL>
<HR>

<A NAME="INDENT"><!-- --></A><H3>
INDENT</H3>
<PRE>
public static final java.lang.String <B>INDENT</B></PRE>
<DL>
<DD>indent = "yes" | "no".

 <p><code>indent</code> specifies whether the Transformer may
 add additional whitespace when outputting the result tree; the value
 must be <code>yes</code> or <code>no</code>.  </p><DD><DL>
<DT><B>See Also: </B><DD><a href="http://www.w3.org/TR/xslt#output">section 16 of the XSL Transformations (XSLT) W3C Recommendation</a></DL>
</DD>
</DL>
<HR>

<A NAME="MEDIA_TYPE"><!-- --></A><H3>
MEDIA_TYPE</H3>
<PRE>
public static final java.lang.String <B>MEDIA_TYPE</B></PRE>
<DL>
<DD>media-type = <var>string</var>.

 <p><code>media-type</code> specifies the media type (MIME
 content type) of the data that results from outputting the result
 tree. The <code>charset</code> parameter should not be specified
 explicitly; instead, when the top-level media type is
 <code>text</code>, a <code>charset</code> parameter should be added
 according to the character encoding actually used by the output
 method.  </p><DD><DL>
<DT><B>See Also: </B><DD><a href="http://www.w3.org/TR/xslt#output">section 16 of the XSL Transformations (XSLT) W3C Recommendation</a></DL>
</DD>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->


<!-- ============ METHOD DETAIL ========== -->

<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../javax/xml/transform/Transformer.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="OutputKeys.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_java.lang.Object">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>

</BODY>
</HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?