deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.io.datastore.sql.wherebuilder
Class PlainText

java.lang.Object
  extended by org.deegree.io.datastore.sql.wherebuilder.PlainText
All Implemented Interfaces:
SpecialCharStringPart

final class PlainText
extends Object
implements SpecialCharStringPart

Part of a

Version:
$Revision: 6588 $, $Date: 2007-04-11 17:31:29 +0200 (Mi, 11 Apr 2007) $
Author:
Markus Schneider , last edited by: $Author: mschneider $

Constructor Summary
PlainText(String text)
           
 
Method Summary
 String toSQLStyle()
          Returns an encoding that is suitable for arguments of "IS LIKE"-clauses in SQL.
 String toSQLStyle(boolean toLowerCase)
          Returns an encoding that is suitable for arguments of "IS LIKE"-clauses in SQL.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlainText

PlainText(String text)
Method Detail

toSQLStyle

public String toSQLStyle()
Returns an encoding that is suitable for arguments of "IS LIKE"-clauses in SQL.

This means:

Specified by:
toSQLStyle in interface SpecialCharStringPart
Returns:
encoded string

toSQLStyle

public String toSQLStyle(boolean toLowerCase)
Returns an encoding that is suitable for arguments of "IS LIKE"-clauses in SQL.

This means:

Specified by:
toSQLStyle in interface SpecialCharStringPart
Parameters:
toLowerCase - true means: convert to lowercase letters
Returns:
encoded string

toString

public String toString()
Overrides:
toString in class Object

deegree 2.2 (2008/12/22 11:33 build-3038-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net