Class DocumentPostProcessorFactory

    • Constructor Detail

      • DocumentPostProcessorFactory

        public DocumentPostProcessorFactory()
    • Method Detail

      • getNodeTypes

        public final java.util.Map<java.lang.Class<?>,​java.util.Set<java.lang.Class<?>>> getNodeTypes()
        Node types that this post processor processes
        Specified by:
        getNodeTypes in interface PostProcessorFactory
        Returns:
        set of block node types
      • getAfterDependents

        @Nullable
        public java.util.Set<java.lang.Class<?>> getAfterDependents()
        Specified by:
        getAfterDependents in interface Dependent
        Returns:
        null or a list of dependents that must be executed before calling this one if any of the blocks in the list affect global state then these will be run on ALL blocks of the document before this preprocessor is called.
      • getBeforeDependents

        @Nullable
        public java.util.Set<java.lang.Class<?>> getBeforeDependents()
        Specified by:
        getBeforeDependents in interface Dependent
        Returns:
        null or a list of dependents that must be executed after calling this one if any of the blocks in the list affect global state then these will be run on ALL blocks of the document before this preprocessor is called.
      • affectsGlobalScope

        public final boolean affectsGlobalScope()
        Specified by:
        affectsGlobalScope in interface Dependent
        Returns:
        true if this dependent affects the global scope, which means that any that depend on it have to be run after this dependent has run against all elements. Otherwise, the dependent can run on an element after its dependents have processed an element. parsed.