public abstract class FacetRefinementHandler extends RefinementHandler
RefinementHandler.RefinementPolicy, RefinementHandler.SplitRefinement
Modifier and Type | Field and Description |
---|---|
protected Facet |
facet |
protected Node |
refinementNode |
Modifier | Constructor and Description |
---|---|
protected |
FacetRefinementHandler(Facet facet,
boolean exclude) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
buildRefinementNode()
create a refinement node depending on the type of refinement
|
abstract java.lang.String |
getCpath()
return the full path for the refinement (e.g.
|
java.lang.String |
getId()
get the refinement id.
|
Node |
getRefinementNode() |
RefinementHandler.RefinementPolicy |
getRefinementPolicy()
get refinement policy
|
abstract java.lang.String |
getRelpath()
return the path relative to the (virtual)Root for the refinement (e.g.
|
boolean |
isExclude() |
static java.util.List<java.lang.String> |
zapRefinement(Facet f,
RefinementHandler.SplitRefinement sr,
java.util.Map<java.lang.String,Facet> facetsMap)
Take a facet and the facet-specific aprt of the
refinement and return the zapped refinement,
or null if there is nothing more to refine.
|
parse, splitRefinement
protected FacetRefinementHandler(Facet facet, boolean exclude)
public static java.util.List<java.lang.String> zapRefinement(Facet f, RefinementHandler.SplitRefinement sr, java.util.Map<java.lang.String,Facet> facetsMap) throws QueryProcessingException
QueryProcessingException
public boolean isExclude()
public RefinementHandler.RefinementPolicy getRefinementPolicy()
public java.lang.String getId()
RefinementHandler
getId
in class RefinementHandler
public abstract java.lang.String getCpath()
public abstract java.lang.String getRelpath()
protected abstract void buildRefinementNode() throws QueryProcessingException
QueryProcessingException
public Node getRefinementNode()
getRefinementNode
in class RefinementHandler
Copyright © 2013 Dassault Systèmes, All Rights Reserved.