multiattributetype.html
来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 527 行 · 第 1/2 页
HTML
527 行
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="MultiAttributeType(org.geotools.feature.AttributeType)"><!-- --></A><H3>MultiAttributeType</H3><PRE>public <B>MultiAttributeType</B>(<A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A> validator)</PRE><DL><DD>Constructor with validator.<P><DT><B>Parameters:</B><DD><CODE>validator</CODE> - Name of this attribute.</DL><HR><A NAME="MultiAttributeType(org.geotools.feature.AttributeType, int)"><!-- --></A><H3>MultiAttributeType</H3><PRE>public <B>MultiAttributeType</B>(<A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A> validator, int maxOccur)</PRE><DL><DD>Constructor with validator and maxOccurs<P><DT><B>Parameters:</B><DD><CODE>validator</CODE> - Name of this attribute.<DD><CODE>maxOccur</CODE> - Number of instances of this attribute in the schema.</DL><HR><A NAME="MultiAttributeType(org.geotools.feature.AttributeType, int, int)"><!-- --></A><H3>MultiAttributeType</H3><PRE>public <B>MultiAttributeType</B>(<A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A> validator, int maxOccur, int minOccur)</PRE><DL><DD>Constructor with validator, minOccurs and maxOccurs<P><DT><B>Parameters:</B><DD><CODE>validator</CODE> - Name of this attribute.<DD><CODE>maxOccur</CODE> - Number of instances of this attribute in the schema.<DD><CODE>minOccur</CODE> - Class type of this attribute.</DL><!-- ============ 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="getMaxOccurs()"><!-- --></A><H3>getMaxOccurs</H3><PRE>public int <B>getMaxOccurs</B>()</PRE><DL><DD>Gets the maxOccur of this attribute.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/feature/AttributeType.html#getMaxOccurs()">getMaxOccurs</A></CODE> in interface <CODE><A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/feature/DefaultAttributeType.html#getMaxOccurs()">getMaxOccurs</A></CODE> in class <CODE><A HREF="../../../org/geotools/feature/DefaultAttributeType.html" title="class in org.geotools.feature">DefaultAttributeType</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>MaxOccur.</DL></DD></DL><HR><A NAME="getMinOccurs()"><!-- --></A><H3>getMinOccurs</H3><PRE>public int <B>getMinOccurs</B>()</PRE><DL><DD>Gets the minimum number of elements that pass the validator that must be in the list to validate.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/feature/AttributeType.html#getMinOccurs()">getMinOccurs</A></CODE> in interface <CODE><A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/feature/DefaultAttributeType.html#getMinOccurs()">getMinOccurs</A></CODE> in class <CODE><A HREF="../../../org/geotools/feature/DefaultAttributeType.html" title="class in org.geotools.feature">DefaultAttributeType</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>MaxOccur.</DL></DD></DL><HR><A NAME="isGeometry()"><!-- --></A><H3>isGeometry</H3><PRE>public boolean <B>isGeometry</B>()</PRE><DL><DD>Returns whether the attribute is a geometry. Should this be false? Even if the attributes are geometries? Because this itself isn't actually a geometry, so it can't be used as a geometry.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/feature/DefaultAttributeType.html#isGeometry()">isGeometry</A></CODE> in class <CODE><A HREF="../../../org/geotools/feature/DefaultAttributeType.html" title="class in org.geotools.feature">DefaultAttributeType</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the attribute's type is a geometry.</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>clone</B>() throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/CloneNotSupportedException.html" title="class or interface in java.lang">CloneNotSupportedException</A></PRE><DL><DD>Returns a clone of this object.<P><DD><DL><DT><B>Returns:</B><DD>a copy of this attribute type.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/CloneNotSupportedException.html" title="class or interface in java.lang">CloneNotSupportedException</A></CODE> - if clone is not supported.</DL></DD></DL><HR><A NAME="validate(java.lang.Object)"><!-- --></A><H3>validate</H3><PRE>public void <B>validate</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> attribute) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE><DL><DD>Whether the tested object is a Feature and its attributes validate against the featureType. An IllegalArgumentException reporting the error in validation is thrown if validation fails..<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/feature/AttributeType.html#validate(java.lang.Object)">validate</A></CODE> in interface <CODE><A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/feature/DefaultAttributeType.html#validate(java.lang.Object)">validate</A></CODE> in class <CODE><A HREF="../../../org/geotools/feature/DefaultAttributeType.html" title="class in org.geotools.feature">DefaultAttributeType</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>attribute</CODE> - The object to be tested for validity.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the object does not validate.</DL></DD></DL><HR><A NAME="parse(java.lang.Object)"><!-- --></A><H3>parse</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE><DL><DD>If a single object is passed in then it is parsed into a list with just it as the element. If an array is passed in then it is turned into a list.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/feature/AttributeType.html#parse(java.lang.Object)">parse</A></CODE> in interface <CODE><A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/feature/DefaultAttributeType.html#parse(java.lang.Object)">parse</A></CODE> in class <CODE><A HREF="../../../org/geotools/feature/DefaultAttributeType.html" title="class in org.geotools.feature">DefaultAttributeType</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the object to attempt parsing of.<DT><B>Returns:</B><DD><code>value</code> converted to the preferred storage of this <code>AttributeType</code>. If no parsing was possible then the same object is returned.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if parsing is attempted and is unsuccessful.<DT><B>'TODO:'</B></DT> <DD>REVISIT: implement this method as described in this comment.</DD></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE><DL><DD>Gets a representation of this object as a string.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/feature/DefaultAttributeType.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../org/geotools/feature/DefaultAttributeType.html" title="class in org.geotools.feature">DefaultAttributeType</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A representation of this object as a string</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"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MultiAttributeType.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/geotools/feature/FeatureTypes.html" title="class in org.geotools.feature"><B>PREV CLASS</B></A> <A HREF="../../../org/geotools/feature/Name.html" title="class in org.geotools.feature"><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="MultiAttributeType.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 | <A HREF="#fields_inherited_from_class_DefaultAttributeType">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 © 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?