Package dev.avelar.mapnik
Class PathExpression
java.lang.Object
dev.avelar.mapnik.PathExpression
- All Implemented Interfaces:
AutoCloseable
A text pattern with attribute names in brackets, such as
icons/[type].png, which a feature
fills in: a feature with type set to bus gives icons/bus.png. Mapnik uses
these for the file of image symbolizers. Holds native memory: close it.-
Method Summary
-
Method Details
-
parse
Parse a pattern. ThrowsMapnikExceptionif Mapnik cannot. -
text
-
evaluate
The pattern with the feature's attributes filled in. An attribute the feature lacks becomes empty text. -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
toString
-