📄 maptype.html
字号:
throws javax.management.AttributeNotFoundException</PRE><DL><DD>Move an attribute up one place in the list.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>settings</CODE> - the settings object for which this method has effect.<DD><CODE>name</CODE> - name of attribute to move.<DT><B>Returns:</B><DD>true if attribute was moved, false if attribute was already at the top.<DT><B>Throws:</B><DD><CODE>javax.management.AttributeNotFoundException</CODE> - is thrown if there is no attribute with the submitted name.</DL></DD></DL><HR><A NAME="moveElementDown(org.archive.crawler.settings.CrawlerSettings, java.lang.String)"><!-- --></A><H3>moveElementDown</H3><PRE>public boolean <B>moveElementDown</B>(<A HREF="../../../../org/archive/crawler/settings/CrawlerSettings.html" title="class in org.archive.crawler.settings">CrawlerSettings</A> settings, java.lang.String name) throws javax.management.AttributeNotFoundException</PRE><DL><DD>Move an attribute down one place in the list.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>settings</CODE> - the settings object for which this method has effect.<DD><CODE>name</CODE> - name of attribute to move.<DT><B>Returns:</B><DD>true if attribute was moved, false if attribute was already at bottom.<DT><B>Throws:</B><DD><CODE>javax.management.AttributeNotFoundException</CODE> - is thrown if there is no attribute with the submitted name.</DL></DD></DL><HR><A NAME="isEmpty(java.lang.Object)"><!-- --></A><H3>isEmpty</H3><PRE>public boolean <B>isEmpty</B>(java.lang.Object context)</PRE><DL><DD>Returns true if this map is empty.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - the settings object for which this set of elements are valid.<DT><B>Returns:</B><DD>true if this map is empty.</DL></DD></DL><HR><A NAME="size(java.lang.Object)"><!-- --></A><H3>size</H3><PRE>public int <B>size</B>(java.lang.Object context)</PRE><DL><DD>Get the number of elements in this map.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - the settings object for which this set of elements are valid.<DT><B>Returns:</B><DD>the number of elements in this map.</DL></DD></DL><HR><A NAME="getDefinition(java.lang.String)"><!-- --></A><H3>getDefinition</H3><PRE><A HREF="../../../../org/archive/crawler/settings/Type.html" title="class in org.archive.crawler.settings">Type</A> <B>getDefinition</B>(java.lang.String attributeName)</PRE><DL><DD>Get the content type definition for attributes of this map.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/archive/crawler/settings/ComplexType.html#getDefinition(java.lang.String)">getDefinition</A></CODE> in class <CODE><A HREF="../../../../org/archive/crawler/settings/ComplexType.html" title="class in org.archive.crawler.settings">ComplexType</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>attributeName</CODE> - since all attributes of a map are of the same type, this value is not used.<DT><B>Returns:</B><DD>the content type definition for attributes of this map.</DL></DD></DL><HR><A NAME="getContentType()"><!-- --></A><H3>getContentType</H3><PRE>public java.lang.Class <B>getContentType</B>()</PRE><DL><DD>Get the content type allowed for this map.<P><DD><DL><DT><B>Returns:</B><DD>the content type allowed for this map.</DL></DD></DL><HR><A NAME="checkValue(org.archive.crawler.settings.CrawlerSettings, java.lang.String, org.archive.crawler.settings.Type, java.lang.Object)"><!-- --></A><H3>checkValue</H3><PRE><A HREF="../../../../org/archive/crawler/settings/Constraint.FailedCheck.html" title="class in org.archive.crawler.settings">Constraint.FailedCheck</A> <B>checkValue</B>(<A HREF="../../../../org/archive/crawler/settings/CrawlerSettings.html" title="class in org.archive.crawler.settings">CrawlerSettings</A> settings, java.lang.String attributeName, <A HREF="../../../../org/archive/crawler/settings/Type.html" title="class in org.archive.crawler.settings">Type</A> definition, java.lang.Object value)</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/archive/crawler/settings/ComplexType.html#checkValue(org.archive.crawler.settings.CrawlerSettings, java.lang.String, org.archive.crawler.settings.Type, java.lang.Object)">checkValue</A></CODE> in class <CODE><A HREF="../../../../org/archive/crawler/settings/ComplexType.html" title="class in org.archive.crawler.settings">ComplexType</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="addConstraint(org.archive.crawler.settings.Constraint)"><!-- --></A><H3>addConstraint</H3><PRE>public void <B>addConstraint</B>(<A HREF="../../../../org/archive/crawler/settings/Constraint.html" title="class in org.archive.crawler.settings">Constraint</A> constraint)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../org/archive/crawler/settings/Type.html#addConstraint(org.archive.crawler.settings.Constraint)">Type</A></CODE></B></DD><DD>Add a constraint to this type. Every constraint must be fulfilled for a value of this type to be valid.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/archive/crawler/settings/Type.html#addConstraint(org.archive.crawler.settings.Constraint)">addConstraint</A></CODE> in class <CODE><A HREF="../../../../org/archive/crawler/settings/Type.html" title="class in org.archive.crawler.settings">Type</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>constraint</CODE> - the constraint to add.</DL></DD></DL><HR><A NAME="getConstraints()"><!-- --></A><H3>getConstraints</H3><PRE>public java.util.List <B>getConstraints</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../org/archive/crawler/settings/Type.html#getConstraints()">Type</A></CODE></B></DD><DD>Returns a list of constraints for the value of this type.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/archive/crawler/settings/Type.html#getConstraints()">getConstraints</A></CODE> in class <CODE><A HREF="../../../../org/archive/crawler/settings/Type.html" title="class in org.archive.crawler.settings">Type</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Returns the constraints or null if there aren't any.</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="class-use/MapType.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/archive/crawler/settings/LongList.html" title="class in org.archive.crawler.settings"><B>PREV CLASS</B></A> <A HREF="../../../../org/archive/crawler/settings/ModuleAttributeInfo.html" title="class in org.archive.crawler.settings"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/archive/crawler/settings/MapType.html" target="_top"><B>FRAMES</B></A> <A HREF="MapType.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: <A HREF="#nested_classes_inherited_from_class_org.archive.crawler.settings.ComplexType">NESTED</A> | <A HREF="#fields_inherited_from_class_org.archive.crawler.settings.ComplexType">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: FIELD | <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>Copyright © 2003-2006 Internet Archive. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -