public abstract class PropertyFacetExtractor extends java.lang.Object implements FacetExtractor
PropertyFacetExtractor
is a base class for facet extractors that
work on a certain property (incl. relative paths to properties in sub-nodes),
specified by the parameter propertyRelPath
in the constructor.
In addition, subclasses can implement filter(List, ValueFactory)
for
further filtering of the list of values.Constructor and Description |
---|
PropertyFacetExtractor(java.lang.String propertyRelPath) |
Modifier and Type | Method and Description |
---|---|
void |
handleNode(Node node)
Called for each node of the result set.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFacet
public PropertyFacetExtractor(java.lang.String propertyRelPath)
public void handleNode(Node node) throws RepositoryException
FacetExtractor
handleNode
in interface FacetExtractor
node
- node in the resultRepositoryException
- if access to the node failed, ie. one of the methods on node
threw an exceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved