Package ca.ecliptical.emf.xpath

Examples of ca.ecliptical.emf.xpath.EMFXPath.numberValueOf()


  }
 
  public final void testSum() throws Exception {
    EMFXPath xpath = new EMFXPath("sum(lib:books/lib:pages)");
    xpath.addNamespace("lib", LibraryPackage.eNS_URI);
    Number result = xpath.numberValueOf(fixture);
    assertNotNull(result);
    assertEquals(6000, result.intValue());
  }
 
  public final void testFeatureMap() throws Exception {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.