Package org.geotools.util

Examples of org.geotools.util.SimpleInternationalString


        double filenorth = nativeRasterRegion.getNorth();
        double filensres = nativeRasterRegion.getNSResolution();
        double datanorth = activeReadRegion.getNorth();
        double datansres = activeReadRegion.getNSResolution();
        monitor.started();
        monitor.setTask(new SimpleInternationalString("Read raster map: "
                + readerGrassEnv.getMapName()));
        float progress = 0f;
        for( double row = 0; row < activeRows; row++ ) {

            /*
 
View Full Code Here


        // NewWritableFileRandomIter iterator =
        // NewFileImageRandomIterFactory.createWritableFileRandomIter((FileImage) renderedImage,
        // new Rectangle(0, 0, width, height));
        int k = 0;
        monitor.started();
        monitor.setTask(new SimpleInternationalString("Writing map to disk: " + mapName));
        float progress = 0;
        for( int i = 0; i < dataWindowRows; i++ ) {
            for( int j = 0; j < dataWindowCols; j++ ) {
                double value = iterator.getSampleDouble(j,i,0);
View Full Code Here

            s.setName(name);
        } else {
            s = sf.createStyle();
            s.setName(name);
            if (styleAbstract != null)
                s.getDescription().setAbstract(new SimpleInternationalString(styleAbstract));
            if (title != null)
                s.getDescription().setTitle(new SimpleInternationalString(title));
            for (FeatureTypeStyleBuilder builder : fts) {
                s.featureTypeStyles().add(builder.build());
            }
            s.setDefault(isDefault);
        }
View Full Code Here

* @source $URL$
*/
public class GeometryProcessFactory extends StaticMethodsProcessFactory<GeometryFunctions> {

    public GeometryProcessFactory() {
        super(new SimpleInternationalString("Geometry processes"), "geo", GeometryFunctions.class);
    }
View Full Code Here

          style.setName(name);
        }
       
        if (sameName(elems[1], value[i])) {
          String title = (String) value[i].getValue();
          style.setTitle(new SimpleInternationalString(title));
        }
       
        if (sameName(elems[2], value[i])) {
          String _abstract = (String) value[i].getValue();
          style.setAbstract(new SimpleInternationalString(_abstract));
        }
       
        if (sameName(elems[3], value[i])) {
          legendURLS.add((String)value[i].getValue());
        }
View Full Code Here

                        final Date   date    = result.getDate  (2);
                        final String engine  = metadata.getDatabaseProductName();
                        final CitationImpl c = new CitationImpl(Citations.EPSG);
                        c.getAlternateTitles().add(Vocabulary.formatInternational(
                                VocabularyKeys.DATA_BASE_$3, "EPSG", version, engine));
                        c.setEdition(new SimpleInternationalString(version));
                        c.setEditionDate(date);
                        authority = (Citation) c.unmodifiable();
                        hints.put(Hints.VERSION, new Version(version))// For getImplementationHints()
                    } else {
                        authority = Citations.EPSG;
View Full Code Here

        for (int i=0; i<TABLES_INFO.length; i++) {
            final Set codes = getAuthorityCodes0(TABLES_INFO[i].type);
            if (codes instanceof AuthorityCodes) {
                final String text = ((AuthorityCodes) codes).asMap().get(primaryKey);
                if (text != null) {
                    return new SimpleInternationalString(text);
                }
            }
        }
        /*
         * Maybe the user overridden some object creation
         * methods with a value for the supplied code.
         */
        final Identifier identifier = createObject(code).getName();
        if (identifier instanceof GenericName) {
            return ((GenericName) identifier).toInternationalString();
        }
        return new SimpleInternationalString(identifier.getCode());
    }
View Full Code Here

            while (result.next()) {
                ExtentImpl extent = null;
                final String description = result.getString(1);
                if (description != null) {
                    extent = new ExtentImpl();
                    extent.setDescription(new SimpleInternationalString(description));
                }
                final double ymin = result.getDouble(2);
                if (!result.wasNull()) {
                    final double ymax = result.getDouble(3);
                    if (!result.wasNull()) {
View Full Code Here

    public static final Rectangle DEFAULT_RECTANGLE = new Rectangle(0, 0, 10, 10);

    public class BeanProcessFactory extends AnnotatedBeanProcessFactory {

        public BeanProcessFactory() {
            super(new SimpleInternationalString("Some bean based processes custom processes"),
                    "bean",
                    IdentityProcess.class,
                    DefaultsProcess.class,
                    VectorIdentityRTProcess.class, MetaProcess.class);
        }
View Full Code Here

       
        contactPerson.setContactInfo(contact);
       
        if (sameName(elems[1], value[i])) {
          String positionName = (String) value[i].getValue();
          contactPerson.setPositionName(new SimpleInternationalString(positionName));
        }
       
        if (sameName(elems[2], value[i])) {
          address = (AddressImpl) value[i].getValue();
        }
View Full Code Here

TOP

Related Classes of org.geotools.util.SimpleInternationalString

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.