📄 xmlpeer.html
字号:
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="tagname"><!-- --></A><H3>tagname</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>tagname</B></PRE><DL><DD>This is the name of the alias.<P><DL></DL></DL><HR><A NAME="customTagname"><!-- --></A><H3>customTagname</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>customTagname</B></PRE><DL><DD>This is the name of the alias.<P><DL></DL></DL><HR><A NAME="attributeAliases"><!-- --></A><H3>attributeAliases</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</A> <B>attributeAliases</B></PRE><DL><DD>This is the Map that contains the aliases of the attributes.<P><DL></DL></DL><HR><A NAME="attributeValues"><!-- --></A><H3>attributeValues</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</A> <B>attributeValues</B></PRE><DL><DD>This is the Map that contains the default values of the attributes.<P><DL></DL></DL><HR><A NAME="defaultContent"><!-- --></A><H3>defaultContent</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>defaultContent</B></PRE><DL><DD>This is String that contains the default content of the attributes.<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="XmlPeer(java.lang.String, java.lang.String)"><!-- --></A><H3>XmlPeer</H3><PRE>public <B>XmlPeer</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> alias)</PRE><DL><DD>Creates a XmlPeer.<P><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the iText name of a tag<DD><CODE>alias</CODE> - the user defined name of a tag</DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getTag()"><!-- --></A><H3>getTag</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getTag</B>()</PRE><DL><DD>Gets the tagname of the peer.<P><DD><DL><DT><B>Returns:</B><DD>the iText name of a tag</DL></DD></DL><HR><A NAME="getAlias()"><!-- --></A><H3>getAlias</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getAlias</B>()</PRE><DL><DD>Gets the tagname of the peer.<P><DD><DL><DT><B>Returns:</B><DD>the user defined tagname</DL></DD></DL><HR><A NAME="getAttributes(org.xml.sax.Attributes)"><!-- --></A><H3>getAttributes</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</A> <B>getAttributes</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</A> attrs)</PRE><DL><DD>Gets the list of attributes of the peer.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>attrs</CODE> - the user defined set of attributes<DT><B>Returns:</B><DD>the set of attributes translated to iText attributes</DL></DD></DL><HR><A NAME="addAlias(java.lang.String, java.lang.String)"><!-- --></A><H3>addAlias</H3><PRE>public void <B>addAlias</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> alias)</PRE><DL><DD>Sets an alias for an attribute.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the iText tagname<DD><CODE>alias</CODE> - the custom tagname</DL></DD></DL><HR><A NAME="addValue(java.lang.String, java.lang.String)"><!-- --></A><H3>addValue</H3><PRE>public void <B>addValue</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> value)</PRE><DL><DD>Sets a value for an attribute.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the iText tagname<DD><CODE>value</CODE> - the default value for this tag</DL></DD></DL><HR><A NAME="setContent(java.lang.String)"><!-- --></A><H3>setContent</H3><PRE>public void <B>setContent</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> content)</PRE><DL><DD>Sets the default content.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>content</CODE> - the default content</DL></DD></DL><HR><A NAME="getName(java.lang.String)"><!-- --></A><H3>getName</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getName</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE><DL><DD>Returns the iText attribute name.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the custom attribute name<DT><B>Returns:</B><DD>iText translated attribute name</DL></DD></DL><HR><A NAME="getDefaultValues()"><!-- --></A><H3>getDefaultValues</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</A> <B>getDefaultValues</B>()</PRE><DL><DD>Returns the default values.<P><DD><DL><DT><B>Returns:</B><DD>A set of default (user defined) values</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>Hosted by <a href="http://www.hostbasket.com/">Hostbasket</a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/lowagie/text/xml/XmlParser.html" title="class in com.lowagie.text.xml"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/lowagie/text/xml/XmlPeer.html" target="_top"><B>FRAMES</B></A> <A HREF="XmlPeer.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -