protected void setUp() throws Exception { super.setUp(); decimal = createAtribute(GML.NAMESPACE, "decimal", XS.STRING, "."); ts = createAtribute(GML.NAMESPACE, "ts", XS.STRING, null); cs = createAtribute(GML.NAMESPACE, "cs", XS.STRING, null); coordinates = createElement(GML.NAMESPACE, "myCoordinates", GML.COORDTYPE, null); container = new DefaultPicoContainer(); container.registerComponentInstance(CoordinateArraySequenceFactory.instance()); container.registerComponentImplementation(GMLCoordinatesTypeBinding.class); }
protected void setUp() throws Exception { super.setUp(); line1 = createElement(GML.NAMESPACE, "myLine", GML.LINESTRINGMEMBERTYPE, null); line2 = createElement(GML.NAMESPACE, "myLine", GML.LINESTRINGMEMBERTYPE, null); ml = createElement(GML.NAMESPACE, "myMultiLine", GML.MULTILINESTRINGTYPE, null); container = new DefaultPicoContainer(); container.registerComponentImplementation(GeometryFactory.class); container.registerComponentImplementation(GMLGeometryCollectionTypeBinding.class); container.registerComponentImplementation(GMLMultiLineStringTypeBinding.class); }
protected void setUp() throws Exception { super.setUp(); point1 = createElement(GML.NAMESPACE, "myPoint", GML.POINTMEMBERTYPE, null); point2 = createElement(GML.NAMESPACE, "myPoint", GML.POINTMEMBERTYPE, null); line1 = createElement(GML.NAMESPACE, "myLine", GML.LINESTRINGMEMBERTYPE, null); ring1 = createElement(GML.NAMESPACE, "myLine", GML.LINEARRINGMEMBERTYPE, null); poly1 = createElement(GML.NAMESPACE, "myPoly", GML.POLYGONMEMBERTYPE, null); gcol = createElement(GML.NAMESPACE, "myColl", GML.GEOMETRYCOLLECTIONTYPE, null); gf = new GeometryFactory(); container = new DefaultPicoContainer(); container.registerComponentImplementation(GeometryFactory.class); container.registerComponentImplementation(GMLGeometryCollectionTypeBinding.class); }