Class NoopTags


  • final class NoopTags
    extends java.lang.Object
    No-op implementations of tagging classes.
    • Constructor Detail

      • NoopTags

        private NoopTags()
    • Method Detail

      • newNoopTagsComponent

        static TagsComponent newNoopTagsComponent()
        Returns a TagsComponent that has a no-op implementation for Tagger.
        Returns:
        a TagsComponent that has a no-op implementation for Tagger.
      • getNoopTagger

        static Tagger getNoopTagger()
        Returns a Tagger that only produces TagContexts with no tags.
        Returns:
        a Tagger that only produces TagContexts with no tags.
      • getNoopTagContext

        static TagContext getNoopTagContext()
        Returns a TagContext that does not contain any tags.
        Returns:
        a TagContext that does not contain any tags.
      • getNoopTagPropagationComponent

        static TagPropagationComponent getNoopTagPropagationComponent()
        Returns a TagPropagationComponent that contains no-op serializers.
      • getNoopTagContextBinarySerializer

        static TagContextBinarySerializer getNoopTagContextBinarySerializer()
        Returns a TagContextBinarySerializer that serializes all TagContexts to zero bytes and deserializes all inputs to empty TagContexts.
      • getNoopTagContextTextSerializer

        static TagContextTextFormat getNoopTagContextTextSerializer()
        Returns a TagContextTextFormat that serializes all TagContexts to empty strings and deserializes all inputs to empty TagContexts.