Class SearchParams

java.lang.Object
ro.sync.exml.workspace.api.standalone.project.SearchParams

@API(type=EXTENDABLE, src=PUBLIC) public class SearchParams extends Object
Params for finding content in the project.
Since:
28

*********************************
EXPERIMENTAL - Subject to change
********************************

Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.

  • Constructor Details

    • SearchParams

      public SearchParams(String fileNameWildcard, String searchString, String xpathExpression, boolean caseSensitive, boolean regexp, int maxMatches)
      Constructor.
      Parameters:
      fileNameWildcard - The file name wildcard
      searchString - Search string
      xpathExpression - Filter xpath expression
      caseSensitive - Case sensitive
      regexp - Regexp enabled
      maxMatches - Maximum matches.
  • Method Details

    • getSearchString

      public String getSearchString()
      Returns:
      Returns the searchString.
    • isRegexp

      public boolean isRegexp()
      Returns:
      Returns the regexp flag.
    • isCaseSensitive

      public boolean isCaseSensitive()
      Returns:
      Returns the caseSensitive flag.
    • getMaxMatches

      public int getMaxMatches()
      Returns:
      Returns the max matches size.
    • getFileNameWildcard

      public String getFileNameWildcard()
      Returns:
      Returns the file name wildcard.
    • getXpathExpression

      public String getXpathExpression()
      Returns:
      Returns the xpath expression used to filter matches.