All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.virtdata.docsys.api.DocPathInfo Maven / Gradle / Ivy

package io.virtdata.docsys.api;

import java.nio.file.Path;
import java.util.List;

/**
 * Doc Path Info represents a readable Path which is part of a well-known
 * namespace.
 *
 * When callers are using doc paths from this interface, it is an error for
 * there to be multiple instance of a doc path of the same name in the same
 * namespace. As long as the root path of a doc tree is unique within the
 * given namespaces, they may be merged. This is to allow multiple contributors
 * of detailed docs to a single known namespace.
 *
 */
public interface DocPathInfo extends Iterable {

    /**
     * A simple name which can be used to nest the enclosed path within a larger
     * namespace. Users of this interface should never host content from the path
     * at a root level separate from the namespace.
     *
     * @return A canonical namespace identifier
     */
    String getNameSpace();

    List getPaths();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy