Java Doc for FeatureFactory.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.FeatureFactory

FeatureFactory
public class FeatureFactory (Code)
This factory offers methods for creating Features, FeatureCollection and all direct related classes/interfaces that are part of the org.deegree.model.feature package.
author:
   Andreas Poth
author:
   last edited by: $Author: rbezema $
version:
   $Revision: 10397 $, $Date: 2008-03-04 08:18:07 -0800 (Tue, 04 Mar 2008) $




Method Summary
public static  FeaturecreateFeature(String id, FeatureType featureType, FeatureProperty[] properties)
     creates an instance of a Feature from its FeatureType and an array of Objects that represents it properties.
public static  FeaturecreateFeature(String id, FeatureType featureType, List<FeatureProperty> properties)
     creates an instance of a Feature from its FeatureType and an array of Objects that represents it properties.
public static  FeatureCollectioncreateFeatureCollection(String id, int initialCapacity)
     creates an instance of a FeatureCollection with an initial capacity.
public static  FeatureCollectioncreateFeatureCollection(String id, Feature[] features)
     creates an instance of a FeatureCollection from an array of Features.
public static  FeatureCollectioncreateFeatureCollection(String id, Feature[] features, QualifiedName qName)
     creates an instance of a FeatureCollection from an array of Features.
public static  FeatureTupleCollectioncreateFeatureCollection(String id, List<Feature[]> featureTuples, int tupleLength)
     Creates a FeatureTupleCollection for the given feature tuples.
public static  FeaturePropertycreateFeatureProperty(QualifiedName name, Object value)
    
public static  FeaturePropertycreateFeatureProperty(String name, Object value)
    
public static  FeaturePropertyTypecreateFeaturePropertyType(QualifiedName name, int minOccurs, int maxOccurs)
     Creates an instance of a FeaturePropertyType from the given parameters.
public static  FeatureTypecreateFeatureType(QualifiedName name, boolean isAbstract, PropertyType[] properties)
    
public static  FeatureTypecreateFeatureType(String name, boolean isAbstract, PropertyType[] properties)
    
public static  FeatureTypecreateFeatureType(QualifiedName name, boolean isAbstract, URI schemaLocation, PropertyType[] properties)
    
public static  FeatureTypecreateFeatureType(String name, boolean isAbstract, URI schemaLocation, PropertyType[] properties)
    
public static  GeometryPropertyTypecreateGeometryPropertyType(QualifiedName name, QualifiedName typeName, int minOccurs, int maxOccurs)
     Creates an instance of a GeometryPropertyType from the given parameters.
public static  PropertyTypecreatePropertyType(QualifiedName name, QualifiedName typeName, boolean nullable)
     Creates an instance of a PropertyType from the given parameters.
public static  PropertyTypecreatePropertyType(QualifiedName name, QualifiedName typeName, int minOccurs, int maxOccurs)
     Creates an instance of a PropertyType from the given parameters.
public static  PropertyTypecreateSimplePropertyType(QualifiedName name, int typeCode, boolean nullable)
     Creates an instance of a SimplePropertyType from the given parameters.
public static  SimplePropertyTypecreateSimplePropertyType(QualifiedName name, int typeCode, int minOccurs, int maxOccurs)
     Creates an instance of a SimplePropertyType from the given parameters.
public static  intdeterminePropertyType(QualifiedName typeName)
     Determines the type code for the given type name.



Method Detail
createFeature
public static Feature createFeature(String id, FeatureType featureType, FeatureProperty[] properties)(Code)
creates an instance of a Feature from its FeatureType and an array of Objects that represents it properties. It is assumed that the order of the properties is identical to the order of the FeatureTypeProperties of the the FeatureType.
Parameters:
  id - unique id of the Feature
Parameters:
  featureType - FeatureType of the Feature
Parameters:
  properties - properties (content) of the Feature instance of a Feature



createFeature
public static Feature createFeature(String id, FeatureType featureType, List<FeatureProperty> properties)(Code)
creates an instance of a Feature from its FeatureType and an array of Objects that represents it properties. It is assumed that the order of the properties is identical to the order of the FeatureTypeProperties of the the FeatureType.
Parameters:
  id - unique id of the Feature
Parameters:
  featureType - FeatureType of the Feature
Parameters:
  properties - properties (content) of the Feature instance of a Feature



createFeatureCollection
public static FeatureCollection createFeatureCollection(String id, int initialCapacity)(Code)
creates an instance of a FeatureCollection with an initial capacity. The returned FeatureCollection doesn't have a FeatureType nor properties. It is just a collection of Features.
Parameters:
  id - unique id of the FeatureCollection
Parameters:
  initialCapacity - initial capacity of the FeatureCollection instance of an empty FeatureCollection



createFeatureCollection
public static FeatureCollection createFeatureCollection(String id, Feature[] features)(Code)
creates an instance of a FeatureCollection from an array of Features. The returned FeatureCollection doesn't have a FeatureType nor properties. It is just a collection of Features.
Parameters:
  id - unique id of the FeatureCollection instance
Parameters:
  features - Features to fill in into the FeatureCollection instance of a FeatureCollection containing the submitted features



createFeatureCollection
public static FeatureCollection createFeatureCollection(String id, Feature[] features, QualifiedName qName)(Code)
creates an instance of a FeatureCollection from an array of Features. The returned FeatureCollection doesn't have a FeatureType nor properties. It is just a collection of Features. With it's name set to the given qualifiedName
Parameters:
  id - unique id of the FeatureCollection instance
Parameters:
  features - Features to fill in into the FeatureCollection
Parameters:
  qName - name of the featureCollection instance of a FeatureCollection containing the submitted features



createFeatureCollection
public static FeatureTupleCollection createFeatureCollection(String id, List<Feature[]> featureTuples, int tupleLength)(Code)
Creates a FeatureTupleCollection for the given feature tuples.
Parameters:
  id - id for the FeatureCollection instance
Parameters:
  featureTuples - list of feature tuples (array length must match tupleLength parameter)
Parameters:
  tupleLength - number of features per tuple FeatureTupleCollection containing the given feature tuples



createFeatureProperty
public static FeatureProperty createFeatureProperty(QualifiedName name, Object value)(Code)
creates an instance of a FeatureProperty from its name and the data (value) it contains
Parameters:
  name - name of the FeatureProperty an instance of a FeatureProperty
Parameters:
  value - value of the FeatureProperty



createFeatureProperty
public static FeatureProperty createFeatureProperty(String name, Object value)(Code)
creates an instance of a FeatureProperty from its name and the data (value) it contains
Parameters:
  name - name of the FeatureProperty an instance of a FeatureProperty
Parameters:
  value - value of the FeaturePropertyFeatureFactory.createFeatureProperty(QualifiedName,Object)



createFeaturePropertyType
public static FeaturePropertyType createFeaturePropertyType(QualifiedName name, int minOccurs, int maxOccurs)(Code)
Creates an instance of a FeaturePropertyType from the given parameters.
Parameters:
  name - name of the property type
Parameters:
  typeName - of the property type
Parameters:
  minOccurs -
Parameters:
  maxOccurs - generated FeaturePropertyType instance
See Also:   Types



createFeatureType
public static FeatureType createFeatureType(QualifiedName name, boolean isAbstract, PropertyType[] properties)(Code)
creates an instance of a FeatureType from an array of FeatureTypeProperties, and its name but without parents and childs
Parameters:
  name - name of the FeatureType
Parameters:
  isAbstract - true if the feature type to create is abstract, falseotherwise
Parameters:
  properties - properties containing the FeatureTypes content instance of a FeatureType



createFeatureType
public static FeatureType createFeatureType(String name, boolean isAbstract, PropertyType[] properties)(Code)
creates an instance of a FeatureType from an array of FeatureTypeProperties, and its name but without parents and childs
Parameters:
  name - name of the FeatureType
Parameters:
  isAbstract - true if the feature type to create is abstract, falseotherwise
Parameters:
  properties - properties containing the FeatureTypes content instance of a FeatureType



createFeatureType
public static FeatureType createFeatureType(QualifiedName name, boolean isAbstract, URI schemaLocation, PropertyType[] properties)(Code)
creates an instance of a FeatureType from an array of FeatureTypeProperties, and its name but without parents and childs
Parameters:
  name - name of the FeatureType
Parameters:
  isAbstract - true if the feature type to create is abstract, falseotherwise
Parameters:
  schemaLocation -
Parameters:
  properties - properties containing the FeatureTypes content instance of a FeatureType



createFeatureType
public static FeatureType createFeatureType(String name, boolean isAbstract, URI schemaLocation, PropertyType[] properties)(Code)
creates an instance of a FeatureType from an array of FeatureTypeProperties, and its name but without parents and childs
Parameters:
  name - name of the FeatureType
Parameters:
  isAbstract - true if the feature type to create is abstract, falseotherwise
Parameters:
  schemaLocation -
Parameters:
  properties - properties containing the FeatureTypes content instance of a FeatureType



createGeometryPropertyType
public static GeometryPropertyType createGeometryPropertyType(QualifiedName name, QualifiedName typeName, int minOccurs, int maxOccurs)(Code)
Creates an instance of a GeometryPropertyType from the given parameters.
Parameters:
  name - name of the property type
Parameters:
  typeName - typeName of the property type
Parameters:
  minOccurs -
Parameters:
  maxOccurs - generated GeometryPropertyType instance
See Also:   Types



createPropertyType
public static PropertyType createPropertyType(QualifiedName name, QualifiedName typeName, boolean nullable) throws UnknownTypeException(Code)
Creates an instance of a PropertyType from the given parameters.

Determines the right type from the given type name.
Parameters:
  name - name of the property type
Parameters:
  typeName - type name of the property type
Parameters:
  nullable - set to true, if property type may be omitted corresponding PropertyType instance
throws:
  UnknownTypeException -




createPropertyType
public static PropertyType createPropertyType(QualifiedName name, QualifiedName typeName, int minOccurs, int maxOccurs) throws UnknownTypeException(Code)
Creates an instance of a PropertyType from the given parameters.

Determines the right type from the given type name.
Parameters:
  name - name of the property type
Parameters:
  typeName - type name of the property type
Parameters:
  minOccurs -
Parameters:
  maxOccurs - corresponding PropertyType instance
throws:
  UnknownTypeException -




createSimplePropertyType
public static PropertyType createSimplePropertyType(QualifiedName name, int typeCode, boolean nullable)(Code)
Creates an instance of a SimplePropertyType from the given parameters.
Parameters:
  name - name of the property type
Parameters:
  typeCode - type code of the property type
Parameters:
  nullable - set to true, if property type may be omitted generated SimplePropertyType instance
See Also:   Types



createSimplePropertyType
public static SimplePropertyType createSimplePropertyType(QualifiedName name, int typeCode, int minOccurs, int maxOccurs)(Code)
Creates an instance of a SimplePropertyType from the given parameters.
Parameters:
  name - name of the property type
Parameters:
  typeCode - type code of the property type
Parameters:
  minOccurs -
Parameters:
  maxOccurs - generated SimplePropertyType instance
See Also:   Types



determinePropertyType
public static int determinePropertyType(QualifiedName typeName) throws UnknownTypeException(Code)
Determines the type code for the given type name.
Parameters:
  typeName - name to determine type code for the given type name
throws:
  UnknownTypeException - if the type name cannot be determined
See Also:   Types



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.