Package org.geomajas.sld.expression

Examples of org.geomajas.sld.expression.PropertyNameInfo


    Assert.assertEquals(2, p.getExpressionList().size());
    ExpressionInfo left = p.getExpressionList().get(0);
    ExpressionInfo right = p.getExpressionList().get(1);
    Assert.assertTrue(left instanceof PropertyNameInfo);
    Assert.assertTrue(right instanceof LiteralTypeInfo);
    PropertyNameInfo prop = (PropertyNameInfo) left;
    LiteralTypeInfo litteral = (LiteralTypeInfo) right;
    Assert.assertEquals("SomeProperty", prop.getValue());
    Assert.assertEquals("100", litteral.getValue());
  }
View Full Code Here

TOP

Related Classes of org.geomajas.sld.expression.PropertyNameInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.