Package org.opengis.util

Examples of org.opengis.util.InternationalString


            {
                required = false;
            }

            String identifier = idt.getIdentifier().getValue();
            InternationalString title = Text.text(idt.getTitle().getValue());
            InternationalString description = Text.text(isAbstractNull(idt) ? "" : idt.getAbstract().getValue());
            Parameter<?> param = new Parameter(identifier, type, title, description, required, idt.getMinOccurs().intValue(), idt.getMaxOccurs().intValue(), null, null);
            map.put(identifier, param);
        }

        return map;
View Full Code Here


                }
                type = getComplexType(encoding, mimetype, schema);
            }

            // create the parameter
            InternationalString description = Text.text(isAbstractNull(odt) ? "" : odt.getAbstract().getValue());
            Parameter param = new Parameter(odt.getIdentifier().getValue(), type, Text.text(odt.getTitle().getValue()), description);
            map.put(odt.getIdentifier().getValue(), param);
        }

        return map;
View Full Code Here

    /**
     * Test of getReferenceEvent method, of class DefaultClock.
     */
    @Test
    public void testGetReferenceEvent() {
        InternationalString result = clock1.getReferenceEvent();
        assertFalse(clock2.getReferenceEvent().equals(result));
    }
View Full Code Here

    /**
     * Test of setReferenceEvent method, of class DefaultClock.
     */
    @Test
    public void testSetReferenceEvent() {
        InternationalString result = clock1.getReferenceEvent();
        ((DefaultClock) clock1).setReferenceEvent(new SimpleInternationalString(""));
        assertFalse(clock1.getReferenceEvent().equals(result));
    }
View Full Code Here

            }
            /*
             * Before to add the name and alias to the list, fetch the remarks (if any).
             * They are stored in a separated list and will appear as the very last column.
             */
            final InternationalString remarks = element.getRemarks();
            if (remarks != null) {
                if (descriptions == null) {
                    descriptions = new String[parameters.size()];
                }
                descriptions[names.size()] = remarks.toString(locale);
            }
            names.add(elementNames);
        }
        /*
         * Trim the columns that duplicates the identifier column (#0). This is
View Full Code Here

    /**
     * Test of getName method, of class DefaultCalendarEra.
     */
    @Test
    public void testGetName() {
        InternationalString result = calendarEra1.getName();
        assertFalse(calendarEra2.getName().equals(result));
    }
View Full Code Here

    /**
     * Test of getReferenceEvent method, of class DefaultCalendarEra.
     */
    @Test
    public void testGetReferenceEvent() {
        InternationalString result = calendarEra1.getReferenceEvent();
        assertFalse(calendarEra2.getReferenceEvent().equals(result));
    }
View Full Code Here

    /**
     * Test of setName method, of class DefaultCalendarEra.
     */
    @Test
    public void testSetName() {
        InternationalString result = calendarEra1.getName();
        ((DefaultCalendarEra)calendarEra1).setName(new SimpleInternationalString("new Era"));
        assertFalse(calendarEra1.getName().equals(result));
    }
View Full Code Here

    /**
     * Test of setReferenceEvent method, of class DefaultCalendarEra.
     */
    @Test
    public void testSetReferenceEvent() {
        InternationalString result = calendarEra1.getReferenceEvent();
        ((DefaultCalendarEra)calendarEra1).setReferenceEvent(new SimpleInternationalString("new Era description"));
        assertFalse(calendarEra1.getReferenceEvent().equals(result));
    }
View Full Code Here

    /**
     * Test of getScope method, of class DefaultTemporalReferenceSystem.
     */
    @Test
    public void testGetScope() {
        InternationalString result = temporalReferenceSystem1.getScope();
        assertEquals(temporalReferenceSystem2.getScope(), result);
    }
View Full Code Here

TOP

Related Classes of org.opengis.util.InternationalString

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.