org.deegree.style.se.unevaluated
Class Symbolizer<T extends Styling<T>>
java.lang.Object
org.deegree.style.se.unevaluated.Symbolizer<T>
- Type Parameters:
T
-
public class Symbolizer<T extends Styling<T>>
- extends Object
Symbolizer
- Version:
- $Revision: 31072 $, $Date: 2011-06-17 13:08:25 +0200 (Fri, 17 Jun 2011) $
- Author:
- Andreas Schmitz, last edited by: $Author: aschmitz $
Constructor Summary |
Symbolizer(T base,
Continuation<T> next,
Expression geometry,
String name,
String file,
int line,
int col)
|
Symbolizer(T evaluated,
Expression geometry,
String name,
String file,
int line,
int col)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Symbolizer
public Symbolizer(T evaluated,
Expression geometry,
String name,
String file,
int line,
int col)
- Parameters:
evaluated
- geometry
- name
- file
- line
- col
-
Symbolizer
public Symbolizer(T base,
Continuation<T> next,
Expression geometry,
String name,
String file,
int line,
int col)
- Parameters:
base
- next
- geometry
- name
- file
- line
- col
-
getName
public String getName()
- Returns:
- the name of the symbolizer
isEvaluated
public boolean isEvaluated()
- Returns:
- whether the symbolizer is already evaluated
evaluate
public Pair<T,LinkedList<Geometry>> evaluate(Feature f,
XPathEvaluator<Feature> evaluator)
- Parameters:
f
-
- Returns:
- the styling with the geometries, p.second may be null if no geoms were found
getBase
public T getBase()
- Returns:
- the base object or the evaluated one, if already available
getGeometryExpression
public Expression getGeometryExpression()
- Returns:
- may be null, in which case a default geometry would be used when evaluating
Copyright © 2011. All Rights Reserved.