Interface RequiredRightAnalyzer<T>
-
- Type Parameters:
T- the type of the analyzed object
@Unstable @Role public interface RequiredRightAnalyzer<T>Analyze an object for required rights and returns a list of the missing required right.To check rights on a whole document, use the
RequiredRightAnalyzer<Document>.To implement an analyzer for a macro or an XObject, implement
RequiredRightAnalyzer<MacroBlock>orRequiredRightAnalyzer<BaseObject>, respectively, with a hint that corresponds to the macro id or class name. Each analyzer is responsible for recursively analyzing the contents of the object, like nested macros in the content of a macro or in a property of an XObject. TheRequiredRightAnalyzer<XDOM>can be used for this purpose.- Since:
- 15.9RC1
- Version:
- $Id: e978fb10bc550759738566503e5a53bff92327b2 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<RequiredRightAnalysisResult>analyze(T object)
-
-
-
Method Detail
-
analyze
List<RequiredRightAnalysisResult> analyze(T object) throws RequiredRightsException
- Parameters:
object- the object to analyze- Returns:
- a list of analysis results
- Throws:
RequiredRightsException- in case of error during the analysis
-
-