⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tag.html

📁 XMLVocabulary支持显示、查询、修改和保存XML数据。可以将XML映射到数据库。你也需要的只是使用XML作为你的项目的主数据。
💻 HTML
📖 第 1 页 / 共 2 页
字号:

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="tag"><!-- --></A><H3>
tag</H3>
<PRE>
protected java.lang.String <B>tag</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="result"><!-- --></A><H3>
result</H3>
<PRE>
protected java.lang.StringBuffer <B>result</B></PRE>
<DL>
<DL>
</DL>
</DL>

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

<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="Tag(java.lang.String)"><!-- --></A><H3>
Tag</H3>
<PRE>
public <B>Tag</B>(java.lang.String&nbsp;tag)</PRE>
<DL>
<DD>Creates a tag instance with the given name.
<P>
<DT><B>Parameters:</B><DD><CODE>tag</CODE> - The name that will be enclosed by &lt; and &gt; symbol.</DL>
<HR>

<A NAME="Tag(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
Tag</H3>
<PRE>
public <B>Tag</B>(java.lang.String&nbsp;tag,           java.lang.String&nbsp;startLine,           java.lang.String&nbsp;endLine)</PRE>
<DL>
<DD>Creates a tag instance with the given name. The final string will have the startLine and endLine strings inserted.
<P>
<DT><B>Parameters:</B><DD><CODE>tag</CODE> - The name that will be enclosed by &lt; and &gt; symbol.<DD><CODE>startLine</CODE> - The string that will precede the tag and text.<DD><CODE>endLine</CODE> - The string that will follow the tag and text.</DL>
<HR>

<A NAME="Tag(org.amic.util.html.Tag, java.lang.String)"><!-- --></A><H3>
Tag</H3>
<PRE>
protected <B>Tag</B>(<A HREF="../../../../org/amic/util/html/Tag.html">Tag</A>&nbsp;parent,              java.lang.String&nbsp;tag)</PRE>
<DL>
</DL>
<HR>

<A NAME="Tag(org.amic.util.html.Tag, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
Tag</H3>
<PRE>
protected <B>Tag</B>(<A HREF="../../../../org/amic/util/html/Tag.html">Tag</A>&nbsp;parent,              java.lang.String&nbsp;tag,              java.lang.String&nbsp;startLine,              java.lang.String&nbsp;endLine)</PRE>
<DL>
</DL>

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

<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="addAttribute(java.lang.String, java.lang.String)"><!-- --></A><H3>
addAttribute</H3>
<PRE>
public <A HREF="../../../../org/amic/util/html/Tag.html">Tag</A> <B>addAttribute</B>(java.lang.String&nbsp;name,                        java.lang.String&nbsp;value)</PRE>
<DL>
<DD>Adds an atribute in the HTML manner to the tag. This action should be requested before any text is added to the tag, otherwise the tag will be enclosed and no attribute added. <pre>  out.println(    new Tag("A")      .addAttribute("href", "http://www.amicworld.com")      .text("Welcome")  ); </pre> This example will produce the output: <pre>  &lt;a href="http://www.amicworld.com"&gt;Welcome&lt;/a&gt; </pre>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the atribute.<DD><CODE>value</CODE> - The value of the attribute.</DL>
</DD>
</DL>
<HR>

<A NAME="addStyle(java.lang.String, java.lang.String)"><!-- --></A><H3>
addStyle</H3>
<PRE>
public <A HREF="../../../../org/amic/util/html/Tag.html">Tag</A> <B>addStyle</B>(java.lang.String&nbsp;name,                    java.lang.String&nbsp;value)</PRE>
<DL>
<DD>Adds an style in the HTML manner to the tag. This action should be requested before any text is added to the tag, otherwise the tag will be enclosed and no style added. <pre>  out.println(    new Tag("div")      .addStyle("color", "red")      .addStyle("background", "black")      .text("Welcome")  ); </pre> This example will produce the output: <pre>  &lt;div style="color:red;background:black"&gt;Welcome&lt;/div&gt; </pre>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the style.<DD><CODE>value</CODE> - The value of the style.</DL>
</DD>
</DL>
<HR>

<A NAME="addText(java.lang.String)"><!-- --></A><H3>
addText</H3>
<PRE>
public <A HREF="../../../../org/amic/util/html/Tag.html">Tag</A> <B>addText</B>(java.lang.String&nbsp;value)</PRE>
<DL>
<DD>Adds text that will be enclosed by the tag. This method don't work with the startLine and endLine parameters, the text will be appended as is.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The text that will be appended.</DL>
</DD>
</DL>
<HR>

<A NAME="addText(java.lang.StringBuffer)"><!-- --></A><H3>
addText</H3>
<PRE>
public <A HREF="../../../../org/amic/util/html/Tag.html">Tag</A> <B>addText</B>(java.lang.StringBuffer&nbsp;value)</PRE>
<DL>
<DD>Adds text that will be enclosed by the tag. This method don't work with the startLine and endLine parameters, the text will be appended as is.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The text that will be appended.</DL>
</DD>
</DL>
<HR>

<A NAME="text(java.lang.String)"><!-- --></A><H3>
text</H3>
<PRE>
public java.lang.StringBuffer <B>text</B>(java.lang.String&nbsp;value)</PRE>
<DL>
<DD>Sets the text enclosed by the tag and closes it by calling the end() method.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The text that will be set.</DL>
</DD>
</DL>
<HR>

<A NAME="end()"><!-- --></A><H3>
end</H3>
<PRE>
public java.lang.StringBuffer <B>end</B>()</PRE>
<DL>
<DD>Closes the tag and any associated children tags. You can call this method any time, but the code that closes the tag will execute once, the first time is called.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>The resulting string.</DL>
</DD>
</DL>
<HR>

<A NAME="addChildTag(java.lang.String)"><!-- --></A><H3>
addChildTag</H3>
<PRE>
public <A HREF="../../../../org/amic/util/html/Tag.html">Tag</A> <B>addChildTag</B>(java.lang.String&nbsp;tag)</PRE>
<DL>
<DD>Adds a tag that will be treated as a child, any attempt to close the parent tag will close all associated children. There is no limitation on the level of hierarchy applied, any child would also have children, at any level.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tag</CODE> - The childs name that will be enclosed by &lt; and &gt; symbol.<DT><B>Returns:</B><DD>The child tag.</DL>
</DD>
</DL>
<HR>

<A NAME="addChildTag(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
addChildTag</H3>
<PRE>
public <A HREF="../../../../org/amic/util/html/Tag.html">Tag</A> <B>addChildTag</B>(java.lang.String&nbsp;tag,                       java.lang.String&nbsp;startLine,                       java.lang.String&nbsp;endLine)</PRE>
<DL>
<DD>Adds a tag that will be treated as a child, any attempt to close the parent tag will close all associated children. There is no limitation on the level of hierarchy applied, any child would also have children, at any level.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tag</CODE> - The childs name that will be enclosed by &lt; and &gt; symbol.<DD><CODE>startLine</CODE> - The string that will precede the tag and text.<DD><CODE>endLine</CODE> - The string that will follow the tag and text.<DT><B>Returns:</B><DD>The child tag.</DL>
</DD>
</DL>
<!-- ========= 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=3 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>
<b>Amic utility<br> classes</b></EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/amic/util/html/Table.Row.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="Tag.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT>  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT><A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<font size=-1>Contact me at <a href='mailto:lluis@turro.org'>Lluis Turro</a></font>
</BODY>
</HTML>

⌨️ 快捷键说明

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