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

Schema
public class Schema (Code)
This class contains utility methods focused on the schema represented by the FeatureType data model.

These methods are often used for implementation the convience methods such as FeatureType.getAttributeCount(), although they may be used directly with any FeatureType.

These schema methods are based on the *complete* picture indicated by a FeatureType and its ancestors. Many of these methods are focused on the derivation of AttribtueTypes during an override.


See Also:   FeatureTypes
See Also:   FeatureType
author:
   Jody Garnett
since:
   2.1.0



Constructor Summary
public  Schema()
    
public  Schema(Hints hints)
    
public  Schema(FilterFactory filterFactory)
    

Method Summary
public static  AttributeTypeattribute(FeatureType type, int index)
    
public static  AttributeTypeattribute(FeatureType type, String name)
    
public static  intattributeCount(FeatureType featureType)
     Walk the provided FeatureType and produce a count of distinct attribtues.
public static  Listattributes(FeatureType featureType)
    
public static  Listattributes(FeatureType featureType, List list)
    
public static  intfind(FeatureType type, String name)
    
public  AttributeTypegetAttribute(FeatureType type, int index)
     Look up based on name in the provided position.
public  AttributeTypegetAttribute(FeatureType type, String name)
    
public  intgetAttributeCount(FeatureType featureType)
     Walk the provided FeatureType and produce a count of distinct attribtues.
public  ListgetAttributes(FeatureType featureType)
    
public  ListgetAttributes(FeatureType featureType, List list)
     This order is to be respected, based on Ancestors and so on.
public  intgetIndexOf(FeatureType type, String name)
     Lookup can only really be by name.
public  ListgetNames(FeatureType featureType)
     Does a quick walk to detect only a list of attribute names.

This method does not produce the complete schema (ie derrived restrictions based on attribute facets).

public  ListgetNames(FeatureType featureType, List names)
     This order is to be respected, based on Ancestors and so on.
public  FiltergetRestrictions(FeatureType featureType, String name)
     Query featureType information the complete restrictions for the indicated name.
public  AttributeTypegetXPath(FeatureType type, String xpath)
     Look up based on name in the provided position.
public static  Listnames(FeatureType featureType)
    
public static  Listnames(FeatureType featureType, List names)
    
public static  Filterrestriction(FeatureType featureType, String name)
    
public static  AttributeTypexpath(FeatureType type, String xpath)
    


Constructor Detail
Schema
public Schema()(Code)



Schema
public Schema(Hints hints)(Code)



Schema
public Schema(FilterFactory filterFactory)(Code)




Method Detail
attribute
public static AttributeType attribute(FeatureType type, int index)(Code)



attribute
public static AttributeType attribute(FeatureType type, String name)(Code)



attributeCount
public static int attributeCount(FeatureType featureType)(Code)
Walk the provided FeatureType and produce a count of distinct attribtues.

used to detect duplicate attributes names (ie override)


Parameters:
  featureType -



attributes
public static List attributes(FeatureType featureType)(Code)



attributes
public static List attributes(FeatureType featureType, List list)(Code)



find
public static int find(FeatureType type, String name)(Code)



getAttribute
public AttributeType getAttribute(FeatureType type, int index)(Code)
Look up based on name in the provided position.
Parameters:
  type - the FeatureType
Parameters:
  index - the position



getAttribute
public AttributeType getAttribute(FeatureType type, String name)(Code)



getAttributeCount
public int getAttributeCount(FeatureType featureType)(Code)
Walk the provided FeatureType and produce a count of distinct attribtues.

used to detect duplicate attributes names (ie override)


Parameters:
  featureType -



getAttributes
public List getAttributes(FeatureType featureType)(Code)



getAttributes
public List getAttributes(FeatureType featureType, List list)(Code)
This order is to be respected, based on Ancestors and so on.

This method is "faster" then actually constructing the merged AttribtueTypes.




getIndexOf
public int getIndexOf(FeatureType type, String name)(Code)
Lookup can only really be by name.
Parameters:
  type -



getNames
public List getNames(FeatureType featureType)(Code)
Does a quick walk to detect only a list of attribute names.

This method does not produce the complete schema (ie derrived restrictions based on attribute facets). It is only used to get a list of the unique attribtues in the resulting schema.


Parameters:
  featureType - Set of unique attribute names



getNames
public List getNames(FeatureType featureType, List names)(Code)
This order is to be respected, based on Ancestors and so on.

This method is "faster" then actually constructing the merged AttribtueTypes.




getRestrictions
public Filter getRestrictions(FeatureType featureType, String name)(Code)
Query featureType information the complete restrictions for the indicated name.
Parameters:
  featureType -
Parameters:
  name -



getXPath
public AttributeType getXPath(FeatureType type, String xpath)(Code)
Look up based on name in the provided position.

AttributeType needs a xpath based access


Parameters:
  type -
Parameters:
  xpath -



names
public static List names(FeatureType featureType)(Code)



names
public static List names(FeatureType featureType, List names)(Code)



restriction
public static Filter restriction(FeatureType featureType, String name)(Code)



xpath
public static AttributeType xpath(FeatureType type, String xpath)(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.