use of org.apache.jackrabbit.commons.packaging.FilterContentPackage in project jackrabbit by apache.
the class TraverseNodes method execute.
public NodeIterator execute() throws Exception {
FilterContentPackage pack = new FilterContentPackage();
pack.addContent(getPath(), new IsNodePredicate());
return new NodeIteratorAdapter(pack.getItems(getSession()));
}
Aggregations