public final class ProcessorConfigurationUtils extends Object
Utility class containing methods relating to the configuration of processors (e.g. wrapping).
This class is mainly for internal use.
Modifier and Type | Method and Description |
---|---|
static ICDATASectionProcessor |
unwrap(ICDATASectionProcessor processor)
Unwraps a wrapped implementation of
ICDATASectionProcessor . |
static ICommentProcessor |
unwrap(ICommentProcessor processor)
Unwraps a wrapped implementation of
ICommentProcessor . |
static IDocTypeProcessor |
unwrap(IDocTypeProcessor processor)
Unwraps a wrapped implementation of
IDocTypeProcessor . |
static IElementProcessor |
unwrap(IElementProcessor processor)
Unwraps a wrapped implementation of
IElementProcessor . |
static IPostProcessor |
unwrap(IPostProcessor postProcessor)
Unwraps a wrapped implementation of
IPostProcessor . |
static IPreProcessor |
unwrap(IPreProcessor preProcessor)
Unwraps a wrapped implementation of
IPreProcessor . |
static IProcessingInstructionProcessor |
unwrap(IProcessingInstructionProcessor processor)
Unwraps a wrapped implementation of
IProcessingInstructionProcessor . |
static ITemplateBoundariesProcessor |
unwrap(ITemplateBoundariesProcessor processor)
Unwraps a wrapped implementation of
ITemplateBoundariesProcessor . |
static ITextProcessor |
unwrap(ITextProcessor processor)
Unwraps a wrapped implementation of
ITextProcessor . |
static IXMLDeclarationProcessor |
unwrap(IXMLDeclarationProcessor processor)
Unwraps a wrapped implementation of
IXMLDeclarationProcessor . |
static ICDATASectionProcessor |
wrap(ICDATASectionProcessor processor,
IProcessorDialect dialect)
Wraps an implementation of
ICDATASectionProcessor into an object that adds some information
required internally (like e.g. |
static ICommentProcessor |
wrap(ICommentProcessor processor,
IProcessorDialect dialect)
Wraps an implementation of
ICommentProcessor into an object that adds some information
required internally (like e.g. |
static IDocTypeProcessor |
wrap(IDocTypeProcessor processor,
IProcessorDialect dialect)
Wraps an implementation of
IDocTypeProcessor into an object that adds some information
required internally (like e.g. |
static IElementProcessor |
wrap(IElementProcessor processor,
IProcessorDialect dialect)
Wraps an implementation of
IElementProcessor into an object that adds some information
required internally (like e.g. |
static IPostProcessor |
wrap(IPostProcessor postProcessor,
IProcessorDialect dialect)
Wraps an implementation of
IPostProcessor into an object that adds some information
required internally (like e.g. |
static IPreProcessor |
wrap(IPreProcessor preProcessor,
IProcessorDialect dialect)
Wraps an implementation of
IPreProcessor into an object that adds some information
required internally (like e.g. |
static IProcessingInstructionProcessor |
wrap(IProcessingInstructionProcessor processor,
IProcessorDialect dialect)
Wraps an implementation of
IProcessingInstructionProcessor into an object that adds some information
required internally (like e.g. |
static ITemplateBoundariesProcessor |
wrap(ITemplateBoundariesProcessor processor,
IProcessorDialect dialect)
Wraps an implementation of
ITemplateBoundariesProcessor into an object that adds some information
required internally (like e.g. |
static ITextProcessor |
wrap(ITextProcessor processor,
IProcessorDialect dialect)
Wraps an implementation of
ITextProcessor into an object that adds some information
required internally (like e.g. |
static IXMLDeclarationProcessor |
wrap(IXMLDeclarationProcessor processor,
IProcessorDialect dialect)
Wraps an implementation of
IXMLDeclarationProcessor into an object that adds some information
required internally (like e.g. |
public static IElementProcessor wrap(IElementProcessor processor, IProcessorDialect dialect)
Wraps an implementation of IElementProcessor
into an object that adds some information
required internally (like e.g. the dialect this processor was registered for).
This method is meant for internal use only.
processor
- the processor to be wrapped.dialect
- the dialect this processor was configured for.public static ICDATASectionProcessor wrap(ICDATASectionProcessor processor, IProcessorDialect dialect)
Wraps an implementation of ICDATASectionProcessor
into an object that adds some information
required internally (like e.g. the dialect this processor was registered for).
This method is meant for internal use only.
processor
- the processor to be wrapped.dialect
- the dialect this processor was configured for.public static ICommentProcessor wrap(ICommentProcessor processor, IProcessorDialect dialect)
Wraps an implementation of ICommentProcessor
into an object that adds some information
required internally (like e.g. the dialect this processor was registered for).
This method is meant for internal use only.
processor
- the processor to be wrapped.dialect
- the dialect this processor was configured for.public static IDocTypeProcessor wrap(IDocTypeProcessor processor, IProcessorDialect dialect)
Wraps an implementation of IDocTypeProcessor
into an object that adds some information
required internally (like e.g. the dialect this processor was registered for).
This method is meant for internal use only.
processor
- the processor to be wrapped.dialect
- the dialect this processor was configured for.public static IProcessingInstructionProcessor wrap(IProcessingInstructionProcessor processor, IProcessorDialect dialect)
Wraps an implementation of IProcessingInstructionProcessor
into an object that adds some information
required internally (like e.g. the dialect this processor was registered for).
This method is meant for internal use only.
processor
- the processor to be wrapped.dialect
- the dialect this processor was configured for.public static ITemplateBoundariesProcessor wrap(ITemplateBoundariesProcessor processor, IProcessorDialect dialect)
Wraps an implementation of ITemplateBoundariesProcessor
into an object that adds some information
required internally (like e.g. the dialect this processor was registered for).
This method is meant for internal use only.
processor
- the processor to be wrapped.dialect
- the dialect this processor was configured for.public static ITextProcessor wrap(ITextProcessor processor, IProcessorDialect dialect)
Wraps an implementation of ITextProcessor
into an object that adds some information
required internally (like e.g. the dialect this processor was registered for).
This method is meant for internal use only.
processor
- the processor to be wrapped.dialect
- the dialect this processor was configured for.public static IXMLDeclarationProcessor wrap(IXMLDeclarationProcessor processor, IProcessorDialect dialect)
Wraps an implementation of IXMLDeclarationProcessor
into an object that adds some information
required internally (like e.g. the dialect this processor was registered for).
This method is meant for internal use only.
processor
- the processor to be wrapped.dialect
- the dialect this processor was configured for.public static IPreProcessor wrap(IPreProcessor preProcessor, IProcessorDialect dialect)
Wraps an implementation of IPreProcessor
into an object that adds some information
required internally (like e.g. the dialect this processor was registered for).
This method is meant for internal use only.
preProcessor
- the pre-processor to be wrapped.dialect
- the dialect this pre-processor was configured for.public static IPostProcessor wrap(IPostProcessor postProcessor, IProcessorDialect dialect)
Wraps an implementation of IPostProcessor
into an object that adds some information
required internally (like e.g. the dialect this processor was registered for).
This method is meant for internal use only.
postProcessor
- the post-processor to be wrapped.dialect
- the dialect this post-processor was configured for.public static IElementProcessor unwrap(IElementProcessor processor)
Unwraps a wrapped implementation of IElementProcessor
.
This method is meant for internal use only.
processor
- the processor to be unwrapped.public static ICDATASectionProcessor unwrap(ICDATASectionProcessor processor)
Unwraps a wrapped implementation of ICDATASectionProcessor
.
This method is meant for internal use only.
processor
- the processor to be unwrapped.public static ICommentProcessor unwrap(ICommentProcessor processor)
Unwraps a wrapped implementation of ICommentProcessor
.
This method is meant for internal use only.
processor
- the processor to be unwrapped.public static IDocTypeProcessor unwrap(IDocTypeProcessor processor)
Unwraps a wrapped implementation of IDocTypeProcessor
.
This method is meant for internal use only.
processor
- the processor to be unwrapped.public static IProcessingInstructionProcessor unwrap(IProcessingInstructionProcessor processor)
Unwraps a wrapped implementation of IProcessingInstructionProcessor
.
This method is meant for internal use only.
processor
- the processor to be unwrapped.public static ITemplateBoundariesProcessor unwrap(ITemplateBoundariesProcessor processor)
Unwraps a wrapped implementation of ITemplateBoundariesProcessor
.
This method is meant for internal use only.
processor
- the processor to be unwrapped.public static ITextProcessor unwrap(ITextProcessor processor)
Unwraps a wrapped implementation of ITextProcessor
.
This method is meant for internal use only.
processor
- the processor to be unwrapped.public static IXMLDeclarationProcessor unwrap(IXMLDeclarationProcessor processor)
Unwraps a wrapped implementation of IXMLDeclarationProcessor
.
This method is meant for internal use only.
processor
- the processor to be unwrapped.public static IPreProcessor unwrap(IPreProcessor preProcessor)
Unwraps a wrapped implementation of IPreProcessor
.
This method is meant for internal use only.
preProcessor
- the pre-processor to be unwrapped.public static IPostProcessor unwrap(IPostProcessor postProcessor)
Unwraps a wrapped implementation of IPostProcessor
.
This method is meant for internal use only.
postProcessor
- the post-processor to be unwrapped.Copyright © 2017 The THYMELEAF team. All rights reserved.