Class ProtectedPart


  • public class ProtectedPart
    extends java.lang.Object
    Class for store protected part's info.

    "Protected part" is common term for:

    • <m0>Acme</m0> - protected text (Acme) with related tags (<m0>, </m0>)
    • <i1> - tag
    • $1 - placeholder
    • Constructor Detail

      • ProtectedPart

        public ProtectedPart()
    • Method Detail

      • getTextInSourceSegment

        public java.lang.String getTextInSourceSegment()
      • setTextInSourceSegment

        public void setTextInSourceSegment​(java.lang.String textInSourceSegment)
      • getDetailsFromSourceFile

        public java.lang.String getDetailsFromSourceFile()
      • setDetailsFromSourceFile

        public void setDetailsFromSourceFile​(java.lang.String detailsFromSourceFile)
      • getReplacementWordsCountCalculation

        public java.lang.String getReplacementWordsCountCalculation()
      • setReplacementWordsCountCalculation

        public void setReplacementWordsCountCalculation​(java.lang.String replacementWordsCountCalculation)
      • getReplacementUniquenessCalculation

        public java.lang.String getReplacementUniquenessCalculation()
      • setReplacementUniquenessCalculation

        public void setReplacementUniquenessCalculation​(java.lang.String replacementUniquenessCalculation)
      • getReplacementMatchCalculation

        public java.lang.String getReplacementMatchCalculation()
      • setReplacementMatchCalculation

        public void setReplacementMatchCalculation​(java.lang.String replacementMatchCalculation)
      • extractFor

        public static java.util.List<ProtectedPart> extractFor​(java.util.List<ProtectedPart> original,
                                                               java.lang.String text)