uk.ac.rdg.resc.edal.graphics.style.sld.AbstractSLDSymbolizer2D Maven / Gradle / Ivy
package uk.ac.rdg.resc.edal.graphics.style.sld;
import java.util.List;
public abstract class AbstractSLDSymbolizer2D extends AbstractSLDSymbolizer {
protected String xVarName;
protected String yVarName;
@Override
protected void setVarNames(List varNames) throws SLDException {
if(varNames.size() != 2) {
throw new SLDException("Found " + varNames.size() + " variable names, " +
"expected two.");
}
this.xVarName = varNames.get(0).trim();
this.yVarName = varNames.get(1).trim();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy