Examples of tip()


Examples of org.opengis.util.GenericName.tip()

    public void testNavigating() {
        final DefaultNameFactory factory = new DefaultNameFactory();
        final GenericName name = factory.parseGenericName(null, "codespace:subspace:name");
        assertEquals("codespace:subspace:name", name.toString());
        assertEquals("codespace:subspace",      name.tip().scope().name().toString());
        assertEquals("codespace",               name.tip().scope().name().tip().scope().name().toString());
        assertSame(name, name.toFullyQualifiedName());
        assertSame(name, name.tip().toFullyQualifiedName());
    }
}
View Full Code Here

Examples of org.opengis.util.GenericName.tip()

        final GenericName name = factory.parseGenericName(null, "codespace:subspace:name");
        assertEquals("codespace:subspace:name", name.toString());
        assertEquals("codespace:subspace",      name.tip().scope().name().toString());
        assertEquals("codespace",               name.tip().scope().name().tip().scope().name().toString());
        assertSame(name, name.toFullyQualifiedName());
        assertSame(name, name.tip().toFullyQualifiedName());
    }
}
View Full Code Here

Examples of org.opengis.util.GenericName.tip()

        basicTests(name);
        assertEquals("toString:", "codespace:subspace:name", name.toString());
        assertEquals("toString:", "codespace:subspace",      name.scope().name().toString());
        assertEquals("toString:", "codespace",               name.scope().name().scope().name().toString());
        assertSame("asScopedName", name, name.toFullyQualifiedName());
        assertSame("asLocalName",  name, name.tip().toFullyQualifiedName());
    }

    /**
     * Performs basic test on the given object.
     */
 
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.