Package org.apache.sis.metadata.iso.identification

Examples of org.apache.sis.metadata.iso.identification.DefaultDataIdentification.asTreeTable()


        identification.setTopicCategories(Arrays.asList(
                TopicCategory.HEALTH,
                TopicCategory.valueOf("OCEANS"), // Existing category
                TopicCategory.valueOf("test"))); // Custom category

        final String text = format.format(identification.asTreeTable());
        assertMultilinesEquals(
            "Data identification\n" +
            "  ├─Topic category (1 of 3)…… Health\n" +
            "  ├─Topic category (2 of 3)…… Oceans\n" +
            "  ├─Topic category (3 of 3)…… Test\n" +
View Full Code Here


        identification.setTopicCategories(Arrays.asList(
                TopicCategory.HEALTH,
                TopicCategory.valueOf("OCEANS"), // Existing category
                TopicCategory.valueOf("test"))); // Custom category

        final String text = format.format(identification.asTreeTable());
        assertMultilinesEquals(
            "Data identification\n" +
            "  ├─Descriptive keywords\n" +
            "  │   ├─Keyword (1 of 3)…………… Apple\n" +
            "  │   ├─Keyword (2 of 3)…………… Orange\n" +
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.