Class ProcessorConfigurationUtils
Utility class containing methods relating to the configuration of processors (e.g. wrapping).
This class is mainly for internal use.
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
Method Summary
Modifier and TypeMethodDescriptionstatic IPostProcessorunwrap(IPostProcessor postProcessor) Unwraps a wrapped implementation ofIPostProcessor.static IPreProcessorunwrap(IPreProcessor preProcessor) Unwraps a wrapped implementation ofIPreProcessor.static ICDATASectionProcessorunwrap(ICDATASectionProcessor processor) Unwraps a wrapped implementation ofICDATASectionProcessor.static ICommentProcessorunwrap(ICommentProcessor processor) Unwraps a wrapped implementation ofICommentProcessor.static IDocTypeProcessorunwrap(IDocTypeProcessor processor) Unwraps a wrapped implementation ofIDocTypeProcessor.static IElementProcessorunwrap(IElementProcessor processor) Unwraps a wrapped implementation ofIElementProcessor.unwrap(IProcessingInstructionProcessor processor) Unwraps a wrapped implementation ofIProcessingInstructionProcessor.static ITemplateBoundariesProcessorunwrap(ITemplateBoundariesProcessor processor) Unwraps a wrapped implementation ofITemplateBoundariesProcessor.static ITextProcessorunwrap(ITextProcessor processor) Unwraps a wrapped implementation ofITextProcessor.static IXMLDeclarationProcessorunwrap(IXMLDeclarationProcessor processor) Unwraps a wrapped implementation ofIXMLDeclarationProcessor.static IPostProcessorwrap(IPostProcessor postProcessor, IProcessorDialect dialect) Wraps an implementation ofIPostProcessorinto an object that adds some information required internally (like e.g.static IPreProcessorwrap(IPreProcessor preProcessor, IProcessorDialect dialect) Wraps an implementation ofIPreProcessorinto an object that adds some information required internally (like e.g.static ICDATASectionProcessorwrap(ICDATASectionProcessor processor, IProcessorDialect dialect) Wraps an implementation ofICDATASectionProcessorinto an object that adds some information required internally (like e.g.static ICommentProcessorwrap(ICommentProcessor processor, IProcessorDialect dialect) Wraps an implementation ofICommentProcessorinto an object that adds some information required internally (like e.g.static IDocTypeProcessorwrap(IDocTypeProcessor processor, IProcessorDialect dialect) Wraps an implementation ofIDocTypeProcessorinto an object that adds some information required internally (like e.g.static IElementProcessorwrap(IElementProcessor processor, IProcessorDialect dialect) Wraps an implementation ofIElementProcessorinto an object that adds some information required internally (like e.g.wrap(IProcessingInstructionProcessor processor, IProcessorDialect dialect) Wraps an implementation ofIProcessingInstructionProcessorinto an object that adds some information required internally (like e.g.static ITemplateBoundariesProcessorwrap(ITemplateBoundariesProcessor processor, IProcessorDialect dialect) Wraps an implementation ofITemplateBoundariesProcessorinto an object that adds some information required internally (like e.g.static ITextProcessorwrap(ITextProcessor processor, IProcessorDialect dialect) Wraps an implementation ofITextProcessorinto an object that adds some information required internally (like e.g.static IXMLDeclarationProcessorwrap(IXMLDeclarationProcessor processor, IProcessorDialect dialect) Wraps an implementation ofIXMLDeclarationProcessorinto an object that adds some information required internally (like e.g.
-
Method Details
-
wrap
Wraps an implementation of
IElementProcessorinto 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.
- Parameters:
processor- the processor to be wrapped.dialect- the dialect this processor was configured for.- Returns:
- the wrapped processor.
-
wrap
public static ICDATASectionProcessor wrap(ICDATASectionProcessor processor, IProcessorDialect dialect) Wraps an implementation of
ICDATASectionProcessorinto 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.
- Parameters:
processor- the processor to be wrapped.dialect- the dialect this processor was configured for.- Returns:
- the wrapped processor.
-
wrap
Wraps an implementation of
ICommentProcessorinto 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.
- Parameters:
processor- the processor to be wrapped.dialect- the dialect this processor was configured for.- Returns:
- the wrapped processor.
-
wrap
Wraps an implementation of
IDocTypeProcessorinto 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.
- Parameters:
processor- the processor to be wrapped.dialect- the dialect this processor was configured for.- Returns:
- the wrapped processor.
-
wrap
public static IProcessingInstructionProcessor wrap(IProcessingInstructionProcessor processor, IProcessorDialect dialect) Wraps an implementation of
IProcessingInstructionProcessorinto 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.
- Parameters:
processor- the processor to be wrapped.dialect- the dialect this processor was configured for.- Returns:
- the wrapped processor.
-
wrap
public static ITemplateBoundariesProcessor wrap(ITemplateBoundariesProcessor processor, IProcessorDialect dialect) Wraps an implementation of
ITemplateBoundariesProcessorinto 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.
- Parameters:
processor- the processor to be wrapped.dialect- the dialect this processor was configured for.- Returns:
- the wrapped processor.
-
wrap
Wraps an implementation of
ITextProcessorinto 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.
- Parameters:
processor- the processor to be wrapped.dialect- the dialect this processor was configured for.- Returns:
- the wrapped processor.
-
wrap
public static IXMLDeclarationProcessor wrap(IXMLDeclarationProcessor processor, IProcessorDialect dialect) Wraps an implementation of
IXMLDeclarationProcessorinto 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.
- Parameters:
processor- the processor to be wrapped.dialect- the dialect this processor was configured for.- Returns:
- the wrapped processor.
-
wrap
Wraps an implementation of
IPreProcessorinto 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.
- Parameters:
preProcessor- the pre-processor to be wrapped.dialect- the dialect this pre-processor was configured for.- Returns:
- the wrapped pre-processor.
-
wrap
Wraps an implementation of
IPostProcessorinto 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.
- Parameters:
postProcessor- the post-processor to be wrapped.dialect- the dialect this post-processor was configured for.- Returns:
- the wrapped post-processor.
-
unwrap
Unwraps a wrapped implementation of
IElementProcessor.This method is meant for internal use only.
- Parameters:
processor- the processor to be unwrapped.- Returns:
- the unwrapped processor.
-
unwrap
Unwraps a wrapped implementation of
ICDATASectionProcessor.This method is meant for internal use only.
- Parameters:
processor- the processor to be unwrapped.- Returns:
- the unwrapped processor.
-
unwrap
Unwraps a wrapped implementation of
ICommentProcessor.This method is meant for internal use only.
- Parameters:
processor- the processor to be unwrapped.- Returns:
- the unwrapped processor.
-
unwrap
Unwraps a wrapped implementation of
IDocTypeProcessor.This method is meant for internal use only.
- Parameters:
processor- the processor to be unwrapped.- Returns:
- the unwrapped processor.
-
unwrap
Unwraps a wrapped implementation of
IProcessingInstructionProcessor.This method is meant for internal use only.
- Parameters:
processor- the processor to be unwrapped.- Returns:
- the unwrapped processor.
-
unwrap
Unwraps a wrapped implementation of
ITemplateBoundariesProcessor.This method is meant for internal use only.
- Parameters:
processor- the processor to be unwrapped.- Returns:
- the unwrapped processor.
-
unwrap
Unwraps a wrapped implementation of
ITextProcessor.This method is meant for internal use only.
- Parameters:
processor- the processor to be unwrapped.- Returns:
- the unwrapped processor.
-
unwrap
Unwraps a wrapped implementation of
IXMLDeclarationProcessor.This method is meant for internal use only.
- Parameters:
processor- the processor to be unwrapped.- Returns:
- the unwrapped processor.
-
unwrap
Unwraps a wrapped implementation of
IPreProcessor.This method is meant for internal use only.
- Parameters:
preProcessor- the pre-processor to be unwrapped.- Returns:
- the unwrapped pre-processor.
-
unwrap
Unwraps a wrapped implementation of
IPostProcessor.This method is meant for internal use only.
- Parameters:
postProcessor- the post-processor to be unwrapped.- Returns:
- the unwrapped post-processor.
-