Java Doc for FeatureTypeFactory.java in  » GIS » GeoTools-2.4.1 » org » geotools » feature » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » GeoTools 2.4.1 » org.geotools.feature 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.geotools.feature.FeatureTypes
      org.geotools.feature.FeatureTypeBuilder
         org.geotools.feature.FeatureTypeFactory

All known Subclasses:   org.geotools.feature.DefaultFeatureTypeFactory,
FeatureTypeFactory
abstract public class FeatureTypeFactory extends FeatureTypeBuilder (Code)
Replaced with use of FeatureTypeBuilder to follow standard pattern naming conventions.
author:
   Ian Schneider
version:
   $Id: FeatureTypeFactory.java 22347 2006-10-24 01:57:23Z jdeolive $



Constructor Summary
public  FeatureTypeFactory()
     An empty public constructor.

Method Summary
public static  FeatureTypeFactorycreateTemplate(FeatureType original)
     Create a FeatureTypeFactory which contains all of the AttributeTypes from the given FeatureType.
public static  FeatureTypenewFeatureType(AttributeType[] types, String name, URI ns, boolean isAbstract, FeatureType[] superTypes)
     The most specific way to create a new FeatureType.
Parameters:
  types - The AttributeTypes to create the FeatureType with.
Parameters:
  name - The typeName of the FeatureType.
public static  FeatureTypenewFeatureType(AttributeType[] types, String name, URI ns, boolean isAbstract, FeatureType[] superTypes, AttributeType defaultGeometry)
     The most specific way to create a new FeatureType.
Parameters:
  types - The AttributeTypes to create the FeatureType with.
Parameters:
  name - The typeName of the FeatureType.
public static  FeatureTypenewFeatureType(AttributeType[] types, String name, URI ns, boolean isAbstract, FeatureType[] superTypes, GeometryAttributeType defaultGeometry)
     The most specific way to create a new FeatureType.
Parameters:
  types - The AttributeTypes to create the FeatureType with.
Parameters:
  name - The typeName of the FeatureType.
public static  FeatureTypenewFeatureType(AttributeType[] types, String name, URI ns, boolean isAbstract)
     Create a new FeatureType with the given AttributeTypes.
public static  FeatureTypenewFeatureType(AttributeType[] types, String name, URI ns)
     Create a new FeatureType with the given AttributeTypes.
public static  FeatureTypenewFeatureType(AttributeType[] types, String name)
     Create a new FeatureType with the given AttributeTypes.
public static synchronized  FeatureTypeFactorynewInstance(String name)
     Create a new FeatureTypeFactory with the given typeName.
Parameters:
  name - The typeName of the feature to create.
public  StringtoString()
     Returns a string representation of this factory.


Constructor Detail
FeatureTypeFactory
public FeatureTypeFactory()(Code)
An empty public constructor. Subclasses should not provide a constructor.




Method Detail
createTemplate
public static FeatureTypeFactory createTemplate(FeatureType original) throws FactoryRegistryException(Code)
Create a FeatureTypeFactory which contains all of the AttributeTypes from the given FeatureType. This is simply a convenience method for
 FeatureTypeFactory factory = FeatureTypeFactory.newInstace();
 factory.importType(yourTypeHere); 
 factory.setName(original.getName());
 factory.setNamespace(original.getNamespace());
 factory.setNillable(original.isNillable());
 factory.setDefaultGeometry(original.getDefaultGeometry()); 
 

Parameters:
  original - The FeatureType to obtain information from. A new FeatureTypeFactory which is initialized with the state ofthe original FeatureType.
throws:
  FactoryRegistryException - If a FeatureTypeFactory cannot befound.



newFeatureType
public static FeatureType newFeatureType(AttributeType[] types, String name, URI ns, boolean isAbstract, FeatureType[] superTypes) throws FactoryRegistryException, SchemaException(Code)
The most specific way to create a new FeatureType.
Parameters:
  types - The AttributeTypes to create the FeatureType with.
Parameters:
  name - The typeName of the FeatureType. Required, may not be null.
Parameters:
  ns - The namespace of the FeatureType. Optional, may be null.
Parameters:
  isAbstract - True if this created type should be abstract.
Parameters:
  superTypes - A Collection of types the FeatureType will inheritfrom. Currently, all types inherit from feature in the opengisnamespace. A new FeatureType created from the given arguments.
throws:
  FactoryConfigurationError - If there are problems creating afactory.
throws:
  SchemaException - If the AttributeTypes provided are invalid insome way.



newFeatureType
public static FeatureType newFeatureType(AttributeType[] types, String name, URI ns, boolean isAbstract, FeatureType[] superTypes, AttributeType defaultGeometry) throws FactoryRegistryException, SchemaException(Code)
The most specific way to create a new FeatureType.
Parameters:
  types - The AttributeTypes to create the FeatureType with.
Parameters:
  name - The typeName of the FeatureType. Required, may not be null.
Parameters:
  ns - The namespace of the FeatureType. Optional, may be null.
Parameters:
  isAbstract - True if this created type should be abstract.
Parameters:
  superTypes - A Collection of types the FeatureType will inheritfrom. Currently, all types inherit from feature in the opengisnamespace. A new FeatureType created from the given arguments.
throws:
  FactoryRegistryException - If there are problems creating afactory.
throws:
  SchemaException - If the AttributeTypes provided are invalid insome way.



newFeatureType
public static FeatureType newFeatureType(AttributeType[] types, String name, URI ns, boolean isAbstract, FeatureType[] superTypes, GeometryAttributeType defaultGeometry) throws FactoryRegistryException, SchemaException(Code)
The most specific way to create a new FeatureType.
Parameters:
  types - The AttributeTypes to create the FeatureType with.
Parameters:
  name - The typeName of the FeatureType. Required, may not be null.
Parameters:
  ns - The namespace of the FeatureType. Optional, may be null.
Parameters:
  isAbstract - True if this created type should be abstract.
Parameters:
  superTypes - A Collection of types the FeatureType will inheritfrom. Currently, all types inherit from feature in the opengisnamespace. A new FeatureType created from the given arguments.
throws:
  FactoryRegistryException - If there are problems creating afactory.
throws:
  SchemaException - If the AttributeTypes provided are invalid insome way.



newFeatureType
public static FeatureType newFeatureType(AttributeType[] types, String name, URI ns, boolean isAbstract) throws FactoryRegistryException, SchemaException(Code)
Create a new FeatureType with the given AttributeTypes. A short cut for calling newFeatureType(types,name,ns,isAbstract,null).
Parameters:
  types - The AttributeTypes to create the FeatureType with.
Parameters:
  name - The typeName of the FeatureType. Required, may not be null.
Parameters:
  ns - The namespace of the FeatureType. Optional, may be null.
Parameters:
  isAbstract - True if this created type should be abstract. A new FeatureType created from the given arguments.
throws:
  FactoryRegistryException - If there are problems creating afactory.
throws:
  SchemaException - If the AttributeTypes provided are invalid insome way.



newFeatureType
public static FeatureType newFeatureType(AttributeType[] types, String name, URI ns) throws FactoryRegistryException, SchemaException(Code)
Create a new FeatureType with the given AttributeTypes. A short cut for calling newFeatureType(types,name,ns,false,null).
Parameters:
  types - The AttributeTypes to create the FeatureType with.
Parameters:
  name - The typeName of the FeatureType. Required, may not be null.
Parameters:
  ns - The namespace of the FeatureType. Optional, may be null. A new FeatureType created from the given arguments.
throws:
  FactoryRegistryException - If there are problems creating afactory.
throws:
  SchemaException - If the AttributeTypes provided are invalid insome way.



newFeatureType
public static FeatureType newFeatureType(AttributeType[] types, String name) throws FactoryRegistryException, SchemaException(Code)
Create a new FeatureType with the given AttributeTypes. A short cut for calling newFeatureType(types,name,null,false,null). Useful for test cases or datasources which may not allow a namespace.
Parameters:
  types - The AttributeTypes to create the FeatureType with.
Parameters:
  name - The typeName of the FeatureType. Required, may not be null. A new FeatureType created from the given arguments.
throws:
  FactoryRegistryException - If there are problems creating afactory.
throws:
  SchemaException - If the AttributeTypes provided are invalid insome way.



newInstance
public static synchronized FeatureTypeFactory newInstance(String name) throws FactoryRegistryException(Code)
Create a new FeatureTypeFactory with the given typeName.
Parameters:
  name - The typeName of the feature to create. A new FeatureTypeFactory instance.
throws:
  FactoryRegistryException - If there exists a configuration error.



toString
public String toString()(Code)
Returns a string representation of this factory. The string representing this factory.



Fields inherited from org.geotools.feature.FeatureTypeBuilder
Map hints(Code)(Java Doc)

Methods inherited from org.geotools.feature.FeatureTypeBuilder
abstract protected void add(AttributeType type) throws IllegalArgumentException(Code)(Java Doc)
abstract protected void add(int idx, AttributeType type) throws ArrayIndexOutOfBoundsException, IllegalArgumentException(Code)(Java Doc)
protected void addBaseTypes(Set types)(Code)(Java Doc)
final public void addType(AttributeType type) throws NullPointerException, IllegalArgumentException(Code)(Java Doc)
final public void addType(int idx, AttributeType type) throws NullPointerException, IllegalArgumentException, ArrayIndexOutOfBoundsException(Code)(Java Doc)
final public void addTypes(AttributeType[] types) throws NullPointerException, IllegalArgumentException(Code)(Java Doc)
protected void check(AttributeType type)(Code)(Java Doc)
final public boolean contains(AttributeType type)(Code)(Java Doc)
abstract protected FeatureType createFeatureType() throws SchemaException(Code)(Java Doc)
abstract public AttributeType get(int idx) throws ArrayIndexOutOfBoundsException(Code)(Java Doc)
abstract public int getAttributeCount()(Code)(Java Doc)
final protected Set getBuiltinTypes()(Code)(Java Doc)
final public GeometryAttributeType getDefaultGeometry()(Code)(Java Doc)
final public FeatureType getFeatureType() throws SchemaException(Code)(Java Doc)
public Map getImplementationHints()(Code)(Java Doc)
final public String getName()(Code)(Java Doc)
final public URI getNamespace()(Code)(Java Doc)
final public java.util.Collection getSuperTypes()(Code)(Java Doc)
public void importType(FeatureType type, boolean strict) throws IllegalArgumentException(Code)(Java Doc)
public void importType(FeatureType type)(Code)(Java Doc)
final public boolean isAbstract()(Code)(Java Doc)
public static FeatureTypeFactory newInstance(String typeName) throws FactoryConfigurationError(Code)(Java Doc)
abstract protected AttributeType remove(AttributeType type)(Code)(Java Doc)
abstract protected AttributeType remove(int idx) throws ArrayIndexOutOfBoundsException(Code)(Java Doc)
final public void removeAll()(Code)(Java Doc)
final public void removeType(AttributeType type) throws NullPointerException(Code)(Java Doc)
final public void removeType(int idx) throws ArrayIndexOutOfBoundsException(Code)(Java Doc)
abstract protected AttributeType set(int idx, AttributeType type) throws ArrayIndexOutOfBoundsException, IllegalArgumentException(Code)(Java Doc)
final public void setAbstract(boolean a)(Code)(Java Doc)
final public void setDefaultGeometry(GeometryAttributeType defaultGeometry) throws IllegalArgumentException(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void setNamespace(URI namespace)(Code)(Java Doc)
final public void setSuperTypes(java.util.Collection types)(Code)(Java Doc)
final public void setType(int idx, AttributeType type) throws IllegalArgumentException, NullPointerException, ArrayIndexOutOfBoundsException(Code)(Java Doc)
final public void swap(int idx1, int idx2) throws ArrayIndexOutOfBoundsException(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Fields inherited from org.geotools.feature.FeatureTypes
final public static int ANY_LENGTH(Code)(Java Doc)
final public static URI DEFAULT_NAMESPACE(Code)(Java Doc)

Methods inherited from org.geotools.feature.FeatureTypes
public static Set ancestors(FeatureType featureType)(Code)(Java Doc)
public static boolean equals(FeatureType typeA, FeatureType typeB)(Code)(Java Doc)
public static boolean equals(AttributeType attributesA, AttributeType attributesB)(Code)(Java Doc)
public static boolean equals(AttributeType a, AttributeType b)(Code)(Java Doc)
public static boolean equalsAncestors(FeatureType typeA, FeatureType typeB)(Code)(Java Doc)
public static boolean equalsId(FeatureType typeA, FeatureType typeB)(Code)(Java Doc)
public static int getFieldLength(AttributeType type)(Code)(Java Doc)
public static boolean isDecendedFrom(FeatureType featureType, URI namespace, String typeName)(Code)(Java Doc)
public static boolean isDecendedFrom(FeatureType featureType, FeatureType isParentType)(Code)(Java Doc)
public static FeatureType newFeatureType(AttributeType[] types, String name, URI ns, boolean isAbstract, FeatureType[] superTypes) throws FactoryConfigurationError, SchemaException(Code)(Java Doc)
public static FeatureType newFeatureType(AttributeType[] types, String name, URI ns, boolean isAbstract, FeatureType[] superTypes, AttributeType defaultGeometry) throws FactoryConfigurationError, SchemaException(Code)(Java Doc)
public static FeatureType newFeatureType(AttributeType[] types, String name, URI ns, boolean isAbstract, FeatureType[] superTypes, GeometryAttributeType defaultGeometry) throws FactoryConfigurationError, SchemaException(Code)(Java Doc)
public static FeatureType newFeatureType(AttributeType[] types, String name, URI ns, boolean isAbstract) throws FactoryConfigurationError, SchemaException(Code)(Java Doc)
public static FeatureType newFeatureType(AttributeType[] types, String name, URI ns) throws FactoryConfigurationError, SchemaException(Code)(Java Doc)
public static FeatureType newFeatureType(AttributeType[] types, String name) throws FactoryConfigurationError, SchemaException(Code)(Java Doc)
public static FeatureType transform(FeatureType schema, CoordinateReferenceSystem crs) throws SchemaException(Code)(Java Doc)
public static FeatureType transform(FeatureType schema, CoordinateReferenceSystem crs, boolean forceOnlyMissing) throws SchemaException(Code)(Java Doc)
public static Feature transform(Feature feature, FeatureType schema, MathTransform transform) throws MismatchedDimensionException, TransformException, IllegalAttributeException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.