Class NoOpInliner

  • All Implemented Interfaces:
    IInliner

    public final class NoOpInliner
    extends Object
    implements IInliner
    Since:
    3.0.0
    Author:
    Daniel Fernández
    • Field Detail

    • Method Detail

      • getName

        public String getName()
        Description copied from interface: IInliner

        Returns an identifiable name for the inliner

        Specified by:
        getName in interface IInliner
        Returns:
        the name of the inliner.
      • inline

        public CharSequence inline​(ITemplateContext context,
                                   IText text)
        Description copied from interface: IInliner

        Perform the inlining operation on an IText node.

        Specified by:
        inline in interface IInliner
        Parameters:
        context - the template context.
        text - the event to be inlined.
        Returns:
        the modified event (or the same event if no modifications were required)
      • inline

        public CharSequence inline​(ITemplateContext context,
                                   ICDATASection cdataSection)
        Description copied from interface: IInliner

        Perform the inlining operation on an ICDATASection node.

        Specified by:
        inline in interface IInliner
        Parameters:
        context - the template context.
        cdataSection - the event to be inlined.
        Returns:
        the modified event (or the same event if no modifications were required)
      • inline

        public CharSequence inline​(ITemplateContext context,
                                   IComment comment)
        Description copied from interface: IInliner

        Perform the inlining operation on an IComment node.

        Specified by:
        inline in interface IInliner
        Parameters:
        context - the template context.
        comment - the event to be inlined.
        Returns:
        the modified event (or the same event if no modifications were required)