Examples of ExactStringMatchingStrategy


Examples of org.freeplane.features.filter.ExactStringMatchingStrategy

  protected CompareConditionAdapter(final Object value, final boolean matchCase, final boolean matchApproximately) {
    super();
    this.matchCase = matchCase;
    this.matchApproximately = matchApproximately;
    stringMatchingStrategy = matchApproximately ? StringMatchingStrategy.DEFAULT_APPROXIMATE_STRING_MATCHING_STRATEGY :
      new ExactStringMatchingStrategy();
    final ResourceController resourceController = ResourceController.getResourceController();
    if(value instanceof String && resourceController.getBooleanProperty("compare_as_number") && TextUtils.isNumber((String) value)) {
      Number number = TextUtils.toNumber((String) value);
      if(number instanceof Comparable<?>){
        conditionValue = (Comparable<?>) number;
View Full Code Here

Examples of org.freeplane.features.filter.ExactStringMatchingStrategy

    super();
    this.matchCase = false;
    this.matchApproximately = false;
    conditionValue = value;
    stringMatchingStrategy = matchApproximately ? StringMatchingStrategy.DEFAULT_APPROXIMATE_STRING_MATCHING_STRATEGY :
      new ExactStringMatchingStrategy();
  }
View Full Code Here

Examples of org.freeplane.features.filter.ExactStringMatchingStrategy

    super();
    this.matchCase = false;
    this.matchApproximately = false;
    conditionValue = value;
    stringMatchingStrategy = matchApproximately ? StringMatchingStrategy.DEFAULT_APPROXIMATE_STRING_MATCHING_STRATEGY :
      new ExactStringMatchingStrategy();
  }
View Full Code Here

Examples of org.freeplane.features.filter.ExactStringMatchingStrategy

  public HyperLinkContainsCondition(final String hyperlink, final boolean matchCase, final boolean matchApproximately) {
    super(hyperlink);
    this.matchCase = matchCase;
    this.matchApproximately = matchApproximately;
    this.stringMatchingStrategy = matchApproximately ? StringMatchingStrategy.DEFAULT_APPROXIMATE_STRING_MATCHING_STRATEGY :
      new ExactStringMatchingStrategy();
  }
View Full Code Here

Examples of org.freeplane.features.filter.ExactStringMatchingStrategy

  public HyperLinkEqualsCondition(final String hyperlink, final boolean matchCase, final boolean matchApproximately) {
    super(hyperlink);
    this.matchCase = matchCase;
    this.matchApproximately = matchApproximately;
    this.stringMatchingStrategy = matchApproximately ? StringMatchingStrategy.DEFAULT_APPROXIMATE_STRING_MATCHING_STRATEGY :
      new ExactStringMatchingStrategy();
  }
View Full Code Here

Examples of org.freeplane.features.filter.ExactStringMatchingStrategy

  MatchCaseNoteContainsCondition(final String value, final boolean matchApproximately) {
    super();
    this.value = value;
    this.matchApproximately = matchApproximately;
    this.stringMatchingStrategy = matchApproximately ? StringMatchingStrategy.DEFAULT_APPROXIMATE_STRING_MATCHING_STRATEGY :
      new ExactStringMatchingStrategy();
  }
View Full Code Here

Examples of org.freeplane.features.filter.ExactStringMatchingStrategy

    super();
    this.value = value;
    this.nodeItem = nodeItem;
    this.matchApproximately = matchApproximately;
    this.stringMatchingStrategy = matchApproximately ? StringMatchingStrategy.DEFAULT_APPROXIMATE_STRING_MATCHING_STRATEGY :
      new ExactStringMatchingStrategy();
  }
View Full Code Here

Examples of org.freeplane.features.filter.ExactStringMatchingStrategy

    this.matchCase = matchCase;
    //this.text = matchCase ? text : text.toLowerCase();
    this.text = text;
    this.matchApproximately = matchApproximately;
    stringMatchingStrategy = matchApproximately ? StringMatchingStrategy.DEFAULT_APPROXIMATE_STRING_MATCHING_STRATEGY :
      new ExactStringMatchingStrategy();
  }
View Full Code Here

Examples of org.freeplane.features.filter.ExactStringMatchingStrategy

        this.matchCase = matchCase;
        //this.comparedValue = matchCase ? value : value.toLowerCase();
        this.comparedValue = value;
        this.matchApproximately = matchApproximately;
        this.stringMatchingStrategy = matchApproximately ? StringMatchingStrategy.DEFAULT_APPROXIMATE_STRING_MATCHING_STRATEGY :
          new ExactStringMatchingStrategy();
  }
View Full Code Here

Examples of org.freeplane.features.filter.ExactStringMatchingStrategy

    this.value = value;
    //this.valueLowerCase = value.toLowerCase();
    this.nodeItem = nodeItem;
    this.matchApproximately = matchApproximately;
    stringMatchingStrategy = matchApproximately ? StringMatchingStrategy.DEFAULT_APPROXIMATE_STRING_MATCHING_STRATEGY :
      new ExactStringMatchingStrategy();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.