Package com.sdl.web.api.dynamic
Class WebTaxonomyAssemblerImpl
java.lang.Object
com.sdl.web.api.dynamic.WebTaxonomyAssemblerImpl
- All Implemented Interfaces:
com.sdl.web.api.dynamic.WebTaxonomyAssembler
public class WebTaxonomyAssemblerImpl
extends Object
implements com.sdl.web.api.dynamic.WebTaxonomyAssembler
WebTaxonomyAssemblerImpl.
-
Constructor Summary
ConstructorsConstructorDescriptionBasic default constructor.WebTaxonomyAssemblerImpl(com.sdl.web.api.dynamic.taxonomies.filters.WebTaxonomyFilter taxonomyFilter, com.sdl.web.api.dynamic.formatter.WebTaxonomyFormatter taxonomyFormatter, com.sdl.web.api.dynamic.taxonomies.WebTaxonomyFactory taxonomyFactory) Creates an assembler that will use a factory to retrieve taxonomies, a filter to filter them out and a formatter to format the result from the factory. -
Method Summary
Modifier and TypeMethodDescriptionassembleTaxonomy(String taxonomyURI, String[] expandKeywords, com.tridion.taxonomies.Keyword[] selectedKeywords, String contextKeyword, boolean showRoot, boolean showEmptyKeywords, boolean showDescription, String pageRedirect, String keywordParameterName) assembleTaxonomy(String taxonomyURI, String contextKeyword, boolean showRoot, boolean showEmptyKeywords, boolean showDescription, String pageRedirect, String keywordParameterName)
-
Constructor Details
-
WebTaxonomyAssemblerImpl
public WebTaxonomyAssemblerImpl()Basic default constructor. -
WebTaxonomyAssemblerImpl
public WebTaxonomyAssemblerImpl(com.sdl.web.api.dynamic.taxonomies.filters.WebTaxonomyFilter taxonomyFilter, com.sdl.web.api.dynamic.formatter.WebTaxonomyFormatter taxonomyFormatter, com.sdl.web.api.dynamic.taxonomies.WebTaxonomyFactory taxonomyFactory) Creates an assembler that will use a factory to retrieve taxonomies, a filter to filter them out and a formatter to format the result from the factory.- Parameters:
taxonomyFilter- The filter used to construct a filtering query for taxonomies. If null, a default CompositeFilter will be used.taxonomyFormatter- The formatter used to defined formatters for the result from the TaxonomyFactory. If null, a default TaxonomyHierarchyFormatter will be used.taxonomyFactory- The TaxonomyFactory responsible for retrieving Taxonomies from the Broker storage. If null, a default TaxonomyFactory will be used.
-
-
Method Details
-
assembleTaxonomy
public StringBuffer assembleTaxonomy(String taxonomyURI, String contextKeyword, boolean showRoot, boolean showEmptyKeywords, boolean showDescription, String pageRedirect, String keywordParameterName) - Specified by:
assembleTaxonomyin interfacecom.sdl.web.api.dynamic.WebTaxonomyAssembler
-
assembleTaxonomy
public StringBuffer assembleTaxonomy(String taxonomyURI, String[] expandKeywords, com.tridion.taxonomies.Keyword[] selectedKeywords, String contextKeyword, boolean showRoot, boolean showEmptyKeywords, boolean showDescription, String pageRedirect, String keywordParameterName) - Specified by:
assembleTaxonomyin interfacecom.sdl.web.api.dynamic.WebTaxonomyAssembler
-