attributetypefactory.html

来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 772 行 · 第 1/4 页

HTML
772 行
字号
<A NAME="createAttributeType(java.lang.String, java.lang.Class, boolean, int, java.lang.Object)"><!-- --></A><H3>createAttributeType</H3><PRE>protected abstract <A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A> <B>createAttributeType</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name,                                                     <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>&nbsp;clazz,                                                     boolean&nbsp;isNillable,                                                     int&nbsp;fieldLength,                                                     <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;defaultValue)</PRE><DL><DD>Create an AttributeType with the given name, Class, nillability,  fieldLength, and provided defaultValue.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the AttributeType to be created.<DD><CODE>clazz</CODE> - The class that objects will validate against.<DD><CODE>isNillable</CODE> - if nulls are allowed in the new type.<DT><B>Returns:</B><DD>the new AttributeType<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 field is not nillable, yet</DL></DD></DL><HR><A NAME="createAttributeType(java.lang.String, java.lang.Class, boolean, org.geotools.filter.Filter, java.lang.Object, java.lang.Object)"><!-- --></A><H3>createAttributeType</H3><PRE>protected abstract <A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A> <B>createAttributeType</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name,                                                     <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>&nbsp;clazz,                                                     boolean&nbsp;isNillable,                                                     <A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A>&nbsp;restriction,                                                     <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;defaultValue,                                                     <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;metadata)</PRE><DL><DD>Create an AttributeType with the given name, Class, nillability,  fieldLength, and provided defaultValue.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the AttributeType to be created.<DD><CODE>clazz</CODE> - The class that objects will validate against.<DD><CODE>isNillable</CODE> - if nulls are allowed in the new type.<DD><CODE>restriction</CODE> - Used to limit the valid values<DT><B>Returns:</B><DD>the new AttributeType<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 field is not nillable, yet</DL></DD></DL><HR><A NAME="createAttributeType(java.lang.String, java.lang.Class, boolean, int)"><!-- --></A><H3>createAttributeType</H3><PRE>protected abstract <A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A> <B>createAttributeType</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name,                                                     <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>&nbsp;clazz,                                                     boolean&nbsp;isNillable,                                                     int&nbsp;fieldLength)</PRE><DL><DD>Create an AttributeType with the given name, Class, nillability, and fieldLength, defering the defaultValue to the type of Attribute.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="createAttributeType(java.lang.String, org.geotools.feature.FeatureType, boolean)"><!-- --></A><H3>createAttributeType</H3><PRE>protected abstract <A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A> <B>createAttributeType</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name,                                                     <A HREF="../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>&nbsp;type,                                                     boolean&nbsp;isNillable)</PRE><DL><DD>Create a Feature AttributeType which holds the a Feature instance which is of the given FeatureType or null if any arbitrary Feature can be held.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the AttributeType to be created.<DD><CODE>type</CODE> - The FeatureType that Features will validate against.<DD><CODE>isNillable</CODE> - if nulls are allowed in the new type.<DT><B>Returns:</B><DD>the new AttributeType</DL></DD></DL><HR><A NAME="createAttributeType(java.lang.String, java.lang.Class, boolean, int, java.lang.Object, java.lang.Object)"><!-- --></A><H3>createAttributeType</H3><PRE>protected abstract <A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A> <B>createAttributeType</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name,                                                     <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>&nbsp;type,                                                     boolean&nbsp;isNillable,                                                     int&nbsp;fieldLength,                                                     <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;defaultValue,                                                     <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;metaData)</PRE><DL><DD>Create a Feature AttributeType which holds the a Feature instance which is of the given FeatureType or null if any arbitrary Feature can be held.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the AttributeType to be created.<DD><CODE>type</CODE> - The FeatureType that Features will validate against.<DD><CODE>isNillable</CODE> - if nulls are allowed in the new type.<DD><CODE>defaultValue</CODE> - default value, may be null if isNilable is true<DD><CODE>metaData</CODE> - metadata for attribute type (such as CoordianteReferenceSystem)<DT><B>Returns:</B><DD>the new AttributeType</DL></DD></DL><HR><A NAME="getImplementationHints()"><!-- --></A><H3>getImplementationHints</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> <B>getImplementationHints</B>()</PRE><DL><DD>Returns the implementation hints. The default implementation returns en empty map.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/factory/Factory.html#getImplementationHints()">getImplementationHints</A></CODE> in interface <CODE><A HREF="../../../org/geotools/factory/Factory.html" title="interface in org.geotools.factory">Factory</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The map of hints, or an <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collections.html#EMPTY_MAP" title="class or interface in java.util">empty map</A>         if none.</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/AttributeTypeFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../org/geotools/feature/AbstractFeatureCollection.html" title="class in org.geotools.feature"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/geotools/feature/AttributeTypes.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>  &nbsp;&nbsp;<A HREF="AttributeTypeFactory.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright &copy; 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>

⌨️ 快捷键说明

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