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


java.lang.Object
   org.geotools.renderer.style.SLDStyleFactory

SLDStyleFactory
public class SLDStyleFactory (Code)
Factory object that converts SLD style into rendered styles. DJB: I've made a few changes to this. The old behavior was for this class to convert tags to tags. (ie. there never was a LinePlacement option) This is *certainly* not the correct place to do this, and it was doing a very poor job of it too, and the renderer was not expecting it to be doing it! I added support in TextStyle3D for this and had this class correctly set Line/Point placement selection. NOTE: PointPlacement is the default if not present.
author:
   aaime
author:
   dblasby


Field Summary
 MapdynamicSymbolizers
    
static  ImageLoaderimageLoader
    
 MapstaticSymbolizers
    
static  SetsupportedGraphicFormats
    
 MapsvgGlyphs
    
static  SetwellKnownMarks
     Holds the set of well-known marks.


Method Summary
 Style2DcreateDynamicLineStyle(Feature feature, LineSymbolizer symbolizer, Range scaleRange)
    
 Style2DcreateDynamicPolygonStyle(Feature feature, PolygonSymbolizer symbolizer, Range scaleRange)
    
public  Style2DcreateDynamicStyle(Feature f, Symbolizer symbolizer, Range scaleRange)
    
 Style2DcreateLineStyle(Object feature, LineSymbolizer symbolizer, Range scaleRange)
    
 Style2DcreatePointStyle(Object feature, PointSymbolizer symbolizer, Range scaleRange)
    
 Style2DcreatePolygonStyle(Object feature, PolygonSymbolizer symbolizer, Range scaleRange)
    
public  Style2DcreateStyle(Object drawMe, Symbolizer symbolizer, Range scaleRange)
    

Creates a rendered style

Makes use of a symbolizer cache based on identity to avoid recomputing over and over the same style object and to reduce memory usage.

 Style2DcreateTextStyle(Object feature, TextSymbolizer symbolizer, Range scaleRange)
    
protected  CompositegetComposite(Fill fill, Object feature)
    
public  doublegetHitRatio()
    
public  longgetHits()
    
public  doublegetMapScaleDenominator()
     Getter for property mapScaleDenominator.
protected  PaintgetPaint(Fill fill, Object feature)
    
public  longgetRequests()
    
public  TexturePaintgetTexturePaint(org.geotools.styling.Graphic gr, Object feature)
    
public static  intlookUpCap(String capType)
    
public static  intlookUpJoin(String joinType)
    
public  voidsetMapScaleDenominator(double mapScaleDenominator)
     Setter for property mapScaleDenominator.
 voidsetScaleRange(Style style, Range scaleRange)
    

Field Detail
dynamicSymbolizers
Map dynamicSymbolizers(Code)
Symbolizers that depend on attributes



imageLoader
static ImageLoader imageLoader(Code)
Current way to load images



staticSymbolizers
Map staticSymbolizers(Code)
Symbolizers that do not depend on attributes



supportedGraphicFormats
static Set supportedGraphicFormats(Code)
Holds the of graphic formats supported by the current jdk



svgGlyphs
Map svgGlyphs(Code)
Parsed SVG glyphs



wellKnownMarks
static Set wellKnownMarks(Code)
Holds the set of well-known marks.





Method Detail
createDynamicLineStyle
Style2D createDynamicLineStyle(Feature feature, LineSymbolizer symbolizer, Range scaleRange)(Code)



createDynamicPolygonStyle
Style2D createDynamicPolygonStyle(Feature feature, PolygonSymbolizer symbolizer, Range scaleRange)(Code)



createDynamicStyle
public Style2D createDynamicStyle(Feature f, Symbolizer symbolizer, Range scaleRange)(Code)
Creates a rendered style
Parameters:
  f - The feature
Parameters:
  symbolizer - The SLD symbolizer
Parameters:
  scaleRange - The scale range in which the feature should be painted according to thesymbolizer A rendered style equivalent to the symbolizer
throws:
  UnsupportedOperationException - if an unknown symbolizer is passed to this method



createLineStyle
Style2D createLineStyle(Object feature, LineSymbolizer symbolizer, Range scaleRange)(Code)



createPointStyle
Style2D createPointStyle(Object feature, PointSymbolizer symbolizer, Range scaleRange)(Code)



createPolygonStyle
Style2D createPolygonStyle(Object feature, PolygonSymbolizer symbolizer, Range scaleRange)(Code)



createStyle
public Style2D createStyle(Object drawMe, Symbolizer symbolizer, Range scaleRange)(Code)

Creates a rendered style

Makes use of a symbolizer cache based on identity to avoid recomputing over and over the same style object and to reduce memory usage. The same Style2D object will be returned by subsequent calls using the same feature independent symbolizer with the same scaleRange.


Parameters:
  drawMe - The feature
Parameters:
  symbolizer - The SLD symbolizer
Parameters:
  scaleRange - The scale range in which the feature should be painted according to thesymbolizer A rendered style equivalent to the symbolizer



createTextStyle
Style2D createTextStyle(Object feature, TextSymbolizer symbolizer, Range scaleRange)(Code)



getComposite
protected Composite getComposite(Fill fill, Object feature)(Code)
Computes the Composite equivalent to the opacity in the SLD Fill
Parameters:
  fill -
Parameters:
  feature -



getHitRatio
public double getHitRatio()(Code)



getHits
public long getHits()(Code)



getMapScaleDenominator
public double getMapScaleDenominator()(Code)
Getter for property mapScaleDenominator. Value of property mapScaleDenominator.



getPaint
protected Paint getPaint(Fill fill, Object feature)(Code)



getRequests
public long getRequests()(Code)



getTexturePaint
public TexturePaint getTexturePaint(org.geotools.styling.Graphic gr, Object feature)(Code)
DOCUMENT ME!
Parameters:
  gr - DOCUMENT ME!
Parameters:
  feature - DOCUMENT ME! DOCUMENT ME!



lookUpCap
public static int lookUpCap(String capType)(Code)
DOCUMENT ME!
Parameters:
  capType - DOCUMENT ME! DOCUMENT ME!



lookUpJoin
public static int lookUpJoin(String joinType)(Code)
DOCUMENT ME!
Parameters:
  joinType - DOCUMENT ME! DOCUMENT ME!



setMapScaleDenominator
public void setMapScaleDenominator(double mapScaleDenominator)(Code)
Setter for property mapScaleDenominator.
Parameters:
  mapScaleDenominator - New value of property mapScaleDenominator.



setScaleRange
void setScaleRange(Style style, Range scaleRange)(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.