Class WrappingIterableResult<E extends Extension>

  • Type Parameters:
    E - the extension type
    All Implemented Interfaces:
    Iterable<E>, IterableResult<E>

    public class WrappingIterableResult<E extends Extension>
    extends org.xwiki.script.internal.safe.AbstractSafeObject<IterableResult<E>>
    implements IterableResult<E>
    Provide a public script access to a iterable result.
    Since:
    4.0M2
    Version:
    $Id: b83b4a300bacdfdffe1c1a35283666fa3b896954 $
    • Constructor Detail

      • WrappingIterableResult

        public WrappingIterableResult​(IterableResult<E> result,
                                      org.xwiki.script.internal.safe.ScriptSafeProvider<?> safeProvider)
        Parameters:
        result - the wrapped result
        safeProvider - the provider of instances safe for public scripts