Class ImmutableFieldPart

  • All Implemented Interfaces:
    FieldPart

    public class ImmutableFieldPart
    extends java.lang.Object
    implements FieldPart
    Represents an element of a hit property which is an immutable string element
    Author:
    Steinar Knutsen
    • Constructor Summary

      Constructors 
      Constructor Description
      ImmutableFieldPart​(java.lang.String initContent, boolean tokenOrDelimiter)  
      ImmutableFieldPart​(java.lang.String initContent, java.lang.String content, boolean tokenOrDelimiter)  
    • Constructor Detail

      • ImmutableFieldPart

        public ImmutableFieldPart​(java.lang.String initContent,
                                  boolean tokenOrDelimiter)
      • ImmutableFieldPart

        public ImmutableFieldPart​(java.lang.String initContent,
                                  java.lang.String content,
                                  boolean tokenOrDelimiter)
    • Method Detail

      • isFinal

        public boolean isFinal()
        Specified by:
        isFinal in interface FieldPart
      • isToken

        public boolean isToken()
        Specified by:
        isToken in interface FieldPart
      • getContent

        public java.lang.String getContent()
        Specified by:
        getContent in interface FieldPart
      • getInitContent

        public java.lang.String getInitContent()
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface FieldPart
        Overrides:
        toString in class java.lang.Object