use of org.geotoolkit.se.xml.v110.PointSymbolizerType in project geotoolkit by Geomatys.
the class GTtoSE110Transformer method visit.
/**
* Transform a GT point symbol in jaxb point symbol.
*/
@Override
public JAXBElement<PointSymbolizerType> visit(final PointSymbolizer point, final Object data) {
final PointSymbolizerType pst = se_factory.createPointSymbolizerType();
pst.setName(point.getName());
pst.setDescription(visit(point.getDescription(), null));
pst.setUom(visitUOM(point.getUnitOfMeasure()));
pst.setGeometry(visitExpression(point.getGeometry()));
if (point.getGraphic() != null) {
pst.setGraphic(visit(point.getGraphic(), null));
}
return se_factory.createPointSymbolizer(pst);
}
Aggregations