📄 messageresourcesfactory.html
字号:
<TD><CODE><clinit>, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ 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="config"><!-- --></A><H3>
config</H3>
<PRE>
protected <A HREF="../../../../org/apache/struts/config/MessageResourcesConfig.html">MessageResourcesConfig</A> <B>config</B></PRE>
<DL>
<DD>Configuration information for Message Resources.</DL>
<HR>
<A NAME="returnNull"><!-- --></A><H3>
returnNull</H3>
<PRE>
protected boolean <B>returnNull</B></PRE>
<DL>
<DD>The "return null" property value to which newly created MessageResourcess should be initialized.</DL>
<HR>
<A NAME="clazz"><!-- --></A><H3>
clazz</H3>
<PRE>
protected static transient java.lang.Class <B>clazz</B></PRE>
<DL>
<DD>The Java class to be used for <code>MessageResourcesFactory</code> instances.</DL>
<HR>
<A NAME="LOG"><!-- --></A><H3>
LOG</H3>
<PRE>
private static org.apache.commons.logging.Log <B>LOG</B></PRE>
<DL>
<DD>Commons Logging instance.</DL>
<HR>
<A NAME="factoryClass"><!-- --></A><H3>
factoryClass</H3>
<PRE>
protected static java.lang.String <B>factoryClass</B></PRE>
<DL>
<DD>The fully qualified class name to be used for <code>MessageResourcesFactory</code> instances.</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="MessageResourcesFactory()"><!-- --></A><H3>
MessageResourcesFactory</H3>
<PRE>
public <B>MessageResourcesFactory</B>()</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="getConfig()"><!-- --></A><H3>
getConfig</H3>
<PRE>
public <A HREF="../../../../org/apache/struts/config/MessageResourcesConfig.html">MessageResourcesConfig</A> <B>getConfig</B>()</PRE>
<DL>
<DD>Set the configuration information for Message Resources.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Since: </B><DD>Struts 1.2.8</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="setConfig(org.apache.struts.config.MessageResourcesConfig)"><!-- --></A><H3>
setConfig</H3>
<PRE>
public void <B>setConfig</B>(<A HREF="../../../../org/apache/struts/config/MessageResourcesConfig.html">MessageResourcesConfig</A> config)</PRE>
<DL>
<DD>Return the configuration information for Message Resources.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Since: </B><DD>Struts 1.2.8</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="getReturnNull()"><!-- --></A><H3>
getReturnNull</H3>
<PRE>
public boolean <B>getReturnNull</B>()</PRE>
<DL>
<DD>Get default value of the "returnNull" property used to initialize newly created MessageResourcess.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>default value of the "returnNull" property newly created MessageResourcess are initialized to.</DL>
</DD>
</DL>
<HR>
<A NAME="setReturnNull(boolean)"><!-- --></A><H3>
setReturnNull</H3>
<PRE>
public void <B>setReturnNull</B>(boolean returnNull)</PRE>
<DL>
<DD>Set the default value of the "returnNull" property newly created MessageResourcess are initialized to.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>returnNull</CODE> - default value of the "returnNull" MessageResourcess are initialized to.</DL>
</DD>
</DL>
<HR>
<A NAME="createResources(java.lang.String)"><!-- --></A><H3>
createResources</H3>
<PRE>
public abstract <A HREF="../../../../org/apache/struts/util/MessageResources.html">MessageResources</A> <B>createResources</B>(java.lang.String config)</PRE>
<DL>
<DD>Create and return a newly instansiated <code>MessageResources</code>. This method must be implemented by concrete subclasses.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>config</CODE> - Configuration parameter(s) for the requested bundle</DL>
</DD>
</DL>
<HR>
<A NAME="getFactoryClass()"><!-- --></A><H3>
getFactoryClass</H3>
<PRE>
public static java.lang.String <B>getFactoryClass</B>()</PRE>
<DL>
<DD>The fully qualified class name that is used for <code>MessageResourcesFactory</code> instances.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>class name that is used for <code>MessageResourcesFactory</code> instances</DL>
</DD>
</DL>
<HR>
<A NAME="setFactoryClass(java.lang.String)"><!-- --></A><H3>
setFactoryClass</H3>
<PRE>
public static void <B>setFactoryClass</B>(java.lang.String factoryClass)</PRE>
<DL>
<DD>Set the fully qualified class name that is used for <code>MessageResourcesFactory</code> instances.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>factoryClass</CODE> - name that is used for <code>MessageResourcesFactory</code> instances</DL>
</DD>
</DL>
<HR>
<A NAME="createFactory()"><!-- --></A><H3>
createFactory</H3>
<PRE>
public static <A HREF="../../../../org/apache/struts/util/MessageResourcesFactory.html">MessageResourcesFactory</A> <B>createFactory</B>()</PRE>
<DL>
<DD>Create and return a <code>MessageResourcesFactory</code> instance of the appropriate class, which can be used to create customized <code>MessageResources</code> instances. If no such factory can be created, return <code>null</code> instead.<DD><DL>
</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=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> </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="class-use/MessageResourcesFactory.html"><FONT CLASS="NavBarFont1"><B>Use</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="../../../../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">
<A HREF="../../../../org/apache/struts/util/MessageResources.html"><B>PREV CLASS</B></A>
<A HREF="../../../../org/apache/struts/util/ModuleUtils.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>
<A HREF="MessageResourcesFactory.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <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>
<!-- =========== END OF NAVBAR =========== -->
<HR>
Copyright
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -