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

📄 complextype.html

📁 一个开源的网页爬虫一个开源的网页爬虫一个开源的网页爬虫一个开源的网页爬虫一个开源的网页爬虫一个开源的网页爬虫
💻 HTML
📖 第 1 页 / 共 5 页
字号:
 The description should be suitable for showing in a user interface.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/settings/ComplexType.html#setPreservedFields(java.lang.String[])">setPreservedFields</A></B>(java.lang.String[]&nbsp;preservedFields)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a list of attribute names that the complex type should attempt to preserve if the module is exchanged with an other one.</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/archive/crawler/settings/ComplexType.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/settings/ComplexType.html#unsetAttribute(org.archive.crawler.settings.CrawlerSettings, java.lang.String)">unsetAttribute</A></B>(<A HREF="../../../../org/archive/crawler/settings/CrawlerSettings.html" title="class in org.archive.crawler.settings">CrawlerSettings</A>&nbsp;settings,               java.lang.String&nbsp;name)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unset an attribute on a per host level.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_org.archive.crawler.settings.Type"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class org.archive.crawler.settings.<A HREF="../../../../org/archive/crawler/settings/Type.html" title="class in org.archive.crawler.settings">Type</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/archive/crawler/settings/Type.html#addConstraint(org.archive.crawler.settings.Constraint)">addConstraint</A>, <A HREF="../../../../org/archive/crawler/settings/Type.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../org/archive/crawler/settings/Type.html#getConstraints()">getConstraints</A>, <A HREF="../../../../org/archive/crawler/settings/Type.html#getLegalValueType()">getLegalValueType</A>, <A HREF="../../../../org/archive/crawler/settings/Type.html#isExpertSetting()">isExpertSetting</A>, <A HREF="../../../../org/archive/crawler/settings/Type.html#isOverrideable()">isOverrideable</A>, <A HREF="../../../../org/archive/crawler/settings/Type.html#isTransient()">isTransient</A>, <A HREF="../../../../org/archive/crawler/settings/Type.html#setExpertSetting(boolean)">setExpertSetting</A>, <A HREF="../../../../org/archive/crawler/settings/Type.html#setLegalValueType(java.lang.Class)">setLegalValueType</A>, <A HREF="../../../../org/archive/crawler/settings/Type.html#setOverrideable(boolean)">setOverrideable</A>, <A HREF="../../../../org/archive/crawler/settings/Type.html#setTransient(boolean)">setTransient</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_javax.management.Attribute"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class javax.management.Attribute</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>getName</CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="definitionMap"><!-- --></A><H3>definitionMap</H3><PRE>protected final java.util.Map <B>definitionMap</B></PRE><DL><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="ComplexType(java.lang.String, java.lang.String)"><!-- --></A><H3>ComplexType</H3><PRE>public <B>ComplexType</B>(java.lang.String&nbsp;name,                   java.lang.String&nbsp;description)</PRE><DL><DD>Creates a new instance of ComplexType.<P><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the element.<DD><CODE>description</CODE> - the description of the element.</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="setAsOrder(org.archive.crawler.settings.SettingsHandler)"><!-- --></A><H3>setAsOrder</H3><PRE>protected void <B>setAsOrder</B>(<A HREF="../../../../org/archive/crawler/settings/SettingsHandler.html" title="class in org.archive.crawler.settings">SettingsHandler</A>&nbsp;settingsHandler)                   throws javax.management.InvalidAttributeValueException</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>javax.management.InvalidAttributeValueException</CODE></DL></DD></DL><HR><A NAME="globalSettings()"><!-- --></A><H3>globalSettings</H3><PRE>public <A HREF="../../../../org/archive/crawler/settings/CrawlerSettings.html" title="class in org.archive.crawler.settings">CrawlerSettings</A> <B>globalSettings</B>()</PRE><DL><DD>Get the global settings object (aka order).<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the global settings object.</DL></DD></DL><HR><A NAME="addElement(org.archive.crawler.settings.CrawlerSettings, org.archive.crawler.settings.Type)"><!-- --></A><H3>addElement</H3><PRE>public <A HREF="../../../../org/archive/crawler/settings/Type.html" title="class in org.archive.crawler.settings">Type</A> <B>addElement</B>(<A HREF="../../../../org/archive/crawler/settings/CrawlerSettings.html" title="class in org.archive.crawler.settings">CrawlerSettings</A>&nbsp;settings,                       <A HREF="../../../../org/archive/crawler/settings/Type.html" title="class in org.archive.crawler.settings">Type</A>&nbsp;type)                throws javax.management.InvalidAttributeValueException</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>javax.management.InvalidAttributeValueException</CODE></DL></DD></DL><HR><A NAME="setPreservedFields(java.lang.String[])"><!-- --></A><H3>setPreservedFields</H3><PRE>protected void <B>setPreservedFields</B>(java.lang.String[]&nbsp;preservedFields)</PRE><DL><DD>Set a list of attribute names that the complex type should attempt to preserve if the module is exchanged with an other one.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>preservedFields</CODE> - array of attributenames to preserve.</DL></DD></DL><HR><A NAME="getPreservedFields()"><!-- --></A><H3>getPreservedFields</H3><PRE>protected java.lang.String[] <B>getPreservedFields</B>()</PRE><DL><DD>Get a list of attribute names that the complex type should attempt to preserve if the module is exchanged with an other one.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array of attributenames to preserve.</DL></DD></DL><HR><A NAME="getDataContainerRecursive(org.archive.crawler.settings.ComplexType.Context)"><!-- --></A><H3>getDataContainerRecursive</H3><PRE>protected <A HREF="../../../../org/archive/crawler/settings/DataContainer.html" title="class in org.archive.crawler.settings">DataContainer</A> <B>getDataContainerRecursive</B>(<A HREF="../../../../org/archive/crawler/settings/ComplexType.Context.html" title="class in org.archive.crawler.settings">ComplexType.Context</A>&nbsp;context)</PRE><DL><DD>Get the active data container for this ComplexType for a specific settings object. If no value has been overridden on the settings object for this ComplexType, then it traverses up until it find a DataContainer with values for this ComplexType. This method should probably not be called from user code. It is a helper method for the settings framework.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - Context from which we get settings.<DT><B>Returns:</B><DD>the active DataContainer.</DL></DD></DL><HR><A NAME="getDataContainerRecursive(org.archive.crawler.settings.ComplexType.Context, java.lang.String)"><!-- --></A><H3>getDataContainerRecursive</H3><PRE>protected <A HREF="../../../../org/archive/crawler/settings/DataContainer.html" title="class in org.archive.crawler.settings">DataContainer</A> <B>getDataContainerRecursive</B>(<A HREF="../../../../org/archive/crawler/settings/ComplexType.Context.html" title="class in org.archive.crawler.settings">ComplexType.Context</A>&nbsp;context,                                                  java.lang.String&nbsp;key)                                           throws javax.management.AttributeNotFoundException</PRE><DL><DD>Get the active data container for this ComplexType for a specific settings object. If the key has not been overridden on the settings object for this ComplexType, then it traverses up until it find a DataContainer with the key for this ComplexType. This method should probably not be called from user code. It is a helper method for the settings framework.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - the settings object for which the <A HREF="../../../../org/archive/crawler/settings/DataContainer.html" title="class in org.archive.crawler.settings"><CODE>DataContainer</CODE></A>                 is active.<DD><CODE>key</CODE> - the key to look for.<DT><B>Returns:</B><DD>the active DataContainer.<DT><B>Throws:</B><DD><CODE>javax.management.AttributeNotFoundException</CODE></DL></DD></DL><HR><A NAME="getSettingsHandler()"><!-- --></A><H3>getSettingsHandler</H3><PRE>public <A HREF="../../../../org/archive/crawler/settings/SettingsHandler.html" title="class in org.archive.crawler.settings">SettingsHandler</A> <B>getSettingsHandler</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getAbsoluteName()"><!-- --></A><H3>getAbsoluteName</H3><PRE>public java.lang.String <B>getAbsoluteName</B>()</PRE><DL><DD>Get the absolute name of this ComplexType. The absolute name is like a file path with the name of the element

⌨️ 快捷键说明

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