abstract static class MapCSSTagChecker.TagCheck.PrimitiveToTag extends java.lang.Object implements Utils.Function<OsmPrimitive,Tag>
OsmPrimitive
to a Tag
.Modifier | Constructor and Description |
---|---|
private |
MapCSSTagChecker.TagCheck.PrimitiveToTag() |
Modifier and Type | Method and Description |
---|---|
(package private) static MapCSSTagChecker.TagCheck.PrimitiveToTag |
ofMapCSSObject(java.lang.Object obj,
boolean keyOnly)
Creates a new mapping from an
MapCSS object. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
private MapCSSTagChecker.TagCheck.PrimitiveToTag()
static MapCSSTagChecker.TagCheck.PrimitiveToTag ofMapCSSObject(java.lang.Object obj, boolean keyOnly)
MapCSS
object.
In case of an Expression
, that is evaluated on the matched OsmPrimitive
.
In case of a String
, that is "compiled" to a Tag
instance.