Java Doc for DefaultFeatureCollection.java in  » GIS » deegree » org » deegree » model » 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 » deegree » org.deegree.model.feature 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.deegree.model.feature.AbstractFeature
      org.deegree.model.feature.AbstractFeatureCollection
         org.deegree.model.feature.DefaultFeatureCollection

DefaultFeatureCollection
class DefaultFeatureCollection extends AbstractFeatureCollection implements Serializable(Code)
This interface provides services for the management of groups of features. These groups can come into being for a number of reasons: e.g. a project as a whole, for the scope of a query, as the result of a query or arbitrarily selected by a user for some common manipulation. A feature's membership of a particular FeatureCollection does not necessarily imply any relationship with other member features. Composite or compound features which own constituent member Features (e.g. an Airport composed of Terminals, Runways, Aprons, Hangars, etc) may also support the FeatureCollection interface to provide a generic means for clients to access constituent members without needing to be aware of the internal implementation details of the compound feature.

-----------------------------------------------------------------------


author:
   Andreas Poth
version:
   $Revision: 10533 $ $Date: 2008-03-10 02:31:08 -0700 (Mon, 10 Mar 2008) $



Constructor Summary
 DefaultFeatureCollection(String id, int initialCapacity)
    
 DefaultFeatureCollection(String id, Feature[] feature)
     constructor for initializing a feature collection with an id and an array of features.
 DefaultFeatureCollection(String id, Feature[] features, QualifiedName qName)
     Constructor for initializing a feature collection with an id and an array of features.

Method Summary
public  voidadd(Feature feature)
     Appends a feature to the collection.
public  voidaddProperty(FeatureProperty property)
    
public  voidclear()
    
public  Objectclone()
     a shallow clone of a feature collection.
public synchronized  EnvelopegetBoundedBy()
    
public  FeaturePropertygetDefaultProperty(PropertyPath path)
    
public  FeaturegetFeature(int index)
     returns the feature that is assigned to the submitted index.
public  FeaturegetFeature(String id)
     returns the feature that is assigned to the submitted id.
public  FeatureTypegetFeatureType()
    
public  Iterator<Feature>iterator()
    
public  Featureremove(Feature feature)
    
public  Featureremove(int index)
     removes a feature identified by its index from the feature collection.
public  voidremoveProperty(QualifiedName propertyName)
    
public  voidreplaceProperty(FeatureProperty oldProperty, FeatureProperty newProperty)
    
public  voidsetProperty(FeatureProperty property, int index)
    
public  intsize()
    
public  Feature[]toArray()
    
public  StringtoString()
    


Constructor Detail
DefaultFeatureCollection
DefaultFeatureCollection(String id, int initialCapacity)(Code)



DefaultFeatureCollection
DefaultFeatureCollection(String id, Feature[] feature)(Code)
constructor for initializing a feature collection with an id and an array of features.



DefaultFeatureCollection
DefaultFeatureCollection(String id, Feature[] features, QualifiedName qName)(Code)
Constructor for initializing a feature collection with an id and an array of features. It's name will be taken from the given name.
Parameters:
  id - of the feature collection
Parameters:
  features - to be added
Parameters:
  qName - of the feature collection, if null the default name of wfs:FeatureCollection will begiven.




Method Detail
add
public void add(Feature feature)(Code)
Appends a feature to the collection. If the submitted feature doesn't matches the feature type defined for all features within the collection an exception will be thrown.



addProperty
public void addProperty(FeatureProperty property)(Code)



clear
public void clear()(Code)



clone
public Object clone()(Code)
a shallow clone of a feature collection. Property values of contained features will not be cloned except for properties that are features (DefaultFeature) or feature collections (DefaultFeatureCollection).



getBoundedBy
public synchronized Envelope getBoundedBy() throws GeometryException(Code)
returns the envelope / boundingbox of the feature collection



getDefaultProperty
public FeatureProperty getDefaultProperty(PropertyPath path) throws PropertyPathResolvingException(Code)



getFeature
public Feature getFeature(int index)(Code)
returns the feature that is assigned to the submitted index. If the submitted value for index is smaller 0 and larger then the number features within the featurecollection-1 an exeption will be thrown.



getFeature
public Feature getFeature(String id)(Code)
returns the feature that is assigned to the submitted id. If no valid feature could be found an Object[] with zero length will be returned.



getFeatureType
public FeatureType getFeatureType()(Code)
the FeatureType of this Feature(Collection)



iterator
public Iterator<Feature> iterator()(Code)
returns an Iterator on the feature contained in a collection an Iterator on the feature contained in a collection



remove
public Feature remove(Feature feature)(Code)
removes the submitted feature from the collection



remove
public Feature remove(int index)(Code)
removes a feature identified by its index from the feature collection. The removed feature will be returned. If the submitted value for index is smaller 0 and larger then the number features within the featurecollection-1 an ArrayIndexOutOfBoundsExcpetion will raise



removeProperty
public void removeProperty(QualifiedName propertyName)(Code)



replaceProperty
public void replaceProperty(FeatureProperty oldProperty, FeatureProperty newProperty)(Code)



setProperty
public void setProperty(FeatureProperty property, int index)(Code)



size
public int size()(Code)
returns the number of features within the collection



toArray
public Feature[] toArray()(Code)
returns an array of all features



toString
public String toString()(Code)



Methods inherited from org.deegree.model.feature.AbstractFeatureCollection
public void addAll(Feature[] feature)(Code)(Java Doc)
public void addAll(FeatureCollection fc)(Code)(Java Doc)
public Geometry getDefaultGeometryPropertyValue()(Code)(Java Doc)
public FeatureProperty getDefaultProperty(QualifiedName name)(Code)(Java Doc)
public Geometry[] getGeometryPropertyValues()(Code)(Java Doc)
public FeatureProperty[] getProperties()(Code)(Java Doc)
public FeatureProperty[] getProperties(int index)(Code)(Java Doc)
public FeatureProperty[] getProperties(QualifiedName name)(Code)(Java Doc)
public Feature remove(String id)(Code)(Java Doc)
public void setProperty(FeatureProperty property)(Code)(Java Doc)

Fields inherited from org.deegree.model.feature.AbstractFeature
protected String description(Code)(Java Doc)
protected Envelope envelope(Code)(Java Doc)
protected boolean envelopeCalculated(Code)(Java Doc)
protected FeatureType featureType(Code)(Java Doc)
protected FeatureProperty owner(Code)(Java Doc)

Methods inherited from org.deegree.model.feature.AbstractFeature
public String getAttribute(String name)(Code)(Java Doc)
public Map<String, String> getAttributes()(Code)(Java Doc)
public Envelope getBoundedBy() throws GeometryException(Code)(Java Doc)
public String getDescription()(Code)(Java Doc)
public FeatureType getFeatureType()(Code)(Java Doc)
public String getId()(Code)(Java Doc)
public QualifiedName getName()(Code)(Java Doc)
public FeatureProperty getOwner()(Code)(Java Doc)
protected void resetBounds()(Code)(Java Doc)
public void setAttribute(String name, String value)(Code)(Java Doc)
public void setEnvelopesUpdated()(Code)(Java Doc)
public void setFeatureType(FeatureType ft)(Code)(Java Doc)
public void setId(String fid)(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.