Java Doc for ArraySimpleFeatureFactory.java in  » GIS » GeoTools-2.4.1 » org » geotools » feature » iso » simple » 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.iso.simple 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.geotools.feature.iso.simple.ArraySimpleFeatureFactory

ArraySimpleFeatureFactory
public class ArraySimpleFeatureFactory implements SimpleFeatureFactory(Code)
A SimpleFeatureFactory that produces an implementation that directly wraps an array of object values.

This implementation is designed to be as close to the previous geotools DefaultFeature implementation as possible while still meeting the requirements of the GeoAPI feature model.

This implementation is marked as a SimpleFeature (as it is only capable of storing directly bound Types with no multiplicity.

Although the use of SimpleFeatureFactory is straight forward and direct we have chosen to implement FeatureFactory as well, this allows any and all code to work with SimpleFeatures (as a SimpleFeatureType by definition will only describe content that can be created via this factory).


author:
   Jody


Field Summary
 CRSFactorycrsFactory
     Q: Why do I need this? I am not making content? only holding it.
 GeometryFactorygf
     Q: Why do I need this? I am not making content? only holding it.


Method Summary
public  AssociationcreateAssociation(Attribute arg0, AssociationDescriptor arg1)
    
public  AssociationDescriptorcreateAssociationDescriptor(AssociationType associationType, Name name, int min, int max)
     Create a stub associations descriptor, will be used as a parameter to by createFeatureCollectio

This is only used by generic feature model code following a SimpleFeatureCollectionType to the letter, we will unwrap the create association and make use of the reference type directly.

public  AttributecreateAttribute(Object arg0, AttributeDescriptor arg1, String arg2)
    
public  AttributeDescriptorcreateAttributeDescriptor(AttributeType arg0, Name arg1, int arg2, int arg3, boolean arg4)
    
public  BooleanAttributecreateBooleanAttribute(Boolean arg0, AttributeDescriptor arg1)
    
public  ComplexAttributecreateComplexAttribute(Collection arg0, AttributeDescriptor arg1, String arg2)
    
public  ComplexAttributecreateComplexAttribute(Collection arg0, ComplexType arg1, String arg2)
    
public  FeaturecreateFeature(Collection arg0, AttributeDescriptor arg1, String arg2)
    
public  FeaturecreateFeature(Collection values, FeatureType type, String id)
    
public  FeatureCollectioncreateFeatureCollection(Collection arg0, AttributeDescriptor arg1, String arg2)
    
public  FeatureCollectioncreateFeatureCollection(Collection properties, FeatureCollectionType type, String id)
    
public  GeometryAttributecreateGeometryAttribute(Object arg0, AttributeDescriptor arg1, String arg2, CoordinateReferenceSystem arg3)
    
public  NumericAttributecreateNumericAttribute(Number arg0, AttributeDescriptor arg1)
    
public  SimpleFeaturecreateSimpleFeature(SimpleFeatureType type, String fid, Object[] values)
     Direct creation of a SimpleFeature from a provided SimpleFeatureType, it is understood that the provided array of values maps directly to the attribute descriptors in the provided type.
public  SimpleFeaturecreateSimpleFeature(List attributes, SimpleFeatureType type, String id)
    
public  SimpleFeatureCollectioncreateSimpleFeatureCollection(SimpleFeatureCollectionType type, String fid)
     Constructs a MemorySimpleFeatureCollection, not often used as datastores will provide a custom collection (for an example see PostGIS).
public  SimpleFeatureCollectioncreateSimpleFeatureCollection(AttributeDescriptor descriptor, String arg1)
    
public  TemporalAttributecreateTemporalAttribute(Date arg0, AttributeDescriptor arg1)
    
public  TextAttributecreateTextAttribute(CharSequence arg0, AttributeDescriptor arg1)
    
public  CRSFactorygetCRSFactory()
    
public  GeometryFactorygetGeometryFactory()
    
public  voidsetCRSFactory(CRSFactory factory)
    
public  voidsetGeometryFactory(GeometryFactory geometryFactory)
    

Field Detail
crsFactory
CRSFactory crsFactory(Code)
Q: Why do I need this? I am not making content? only holding it. A: Anyone producing may need this.



gf
GeometryFactory gf(Code)
Q: Why do I need this? I am not making content? only holding it. A: Anyone producing may need this.





Method Detail
createAssociation
public Association createAssociation(Attribute arg0, AssociationDescriptor arg1)(Code)



createAssociationDescriptor
public AssociationDescriptor createAssociationDescriptor(AssociationType associationType, Name name, int min, int max)(Code)
Create a stub associations descriptor, will be used as a parameter to by createFeatureCollectio

This is only used by generic feature model code following a SimpleFeatureCollectionType to the letter, we will unwrap the create association and make use of the reference type directly.




createAttribute
public Attribute createAttribute(Object arg0, AttributeDescriptor arg1, String arg2)(Code)



createAttributeDescriptor
public AttributeDescriptor createAttributeDescriptor(AttributeType arg0, Name arg1, int arg2, int arg3, boolean arg4)(Code)



createBooleanAttribute
public BooleanAttribute createBooleanAttribute(Boolean arg0, AttributeDescriptor arg1)(Code)



createComplexAttribute
public ComplexAttribute createComplexAttribute(Collection arg0, AttributeDescriptor arg1, String arg2)(Code)



createComplexAttribute
public ComplexAttribute createComplexAttribute(Collection arg0, ComplexType arg1, String arg2)(Code)



createFeature
public Feature createFeature(Collection arg0, AttributeDescriptor arg1, String arg2)(Code)



createFeature
public Feature createFeature(Collection values, FeatureType type, String id)(Code)



createFeatureCollection
public FeatureCollection createFeatureCollection(Collection arg0, AttributeDescriptor arg1, String arg2)(Code)



createFeatureCollection
public FeatureCollection createFeatureCollection(Collection properties, FeatureCollectionType type, String id)(Code)



createGeometryAttribute
public GeometryAttribute createGeometryAttribute(Object arg0, AttributeDescriptor arg1, String arg2, CoordinateReferenceSystem arg3)(Code)



createNumericAttribute
public NumericAttribute createNumericAttribute(Number arg0, AttributeDescriptor arg1)(Code)



createSimpleFeature
public SimpleFeature createSimpleFeature(SimpleFeatureType type, String fid, Object[] values)(Code)
Direct creation of a SimpleFeature from a provided SimpleFeatureType, it is understood that the provided array of values maps directly to the attribute descriptors in the provided type.
Parameters:
  type - SimpleFeatureType of the created Feature, non null
Parameters:
  id - To be used as the Feature ID for the created Feature, non null
Parameters:
  values - Attribute values for the created feature, if nullthe created feature will be empty



createSimpleFeature
public SimpleFeature createSimpleFeature(List attributes, SimpleFeatureType type, String id)(Code)



createSimpleFeatureCollection
public SimpleFeatureCollection createSimpleFeatureCollection(SimpleFeatureCollectionType type, String fid)(Code)
Constructs a MemorySimpleFeatureCollection, not often used as datastores will provide a custom collection (for an example see PostGIS).
Parameters:
  type - Type of the collection being created, non null
Parameters:
  id - Feature ID of the collection being created, non null
Parameters:
  contents - Initial contents (ie Collection<SimpleFeatures>) ornull



createSimpleFeatureCollection
public SimpleFeatureCollection createSimpleFeatureCollection(AttributeDescriptor descriptor, String arg1)(Code)



createTemporalAttribute
public TemporalAttribute createTemporalAttribute(Date arg0, AttributeDescriptor arg1)(Code)



createTextAttribute
public TextAttribute createTextAttribute(CharSequence arg0, AttributeDescriptor arg1)(Code)



getCRSFactory
public CRSFactory getCRSFactory()(Code)



getGeometryFactory
public GeometryFactory getGeometryFactory()(Code)



setCRSFactory
public void setCRSFactory(CRSFactory factory)(Code)



setGeometryFactory
public void setGeometryFactory(GeometryFactory geometryFactory)(Code)



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.