/** * Creates a new instance of this factory. */ public HsqlDialectEpsgMediator() throws FactoryException { this( GeoTools.getDefaultHints() ); }
/** * Creates an instance of a Filter factory. * * @return An instance of the Filter factory. * * @throws FactoryRegistryException If the factory is not found. */ public static FilterFactory createFilterFactory() throws FactoryRegistryException { Hints hints = GeoTools.getDefaultHints(); return (FilterFactory) CommonFactoryFinder.getFilterFactory( hints ); }
/** * Returns the default attribute factory for the system - constucting a new * one if this is first time the method has been called. * * @return the default instance of AttributeTypeFactory. */ public static AttributeTypeFactory defaultInstance() { // depend on CommonFactoryFinder to keep singleton cached // return CommonFactoryFinder.getAttributeTypeFactory( GeoTools.getDefaultHints() ); }
/** * Creates a new instance of DefaultGraphic */ protected GraphicImpl() { this( CommonFactoryFinder.getFilterFactory(GeoTools.getDefaultHints())); }
/** * Create a Stylereader - use if you already have a dom to parse. * * @param factory * The StyleFactory to use to build the style */ public SLDParser(StyleFactory factory) { this( factory, CommonFactoryFinder.getFilterFactory( GeoTools.getDefaultHints() )); }
public GetCoverage( WCSInfo serviceInfo, Catalog catalog, EnvelopeAxesLabelsMapper envelopeDimensionsMapper, MIMETypeMapper mimeMapper) { this.wcs = serviceInfo; this.catalog = catalog; this.envelopeDimensionsMapper = envelopeDimensionsMapper; this.mimeMapper = mimeMapper; this.gridCoverageFactory = CoverageFactoryFinder.getGridCoverageFactory(GeoTools.getDefaultHints()); }
/** * Use the supplied StyleFactory when building styles * * @param styleFactory the StyleFactory to use in building Styles */ public StyleBuilder(StyleFactory styleFactory ) { this( styleFactory, CommonFactoryFinder.getFilterFactory( GeoTools.getDefaultHints() ) ); }
/** * Creates a new instance of DefaultGraphic */ protected GraphicImpl() { this( CommonFactoryFinder.getFilterFactory(GeoTools.getDefaultHints())); }
/** * Creates a new instance of DefaultMark */ public MarkImpl() { this( CommonFactoryFinder.getFilterFactory(GeoTools.getDefaultHints()), null); }
/** * Creates a new instance of Stroke */ protected StrokeImpl() { this( CommonFactoryFinder.getFilterFactory(GeoTools.getDefaultHints())); }
/** * Tells me if this {@link Format} can read the provided <code>input</code>. * * * @param input * The input object to test for suitability. * @return True if this format can read this object, False otherwise. */ public boolean accepts(Object source){ return accepts(source,GeoTools.getDefaultHints()); }
/** Creates a new instance of DefaultFill */ protected FillImpl() { this( CommonFactoryFinder.getFilterFactory(GeoTools.getDefaultHints())); }
/** * Create a Stylereader - use if you already have a dom to parse. * * @param factory * The StyleFactory to use to build the style */ public SLDParser(StyleFactory factory) { this(factory, CommonFactoryFinder.getFilterFactory(GeoTools.getDefaultHints())); }
/** * Creates an instance of a Filter factory. * * @return An instance of the Filter factory. * * @throws FactoryConfigurationError If a factory is not found. */ public static FilterFactory createFilterFactory() throws FactoryConfigurationError { Hints hints = GeoTools.getDefaultHints(); return (FilterFactory) CommonFactoryFinder.getFilterFactory( hints ); }
/** * Creates a new instance of DefaultMark */ public MarkImpl() { this( CommonFactoryFinder.getFilterFactory(GeoTools.getDefaultHints())); }
private static Hints addDefaultHints(final Hints hints) { final Hints completed = GeoTools.getDefaultHints(); if (hints != null) { completed.add(hints); } return completed; }
/** * Processed the {@link ConverterFactory} extension point. * * @return A collection of converter factories. * @since 2.4 */ static Collection factories() { if(factories == null) factories = getConverterFactories(GeoTools.getDefaultHints()); return factories; } }
public MarkImpl(String name) { this( CommonFactoryFinder.getFilterFactory(GeoTools.getDefaultHints()), null); LOGGER.fine("creating " + name + " type mark"); setWellKnownName(name); }
public GridCoverageReader getCoverageReader() throws IOException { if (type != TYPE_RASTER) { throw new IllegalArgumentException("Layer type is not raster"); } CoverageInfo resource = (CoverageInfo) layerInfo.getResource(); return resource.getGridCoverageReader(null, GeoTools.getDefaultHints()); }
/** * Creates a new instance of TextMark * * @param font DOCUMENT ME! * @param symbol DOCUMENT ME! */ public TextMarkImpl(Font font, String symbol) { this( CommonFactoryFinder.getFilterFactory(GeoTools.getDefaultHints())); addFont(font); setSymbol(symbol); wellKnownName = filterFactory.literal("Symbol"); }