Class RawBlockFilterParameters
- java.lang.Object
-
- org.xwiki.rendering.transformation.macro.RawBlockFilterParameters
-
@Unstable public class RawBlockFilterParameters extends Object
Parameters for theRawBlockFilter
.- Since:
- 14.8RC1
- Version:
- $Id: 60be7d793eab7a9876c69212d793c1ce17508b1a $
-
-
Constructor Summary
Constructors Constructor Description RawBlockFilterParameters(MacroTransformationContext macroTransformationContext)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
MacroTransformationContext
getMacroTransformationContext()
int
hashCode()
boolean
isClean()
boolean
isRestricted()
void
setClean(boolean clean)
void
setRestricted(boolean restricted)
-
-
-
Constructor Detail
-
RawBlockFilterParameters
public RawBlockFilterParameters(MacroTransformationContext macroTransformationContext)
Default constructor.- Parameters:
macroTransformationContext
- the macro transformation context that should be used.
-
-
Method Detail
-
isRestricted
public boolean isRestricted()
- Returns:
- if the filtering shall use a safe, restricted mode
-
setRestricted
public void setRestricted(boolean restricted)
- Parameters:
restricted
- if the filtering shall use a safe, restricted mode
-
isClean
public boolean isClean()
- Returns:
- if cleaning of the input should be performed
-
setClean
public void setClean(boolean clean)
- Parameters:
clean
- if cleaning of the input should be performed
-
getMacroTransformationContext
public MacroTransformationContext getMacroTransformationContext()
- Returns:
- the macro transformation context in which the filter is applied
-
-