use of org.geotoolkit.se.xml.v110.LineSymbolizerType in project geotoolkit by Geomatys.
the class GTtoSE110Transformer method visit.
/**
* Transform a GT line symbol in jaxb line symbol.
*/
@Override
public JAXBElement<LineSymbolizerType> visit(final LineSymbolizer line, final Object data) {
final LineSymbolizerType lst = se_factory.createLineSymbolizerType();
lst.setName(line.getName());
lst.setDescription(visit(line.getDescription(), null));
lst.setUom(visitUOM(line.getUnitOfMeasure()));
lst.setGeometry(visitExpression(line.getGeometry()));
if (line.getStroke() != null) {
lst.setStroke(visit(line.getStroke(), null));
}
lst.setPerpendicularOffset(visitExpression(line.getPerpendicularOffset()));
return se_factory.createLineSymbolizer(lst);
}
Aggregations