public class NodeFilter extends Object
NodeFilter represents a filter on property and/or node names specified
in JSON format. It allows to specify glob patterns for names of nodes and/or
properties to be included or excluded.
Example:
{
"nodes": [ "foo*", "-foo1" ],
"properties": [ "*", "-:childNodeCount" ]
}
NameFilter,
MicroKernel.getNodes(String, String, int, long, int, String)| Modifier and Type | Method and Description |
|---|---|
NameFilter |
getChildNodeFilter() |
NameFilter |
getPropertyFilter() |
boolean |
includeNode(String name) |
boolean |
includeProperty(String name) |
static NodeFilter |
parse(String json) |
public static NodeFilter parse(String json)
public NameFilter getChildNodeFilter()
public NameFilter getPropertyFilter()
public boolean includeNode(String name)
public boolean includeProperty(String name)
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.