use of org.opengis.filter.Expression in project geotoolkit by Geomatys.
the class DefaultStyleVisitor method visit.
@Override
public Object visit(final Displacement displacement, Object data) {
final Expression x = displacement.getDisplacementX();
if (x != null) {
visit(x, data);
}
final Expression y = displacement.getDisplacementY();
if (y != null) {
visit(y, data);
}
return data;
}
use of org.opengis.filter.Expression in project geotoolkit by Geomatys.
the class DefaultStyleVisitor method visit.
@Override
public Object visit(final Fill fill, Object data) {
final Expression color = fill.getColor();
if (color != null) {
visit(color, data);
}
final GraphicFill gf = fill.getGraphicFill();
if (gf != null) {
data = gf.accept(this, data);
}
final Expression opa = fill.getOpacity();
if (opa != null) {
visit(opa, data);
}
return data;
}
use of org.opengis.filter.Expression in project geotoolkit by Geomatys.
the class ListingPropertyVisitor method visit.
@Override
public Object visit(final AnchorPoint anchorPoint, Object data) {
final Expression x = anchorPoint.getAnchorPointX();
if (x != null) {
visit(x, (Collection<String>) data);
}
final Expression y = anchorPoint.getAnchorPointY();
if (y != null) {
visit(y, (Collection<String>) data);
}
return data;
}
use of org.opengis.filter.Expression in project geotoolkit by Geomatys.
the class ListingPropertyVisitor method visit.
@Override
public Object visit(final PointPlacement pointPlacement, Object data) {
final AnchorPoint ap = pointPlacement.getAnchorPoint();
if (ap != null) {
data = ap.accept(this, data);
}
final Displacement disp = pointPlacement.getDisplacement();
if (disp != null) {
data = disp.accept(this, data);
}
final Expression rot = pointPlacement.getRotation();
if (rot != null) {
visit(rot, (Collection<String>) data);
}
return data;
}
use of org.opengis.filter.Expression in project geotoolkit by Geomatys.
the class ListingPropertyVisitor method visit.
@Override
public Object visit(final LinePlacement linePlacement, Object data) {
final Expression gap = linePlacement.getGap();
if (gap != null) {
visit(gap, (Collection<String>) data);
}
final Expression igap = linePlacement.getInitialGap();
if (igap != null) {
visit(igap, (Collection<String>) data);
}
final Expression offset = linePlacement.getPerpendicularOffset();
if (offset != null) {
visit(offset, (Collection<String>) data);
}
return data;
}
Aggregations