Interface IContainerHandle
- All Known Implementing Classes:
ContainerHandleURI,ContainerHandleVirtual
public interface IContainerHandle
Interface for container handles. Previously resources considered by Mixin
were indexed by URI but in order to provide more flexibility the container
handle system now wraps URIs in a more expressive object, and provides
support for both virtual containers and nested container resolution.
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String name) Retrieve the value of attribute with the specified name, or null if not presentGet nested containers from this container, allows a container to detect and return containers within itself.
-
Method Details
-
getAttribute
Retrieve the value of attribute with the specified name, or null if not present- Parameters:
name- attribute name- Returns:
- attribute value or null if not present
-
getNestedContainers
Collection<IContainerHandle> getNestedContainers()Get nested containers from this container, allows a container to detect and return containers within itself. For example a folder container detecting and returning file containers, or a virtual container returning real containers after a scan.
-