Package com.enonic.xp.portal.url
Class ProcessHtmlParams
- java.lang.Object
-
- com.enonic.xp.portal.url.AbstractUrlParams<ProcessHtmlParams>
-
- com.enonic.xp.portal.url.ProcessHtmlParams
-
@PublicApi public final class ProcessHtmlParams extends AbstractUrlParams<ProcessHtmlParams>
-
-
Constructor Summary
Constructors Constructor Description ProcessHtmlParams()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbuildToString(MoreObjects.ToStringHelper helper)ProcessHtmlParamscustomHtmlProcessor(Function<HtmlProcessorParams,String> customHtmlProcessor)ProcessHtmlParamscustomStyleDescriptorsCallback(Supplier<StyleDescriptors> customStyleDescriptorsCallback)Function<HtmlProcessorParams,String>getCustomHtmlProcessor()Supplier<StyleDescriptors>getCustomStyleDescriptorsCallback()StringgetImageSizes()List<Integer>getImageWidths()StringgetValue()ProcessHtmlParamsimageSizes(String imageSizes)ProcessHtmlParamsimageWidths(List<Integer> imageWidths)booleanisProcessMacros()ProcessHtmlParamsprocessMacros(boolean processMacros)ProcessHtmlParamssetAsMap(Multimap<String,String> map)ProcessHtmlParamsvalue(String value)-
Methods inherited from class com.enonic.xp.portal.url.AbstractUrlParams
contextPathType, getContextPathType, getDefaultContextPath, getParams, getPortalRequest, getType, param, portalRequest, singleValue, toString, type
-
-
-
-
Method Detail
-
getValue
public String getValue()
-
value
public ProcessHtmlParams value(String value)
-
getCustomStyleDescriptorsCallback
public Supplier<StyleDescriptors> getCustomStyleDescriptorsCallback()
-
imageWidths
public ProcessHtmlParams imageWidths(List<Integer> imageWidths)
-
customStyleDescriptorsCallback
public ProcessHtmlParams customStyleDescriptorsCallback(Supplier<StyleDescriptors> customStyleDescriptorsCallback)
-
getImageSizes
public String getImageSizes()
-
imageSizes
public ProcessHtmlParams imageSizes(String imageSizes)
-
getCustomHtmlProcessor
public Function<HtmlProcessorParams,String> getCustomHtmlProcessor()
-
customHtmlProcessor
public ProcessHtmlParams customHtmlProcessor(Function<HtmlProcessorParams,String> customHtmlProcessor)
-
isProcessMacros
public boolean isProcessMacros()
-
processMacros
public ProcessHtmlParams processMacros(boolean processMacros)
-
setAsMap
public ProcessHtmlParams setAsMap(Multimap<String,String> map)
- Overrides:
setAsMapin classAbstractUrlParams<ProcessHtmlParams>
-
buildToString
protected void buildToString(MoreObjects.ToStringHelper helper)
- Overrides:
buildToStringin classAbstractUrlParams<ProcessHtmlParams>
-
-