Package org.jboss.shrinkwrap.api
Interface Node
-
- All Known Implementing Classes:
NodeImpl
public interface Node
Represents an entry inside anArchive
. Indicates an empty directory ifgetAsset()
returns null. May be the parent of childNode
s. Lives inside theArchive
under the context denoted bygetPath()
.- Author:
- German Escobar
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Asset
getAsset()
Set<Node>
getChildren()
ArchivePath
getPath()
-
-
-
Method Detail
-
getChildren
Set<Node> getChildren()
- Returns:
- The child nodes of this node or, an empty set if it has no children or holds an asset. This method will never return null. The returned Set will be an immutable view.
-
getPath
ArchivePath getPath()
- Returns:
- The path where this node is placed within the
Archive
-
-