Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Help
12c (12.1.2)

E48720-01


oracle.help.common.search
Class StringExpression

java.lang.Object
  extended by oracle.help.common.search.StringExpression

All Implemented Interfaces:
SearchExpression

public class StringExpression
extends java.lang.Object
implements SearchExpression

StringExpression implements SearchExpression interface. StringExpression is the base case for a BooleanExpression. StringExpressions occupy the leaf positions in a BooleanExpression tree.


Field Summary

 

Fields inherited from interface oracle.help.common.search.SearchExpression
AND, NAND, NONE, NOT, OR

 

Constructor Summary
StringExpression(java.lang.String[] words, boolean caseSensitive)
          Constructs a StringExpression SearchExpression object.
StringExpression(java.lang.String word, boolean caseSensitive)
          Constructs a StringExpression SearchExpression object.

 

Method Summary
 java.lang.String[] getData()
          Returns the data for the StringExpression object.
 SearchExpression getExpression1()
          Returns the expression1 in the boolean operation.
 SearchExpression getExpression2()
          Returns the expression2 in the boolean operation.
 int getOperator()
          Returns the boolean operator associated with StringExpression.
 boolean isCaseSensitive()
          Returns true if the SearchExpression is case sensitive, and false otherwise.
 void print()
          Print the words.
 void setCaseSensitive(boolean caseSensitive)
          Set to true if the SearchExpression is case sensitive, and false otherwise.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

StringExpression

public StringExpression(java.lang.String word,
                        boolean caseSensitive)
Constructs a StringExpression SearchExpression object.

StringExpression

public StringExpression(java.lang.String[] words,
                        boolean caseSensitive)
Constructs a StringExpression SearchExpression object.

Method Detail

getExpression1

public SearchExpression getExpression1()
Returns the expression1 in the boolean operation. This is the base case, so there are no expressions.
Specified by:
getExpression1 in interface SearchExpression

getExpression2

public SearchExpression getExpression2()
Returns the expression2 in the boolean operation. This is the base case, so there are no expressions.
Specified by:
getExpression2 in interface SearchExpression

getData

public java.lang.String[] getData()
Returns the data for the StringExpression object.
Specified by:
getData in interface SearchExpression

isCaseSensitive

public boolean isCaseSensitive()
Returns true if the SearchExpression is case sensitive, and false otherwise.
Specified by:
isCaseSensitive in interface SearchExpression

setCaseSensitive

public void setCaseSensitive(boolean caseSensitive)
Set to true if the SearchExpression is case sensitive, and false otherwise.

getOperator

public int getOperator()
Returns the boolean operator associated with StringExpression.
Specified by:
getOperator in interface SearchExpression

print

public void print()
Print the words.
Specified by:
print in interface SearchExpression

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Help
12c (12.1.2)

E48720-01


Copyright © 1998, 2013, Oracle. All Rights Reserved.