@Test public void buildTest() throws IOException, SAXException { AttributesImpl attributesImpl = new AttributesImpl(); attributesImpl.addAttribute(null, null, LineSymbolBuilder.ALIGN_CENTER, null, ALIGN_CENTER.toString()); attributesImpl.addAttribute(null, null, LineSymbolBuilder.REPEAT, null, REPEAT.toString()); attributesImpl.addAttribute(null, null, LineSymbolBuilder.SRC, null, "jar:symbols/atm.png"); LineSymbolBuilder lineSymbolBuilder = new LineSymbolBuilder(GRAPHIC_FACTORY, new DisplayModel(), "lineSymbol", attributesImpl, "/osmarender/"); Assert.assertEquals(ALIGN_CENTER, Boolean.valueOf(lineSymbolBuilder.alignCenter)); Assert.assertEquals(REPEAT, Boolean.valueOf(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(GraphicFactory graphicFactory, DisplayModel displayModel, String elementName,
			Attributes attributes, String relativePathPrefix); }
LineSymbolBuilder { public LineSymbol build() { return new LineSymbol(this); } LineSymbolBuilder(GraphicFactory graphicFactory, DisplayModel displayModel, String elementName,
			Attributes attributes, String relativePathPrefix); LineSymbol build(); }
LineSymbolBuilder { public LineSymbol build() { return new LineSymbol(this); } LineSymbolBuilder(GraphicFactory graphicFactory, DisplayModel displayModel, String elementName,
			Attributes attributes, String relativePathPrefix); LineSymbol build();  }