Class AbstractStandardInliner

    • Method Detail

      • getName

        public final 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 final 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 final 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 final 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)
      • produceEscapedOutput

        protected abstract String produceEscapedOutput​(Object input)