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


org.geotools.styling.FeatureTypeStyle

All known Subclasses:   org.geotools.styling.FeatureTypeStyleImpl,
FeatureTypeStyle
public interface FeatureTypeStyle extends GTComponent(Code)
How to style a feature type. This is introduced as a convenient package that can be used independently for feature types, for example in GML Default Styling. The "layer" concept is discarded inside of this element and all processing is relative to feature types. The FeatureTypeName is allowed to be optional, but only one feature type may be in context and it must match the syntax and semantics of all attribute references inside of the FeatureTypeStyle.

The details of this object are taken from the OGC Styled-Layer Descriptor Report (OGC 02-070) version 1.0.0.:


 <xsd:element name="FeatureTypeStyle">
 <xsd:annotation>
 <xsd:documentation>
 A FeatureTypeStyle contains styling information specific to one
 feature type.  This is the SLD level that separates the 'layer'
 handling from the 'feature' handling.
 </xsd:documentation>
 </xsd:annotation>
 <xsd:complexType>
 <xsd:sequence>
 <xsd:element ref="sld:Name" minOccurs="0"/>
 <xsd:element ref="sld:Title" minOccurs="0"/>
 <xsd:element ref="sld:Abstract" minOccurs="0"/>
 <xsd:element ref="sld:FeatureTypeName" minOccurs="0"/>
 <xsd:element ref="sld:SemanticTypeIdentifier" minOccurs="0"
 maxOccurs="unbounded"/>
 <xsd:element ref="sld:Rule" maxOccurs="unbounded"/>
 </xsd:sequence>
 </xsd:complexType>
 </xsd:element>
 

version:
   $Id: FeatureTypeStyle.java 22294 2006-10-20 00:55:40Z desruisseaux $
author:
   James Macgill, CCG




Method Summary
 voidaccept(StyleVisitor visitor)
    
 voidaddRule(Rule rule)
    
public  StringgetAbstract()
    
 StringgetFeatureTypeName()
     Only features with the type name returned by this method should be styled by this feature type styler.
public  StringgetName()
    
 Rule[]getRules()
     Rules govern the appearance of any given feature to be styled by this styler.
 String[]getSemanticTypeIdentifiers()
     The SemanticTypeIdentifiers is experimental and is intended to be used to identify, using a community-controlled name(s), what the style is suitable to be used for. For example, a single style may be suitable to use with many different feature types.
public  StringgetTitle()
    
 Listrules()
     Rules govern the appearance of any given feature to be styled by this styler.
 voidsetAbstract(String abstractStr)
    
 voidsetFeatureTypeName(String name)
     Sets the type name of the features that this styler should be applied to.
 voidsetName(String name)
    
 voidsetRules(Rule[] rules)
     Rules govern the appearance of any given feature to be styled by this styler.
 voidsetSemanticTypeIdentifiers(String[] types)
     The SemanticTypeIdentifiers is experimental and is intended to be used to identify, using a community-controlled name(s), what the style is suitable to be used for. For example, a single style may be suitable to use with many different feature types.
 voidsetTitle(String title)
    



Method Detail
accept
void accept(StyleVisitor visitor)(Code)



addRule
void addRule(Rule rule)(Code)



getAbstract
public String getAbstract()(Code)



getFeatureTypeName
String getFeatureTypeName()(Code)
Only features with the type name returned by this method should be styled by this feature type styler. The name of types that this styler applies to



getName
public String getName()(Code)



getRules
Rule[] getRules()(Code)
Rules govern the appearance of any given feature to be styled by this styler. Each rule contains conditions based on scale and feature attribute values. In addition, rules contain the symbolizers which should be applied when the rule holds true.
version:
   SLD 1.0
version:
   SLD 1.0.20 TODO: GeoAPI getRules(): List The full set of rules contained in this styler.



getSemanticTypeIdentifiers
String[] getSemanticTypeIdentifiers()(Code)
The SemanticTypeIdentifiers is experimental and is intended to be used to identify, using a community-controlled name(s), what the style is suitable to be used for. For example, a single style may be suitable to use with many different feature types. The syntax of the SemanticTypeIdentifiers string is undefined, but the strings "generic:line_string", "generic:polygon", "generic:point", "generic:text", "generic:raster", and "generic:any" are reserved to indicate that a FeatureTypeStyle may be used with any feature type with the corresponding default geometry type (i.e., no feature properties are referenced in the feature type style). An array of strings representing systematic types whichcould be styled by this instance.



getTitle
public String getTitle()(Code)



rules
List rules()(Code)
Rules govern the appearance of any given feature to be styled by this styler.

This is *the* list being used to mange the rules!


since:
   GeoTools 2.2.M3, GeoAPI 2.0



setAbstract
void setAbstract(String abstractStr)(Code)



setFeatureTypeName
void setFeatureTypeName(String name)(Code)
Sets the type name of the features that this styler should be applied to.
Parameters:
  name - The TypeName of the features to be styled by this instance.



setName
void setName(String name)(Code)



setRules
void setRules(Rule[] rules)(Code)
Rules govern the appearance of any given feature to be styled by this styler. Each rule contains conditions based on scale and feature attribute values. In addition, rules contain the symbolizers which should be applied when the rule holds true.
Parameters:
  rules - The set of rules to be set for this styler.



setSemanticTypeIdentifiers
void setSemanticTypeIdentifiers(String[] types)(Code)
The SemanticTypeIdentifiers is experimental and is intended to be used to identify, using a community-controlled name(s), what the style is suitable to be used for. For example, a single style may be suitable to use with many different feature types. The syntax of the SemanticTypeIdentifiers string is undefined, but the strings "generic:line_string", "generic:polygon", "generic:point", "generic:text", "generic:raster", and "generic:any" are reserved to indicate that a FeatureTypeStyle may be used with any feature type with the corresponding default geometry type (i.e., no feature properties are referenced in the feature type style).
Parameters:
  types - An array of strings representing systematic types whichcould be styled by this instance.



setTitle
void setTitle(String title)(Code)



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