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

📄 xmlfield.html

📁 turbine教程
💻 HTML
📖 第 1 页 / 共 3 页
字号:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the base class of the field</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/apache/turbine/services/intake/xmlmodel/XmlField.html#setDefaultValue(java.lang.String)">setDefaultValue</A></B>(java.lang.String&nbsp;prop)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the default Value</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/apache/turbine/services/intake/xmlmodel/XmlField.html#setDisplayName(java.lang.String)">setDisplayName</A></B>(java.lang.String&nbsp;newDisplayName)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the display name of the property</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/apache/turbine/services/intake/xmlmodel/XmlField.html#setGroup(org.apache.turbine.services.intake.xmlmodel.XmlGroup)">setGroup</A></B>(<A HREF="../../../../../../org/apache/turbine/services/intake/xmlmodel/XmlGroup.html">XmlGroup</A>&nbsp;parent)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the parent XmlGroup of the property</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/apache/turbine/services/intake/xmlmodel/XmlField.html#setIfRequiredMessage(java.lang.String)">setIfRequiredMessage</A></B>(java.lang.String&nbsp;v)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the value of ifRequiredMessage.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/apache/turbine/services/intake/xmlmodel/XmlField.html#setKey(java.lang.String)">setKey</A></B>(java.lang.String&nbsp;newKey)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the parameter key of the property</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/apache/turbine/services/intake/xmlmodel/XmlField.html#setMapToObject(java.lang.String)">setMapToObject</A></B>(java.lang.String&nbsp;obj)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the name of the object that takes this input</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/apache/turbine/services/intake/xmlmodel/XmlField.html#setMapToProperty(java.lang.String)">setMapToProperty</A></B>(java.lang.String&nbsp;prop)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the property method that takes this input</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/apache/turbine/services/intake/xmlmodel/XmlField.html#setMultiValued(java.lang.String)">setMultiValued</A></B>(java.lang.String&nbsp;newMultiValued)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set whether this class can have multiple values</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/apache/turbine/services/intake/xmlmodel/XmlField.html#setName(java.lang.String)">setName</A></B>(java.lang.String&nbsp;newName)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the name of the property</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/apache/turbine/services/intake/xmlmodel/XmlField.html#setType(java.lang.String)">setType</A></B>(java.lang.String&nbsp;newType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the type of the property</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/apache/turbine/services/intake/xmlmodel/XmlField.html#setValidator(java.lang.String)">setValidator</A></B>(java.lang.String&nbsp;prop)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the class name of the validator</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/apache/turbine/services/intake/xmlmodel/XmlField.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String representation of the column.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= 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="XmlField()"><!-- --></A><H3>XmlField</H3><PRE>public <B>XmlField</B>()</PRE><DL><DD>Default Constructor</DL><HR><A NAME="XmlField(java.lang.String)"><!-- --></A><H3>XmlField</H3><PRE>public <B>XmlField</B>(java.lang.String&nbsp;name)</PRE><DL><DD>Creates a new column and set the name</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="loadFromXML(org.xml.sax.Attributes)"><!-- --></A><H3>loadFromXML</H3><PRE>public void <B>loadFromXML</B>(org.xml.sax.Attributes&nbsp;attrib)</PRE><DL><DD>Imports a column from an XML specification<DD><DL></DL></DD></DL><HR><A NAME="getRawName()"><!-- --></A><H3>getRawName</H3><PRE>public java.lang.String <B>getRawName</B>()</PRE><DL><DD>Get the name of the property<DD><DL></DL></DD></DL><HR><A NAME="getName()"><!-- --></A><H3>getName</H3><PRE>public java.lang.String <B>getName</B>()</PRE><DL><DD>Get the name of the property<DD><DL></DL></DD></DL><HR><A NAME="setName(java.lang.String)"><!-- --></A><H3>setName</H3><PRE>public void <B>setName</B>(java.lang.String&nbsp;newName)</PRE><DL><DD>Set the name of the property<DD><DL></DL></DD></DL><HR><A NAME="getDisplayName()"><!-- --></A><H3>getDisplayName</H3><PRE>public java.lang.String <B>getDisplayName</B>()</PRE><DL><DD>Get the display name of the property<DD><DL></DL></DD></DL><HR><A NAME="setDisplayName(java.lang.String)"><!-- --></A><H3>setDisplayName</H3><PRE>public void <B>setDisplayName</B>(java.lang.String&nbsp;newDisplayName)</PRE><DL><DD>Set the display name of the property<DD><DL></DL></DD></DL><HR><A NAME="setKey(java.lang.String)"><!-- --></A><H3>setKey</H3><PRE>public void <B>setKey</B>(java.lang.String&nbsp;newKey)</PRE><DL><DD>Set the parameter key of the property<DD><DL></DL></DD></DL><HR><A NAME="getKey()"><!-- --></A><H3>getKey</H3><PRE>public java.lang.String <B>getKey</B>()</PRE><DL><DD>Get the parameter key of the property<DD><DL></DL></DD></DL><HR><A NAME="setType(java.lang.String)"><!-- --></A><H3>setType</H3><PRE>public void <B>setType</B>(java.lang.String&nbsp;newType)</PRE><DL><DD>Set the type of the property<DD><DL></DL></DD></DL><HR><A NAME="getType()"><!-- --></A><H3>getType</H3><PRE>public java.lang.String <B>getType</B>()</PRE><DL><DD>Get the type of the property<DD><DL></DL></DD></DL><HR><A NAME="setBaseClass(java.lang.String)"><!-- --></A><H3>setBaseClass</H3><PRE>public void <B>setBaseClass</B>(java.lang.String&nbsp;newBaseClass)</PRE><DL><DD>Set the base class of the field<DD><DL></DL></DD></DL><HR><A NAME="getBaseClass()"><!-- --></A><H3>getBaseClass</H3><PRE>public java.lang.String <B>getBaseClass</B>()</PRE><DL><DD>Get the base class of the field<DD><DL></DL></DD></DL><HR><A NAME="setMultiValued(java.lang.String)"><!-- --></A><H3>setMultiValued</H3><PRE>public void <B>setMultiValued</B>(java.lang.String&nbsp;newMultiValued)</PRE><DL><DD>Set whether this class can have multiple values<DD><DL></DL></DD></DL><HR><A NAME="isMultiValued()"><!-- --></A><H3>isMultiValued</H3><PRE>

⌨️ 快捷键说明

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