📄 propertyfactory.html
字号:
<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="createAction(org.apache.jetspeed.portlet.PortletSettings)"><!-- --></A><H3>createAction</H3><PRE>public static <A HREF="../../../../../com/ibm/wps/pb/property/Action.html" title="interface in com.ibm.wps.pb.property">Action</A> <B>createAction</B>(<A HREF="../../../../../org/apache/jetspeed/portlet/PortletSettings.html" title="interface in org.apache.jetspeed.portlet">PortletSettings</A> settings) throws <A HREF="../../../../../com/ibm/wps/pb/service/InvalidPropertyException.html" title="class in com.ibm.wps.pb.service">InvalidPropertyException</A></PRE><DL><DD>Creates and returns an <code>Action</code> object. The required fields on the <code>Action</code> must be initialized using setters.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>settings</CODE> - the <code>PortletSettings</code> identifying the caller<DT><B>Returns:</B><DD>the <code>Action</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/ibm/wps/pb/service/InvalidPropertyException.html" title="class in com.ibm.wps.pb.service">InvalidPropertyException</A></CODE> - if argument is invalid<DT><B>See Also:</B><DD><A HREF="../../../../../com/ibm/wps/pb/property/Action.html" title="interface in com.ibm.wps.pb.property"><CODE>Action</CODE></A></DL></DD></DL><HR><A NAME="createProperty(org.apache.jetspeed.portlet.PortletSettings)"><!-- --></A><H3>createProperty</H3><PRE>public static <A HREF="../../../../../com/ibm/wps/pb/property/Property.html" title="interface in com.ibm.wps.pb.property">Property</A> <B>createProperty</B>(<A HREF="../../../../../org/apache/jetspeed/portlet/PortletSettings.html" title="interface in org.apache.jetspeed.portlet">PortletSettings</A> settings) throws <A HREF="../../../../../com/ibm/wps/pb/service/InvalidPropertyException.html" title="class in com.ibm.wps.pb.service">InvalidPropertyException</A></PRE><DL><DD>Creates and returns a <code>Property</code> object. The required fields on the <code>Property</code> must be initialized using setters.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>settings</CODE> - the <code>PortletSettings</code> identifying the caller<DT><B>Returns:</B><DD>the <code>Property</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/ibm/wps/pb/service/InvalidPropertyException.html" title="class in com.ibm.wps.pb.service">InvalidPropertyException</A></CODE> - if argument is invalid<DT><B>See Also:</B><DD><A HREF="../../../../../com/ibm/wps/pb/property/Property.html" title="interface in com.ibm.wps.pb.property"><CODE>Property</CODE></A></DL></DD></DL><HR><A NAME="createParameter(com.ibm.wps.pb.property.Property, com.ibm.wps.pb.property.Action)"><!-- --></A><H3>createParameter</H3><PRE>public static <A HREF="../../../../../com/ibm/wps/pb/property/Parameter.html" title="interface in com.ibm.wps.pb.property">Parameter</A> <B>createParameter</B>(<A HREF="../../../../../com/ibm/wps/pb/property/Property.html" title="interface in com.ibm.wps.pb.property">Property</A> property, <A HREF="../../../../../com/ibm/wps/pb/property/Action.html" title="interface in com.ibm.wps.pb.property">Action</A> action) throws <A HREF="../../../../../com/ibm/wps/pb/service/InvalidPropertyException.html" title="class in com.ibm.wps.pb.service">InvalidPropertyException</A></PRE><DL><DD>Creates and returns a <code>Parameter</code> object associated with the parent action and containing the specified property. The required fields on the <code>Parameter</code> must be initialized using setters.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>property</CODE> - the <code>Property</code> identifying the contained property<DD><CODE>action</CODE> - the <code>Action</code> identifying the parent action<DT><B>Returns:</B><DD>the <code>Parameter</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/ibm/wps/pb/service/InvalidPropertyException.html" title="class in com.ibm.wps.pb.service">InvalidPropertyException</A></CODE> - if argument is invalid<DT><B>See Also:</B><DD><A HREF="../../../../../com/ibm/wps/pb/property/Parameter.html" title="interface in com.ibm.wps.pb.property"><CODE>Parameter</CODE></A></DL></DD></DL><HR><A NAME="createPropertyValue(com.ibm.wps.pb.property.Property, java.lang.Object)"><!-- --></A><H3>createPropertyValue</H3><PRE>public static <A HREF="../../../../../com/ibm/wps/pb/property/PropertyValue.html" title="interface in com.ibm.wps.pb.property">PropertyValue</A> <B>createPropertyValue</B>(<A HREF="../../../../../com/ibm/wps/pb/property/Property.html" title="interface in com.ibm.wps.pb.property">Property</A> property, java.lang.Object value) throws <A HREF="../../../../../com/ibm/wps/pb/service/InvalidPropertyException.html" title="class in com.ibm.wps.pb.service">InvalidPropertyException</A></PRE><DL><DD>Creates and returns a <code>PropertyValue</code> object encapsulating a property and a value. The value must be an instance of the java class the property is associated with.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>property</CODE> - the <code>Property</code> identifying the contained property<DD><CODE>value</CODE> - the value<DT><B>Returns:</B><DD>the <code>PropertyValue</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/ibm/wps/pb/service/InvalidPropertyException.html" title="class in com.ibm.wps.pb.service">InvalidPropertyException</A></CODE> - if argument is invalid<DT><B>See Also:</B><DD><A HREF="../../../../../com/ibm/wps/pb/property/PropertyValue.html" title="interface in com.ibm.wps.pb.property"><CODE>PropertyValue</CODE></A></DL></DD></DL><HR><A NAME="createPropertyValue(com.ibm.wps.pb.property.Property, java.lang.Object, java.lang.String)"><!-- --></A><H3>createPropertyValue</H3><PRE>public static <A HREF="../../../../../com/ibm/wps/pb/property/PropertyValue.html" title="interface in com.ibm.wps.pb.property">PropertyValue</A> <B>createPropertyValue</B>(<A HREF="../../../../../com/ibm/wps/pb/property/Property.html" title="interface in com.ibm.wps.pb.property">Property</A> property, java.lang.Object value, java.lang.String changeType) throws <A HREF="../../../../../com/ibm/wps/pb/service/InvalidPropertyException.html" title="class in com.ibm.wps.pb.service">InvalidPropertyException</A></PRE><DL><DD>Creates and returns a <code>PropertyValue</code> object encapsulating a property and a value and a reason for change. The value must be an instance of the java class the property is associated with.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>property</CODE> - the <code>Property</code> identifying the contained property<DD><CODE>value</CODE> - the value<DD><CODE>changeType</CODE> - the change type. Must be one of the "CHANGE_TYPE" constants defined in <code>PropertyValue</code><DT><B>Returns:</B><DD>the <code>PropertyValue</code> object<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/ibm/wps/pb/service/InvalidPropertyException.html" title="class in com.ibm.wps.pb.service">InvalidPropertyException</A></CODE> - if argument is invalid</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=3 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"> <A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A> </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="../../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="PropertyFactory.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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <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 + -