@Test public void buildTest() throws IOException, SAXException { GraphicAdapter graphicAdapter = new DummyGraphicAdapter(); AttributesImpl attributesImpl = new AttributesImpl(); attributesImpl.addAttribute(null, null, LineSymbolBuilder.ALIGN_CENTER, null, String.valueOf(ALIGN_CENTER)); attributesImpl.addAttribute(null, null, LineSymbolBuilder.REPEAT, null, String.valueOf(REPEAT)); attributesImpl.addAttribute(null, null, LineSymbolBuilder.SRC, null, "jar:symbols/atm.png"); LineSymbolBuilder lineSymbolBuilder = new LineSymbolBuilder(graphicAdapter, "lineSymbol", attributesImpl, "/osmarender/"); Assert.assertEquals(ALIGN_CENTER, lineSymbolBuilder.alignCenter); Assert.assertEquals(REPEAT, lineSymbolBuilder.repeat); Assert.assertNotNull(lineSymbolBuilder.build()); }
public LineSymbol build() { return new LineSymbol(this); }
LineSymbolBuilder { public LineSymbol build() { return new LineSymbol(this); } }
LineSymbolBuilder { public LineSymbol build() { return new LineSymbol(this); } LineSymbolBuilder(GraphicAdapter graphicAdapter, String elementName, Attributes attributes,
			String relativePathPrefix); }
LineSymbolBuilder { public LineSymbol build() { return new LineSymbol(this); } LineSymbolBuilder(GraphicAdapter graphicAdapter, String elementName, Attributes attributes,
			String relativePathPrefix); LineSymbol build(); }
LineSymbolBuilder { public LineSymbol build() { return new LineSymbol(this); } LineSymbolBuilder(GraphicAdapter graphicAdapter, String elementName, Attributes attributes,
			String relativePathPrefix); LineSymbol build();  }