class StandardInliningTextProcessor extends AbstractTextProcessor {

    public static final int PRECEDENCE = 1000;

    public StandardInliningTextProcessor(final TemplateMode templateMode) {
        super(templateMode, PRECEDENCE);
    }


    @Override
    protected void doProcess(
            final ITemplateContext context,
            final IText text, final ITextStructureHandler structureHandler) {<FILL_FUNCTION_BODY>}

}


        if (EngineEventUtils.isWhitespace(text)) {
            // Fail fast - a whitespace text is never inlineable. And templates tend to have a lot of white space blocks
            // NOTE we are not using isInlineable() here because before doing so the template mode would have to be
            // checked (so that th:inline works alright). But white spaces are a safe bet.
            return;
        }

        final IInliner inliner = context.getInliner();

        if (inliner == null || inliner == NoOpInliner.INSTANCE) {
            return;
        }

        final CharSequence inlined = inliner.inline(context, text);
        if (inlined != null && inlined != text) {
            structureHandler.setText(inlined);
        }

    
<methods>public void <init>(org.thymeleaf.templatemode.TemplateMode, int) ,public final void process(org.thymeleaf.context.ITemplateContext, org.thymeleaf.model.IText, org.thymeleaf.processor.text.ITextStructureHandler) <variables>