@Test public void halo() { HaloBuilder<?> b = new HaloBuilder(null); Halo halo = b.build(); assertNotNull(halo); }
public Style build() { if( unset ){ return null; } if (ftsBuilder == null) ftsBuilder = new FeatureTypeStyleBuilder(); fts.add(ftsBuilder.build()); Style s = sf.createStyle(); s.setName(name); if (styleAbstract != null) s.getDescription().setAbstract(new SimpleInternationalString(styleAbstract)); if (title != null) s.getDescription().setTitle(new SimpleInternationalString(title)); s.featureTypeStyles().addAll(fts); s.setDefault(isDefault); if( parent == null ) reset(); return s; }
StyleBuilder implements Builder<Style> { public Style build() { if( unset ){ return null; } if (ftsBuilder == null) ftsBuilder = new FeatureTypeStyleBuilder(); fts.add(ftsBuilder.build()); Style s = sf.createStyle(); s.setName(name); if (styleAbstract != null) s.getDescription().setAbstract(new SimpleInternationalString(styleAbstract)); if (title != null) s.getDescription().setTitle(new SimpleInternationalString(title)); s.featureTypeStyles().addAll(fts); s.setDefault(isDefault); if( parent == null ) reset(); return s; } }
StyleBuilder implements Builder<Style> { public Style build() { if( unset ){ return null; } if (ftsBuilder == null) ftsBuilder = new FeatureTypeStyleBuilder(); fts.add(ftsBuilder.build()); Style s = sf.createStyle(); s.setName(name); if (styleAbstract != null) s.getDescription().setAbstract(new SimpleInternationalString(styleAbstract)); if (title != null) s.getDescription().setTitle(new SimpleInternationalString(title)); s.featureTypeStyles().addAll(fts); s.setDefault(isDefault); if( parent == null ) reset(); return s; } StyleBuilder();  StyleBuilder(P parent); }
StyleBuilder implements Builder<Style> { public Style build() { if( unset ){ return null; } if (ftsBuilder == null) ftsBuilder = new FeatureTypeStyleBuilder(); fts.add(ftsBuilder.build()); Style s = sf.createStyle(); s.setName(name); if (styleAbstract != null) s.getDescription().setAbstract(new SimpleInternationalString(styleAbstract)); if (title != null) s.getDescription().setTitle(new SimpleInternationalString(title)); s.featureTypeStyles().addAll(fts); s.setDefault(isDefault); if( parent == null ) reset(); return s; } StyleBuilder();  StyleBuilder(P parent); StyleBuilder<P> name(String name); StyleBuilder title(String title); StyleBuilder styleAbstract(String styleAbstract); FeatureTypeStyleBuilder newFeatureTypeStyle(); Style build(); StyleBuilder unset(); StyleBuilder reset(); StyleBuilder reset(Style style); }
StyleBuilder implements Builder<Style> { public Style build() { if( unset ){ return null; } if (ftsBuilder == null) ftsBuilder = new FeatureTypeStyleBuilder(); fts.add(ftsBuilder.build()); Style s = sf.createStyle(); s.setName(name); if (styleAbstract != null) s.getDescription().setAbstract(new SimpleInternationalString(styleAbstract)); if (title != null) s.getDescription().setTitle(new SimpleInternationalString(title)); s.featureTypeStyles().addAll(fts); s.setDefault(isDefault); if( parent == null ) reset(); return s; } StyleBuilder();  StyleBuilder(P parent); StyleBuilder<P> name(String name); StyleBuilder title(String title); StyleBuilder styleAbstract(String styleAbstract); FeatureTypeStyleBuilder newFeatureTypeStyle(); Style build(); StyleBuilder unset(); StyleBuilder reset(); StyleBuilder reset(Style style);  }