Examples of removeField()


Examples of org.apache.sanselan.formats.tiff.write.TiffOutputDirectory.removeField()

            /* map datum */
            //System.err.println("Writing map datum.");
            field = makeField(
                TiffConstants.GPS_TAG_GPS_MAP_DATUM,
                byteOrder, "WGS-84");
            gpsIfd.removeField(TiffConstants.GPS_TAG_GPS_MAP_DATUM);
            gpsIfd.add(field);

            /* elevation */
            if(wpt.getEle() != null){
                //System.err.println("Writing ele ref.");
View Full Code Here

Examples of org.apache.sanselan.formats.tiff.write.TiffOutputDirectory.removeField()

                    TiffConstants.FIELD_TYPE_DESCRIPTION_BYTE,
                    1,
                    TiffConstants.EXIF_DIRECTORY_GPS);
                field = TiffOutputField.create(
                    tag, byteOrder, eleref);
                gpsIfd.removeField(TiffConstants.GPS_TAG_GPS_ALTITUDE_REF);
                gpsIfd.add(field);

                //System.err.println("Writing ele.");
                // use custom tag info because GPS_TAG_GPS_ALTITUDE_REF has length -1
                tag  = new TagInfo(
View Full Code Here

Examples of org.apache.sanselan.formats.tiff.write.TiffOutputDirectory.removeField()

                    1,
                    TiffConstants.EXIF_DIRECTORY_GPS);
                field = TiffOutputField.create(
                    tag,
                    byteOrder, new Double(ele));
                gpsIfd.removeField(TiffConstants.GPS_TAG_GPS_ALTITUDE);
                gpsIfd.add(field);
            }

            /* dateTime */
            //System.err.println("Writing date/time.");
View Full Code Here

Examples of org.apache.sanselan.formats.tiff.write.TiffOutputSet.removeField()

                // Option 1: brute force
                // Note that this approach is crude: Exif data is organized in
                // directories. The same tag/field may appear in more than one
                // directory, and have different meanings in each.
                outputSet.removeField(TiffConstants.EXIF_TAG_APERTURE_VALUE);

                // Option 2: precision
                // We know the exact directory the tag should appear in, in this
                // case the "exif" directory.
                // One complicating factor is that in some cases, manufacturers
View Full Code Here

Examples of org.apache.solr.common.SolrInputDocument.removeField()

    }

    // Add to core1
    doc.setField("id", "BBB");
    doc.setField("core1", "yup stopfra stopfrb stopena stopenb");
    doc.removeField("core0");
    up.add(doc);
    up.process(getSolrCore1());

    // You can't add it to core1
    try {
View Full Code Here

Examples of org.bson.BSONObject.removeField()

                // clone first
                BSONObject queryValueClone = new BasicBSONObject(((BSONObject) queryValue).toMap());

                for (String queryOperator : keySet) {

                    Object subQuery = queryValueClone.removeField(queryOperator);

                    if (queryOperator.equals(QueryOperator.ALL.getValue())) {
                        if (!checkMatchesAllValues(subQuery, value)) {
                            return false;
                        }
View Full Code Here

Examples of org.bson.BasicBSONObject.removeField()

                // clone first
                BSONObject queryValueClone = new BasicBSONObject(((BSONObject) queryValue).toMap());

                for (String queryOperator : keySet) {

                    Object subQuery = queryValueClone.removeField(queryOperator);

                    if (queryOperator.equals(QueryOperator.ALL.getValue())) {
                        if (!checkMatchesAllValues(subQuery, value)) {
                            return false;
                        }
View Full Code Here

Examples of org.drools.brms.client.modeldriven.brl.ActionSetField.removeField()

                                                          "43",
                                                          SuggestionCompletionEngine.TYPE_NUMERIC );
        set.fieldValues[0] = v0;
        set.fieldValues[1] = v1;

        set.removeField( 1 );

        assertEquals( 1,
                      set.fieldValues.length );
        assertEquals( v0,
                      set.fieldValues[0] );
View Full Code Here

Examples of org.drools.guvnor.client.modeldriven.brl.ActionSetField.removeField()

                                                          "43",
                                                          SuggestionCompletionEngine.TYPE_NUMERIC );
        set.fieldValues[0] = v0;
        set.fieldValues[1] = v1;

        set.removeField( 1 );

        assertEquals( 1,
                      set.fieldValues.length );
        assertEquals( v0,
                      set.fieldValues[0] );
View Full Code Here

Examples of org.drools.ide.common.client.modeldriven.brl.ActionSetField.removeField()

                                                          "43",
                                                          SuggestionCompletionEngine.TYPE_NUMERIC );
        set.fieldValues[0] = v0;
        set.fieldValues[1] = v1;

        set.removeField( 1 );

        assertEquals( 1,
                      set.fieldValues.length );
        assertEquals( v0,
                      set.fieldValues[0] );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.