Class NoOpInliner

  • All Implemented Interfaces:
    IInliner

    public final class NoOpInliner
    extends java.lang.Object
    implements IInliner
    Since:
    3.0.0
    • Field Detail

    • Constructor Detail

      • NoOpInliner

        private NoOpInliner()
    • Method Detail

      • getName

        public java.lang.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 java.lang.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 java.lang.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 java.lang.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)