com.ibm.xtools.emf.query.conditions.strings
Class StringAdapter
java.lang.Object
com.ibm.xtools.emf.query.conditions.strings.StringAdapter
- public abstract class StringAdapter
- extends Object
An Adapter class to be used to extract from -adapt- the argument object to
some
String value that would later be used in Condition
evaluation.
Clients can subclass it and provide their own implementation
- See Also:
StringCondition
Field Summary |
static StringAdapter |
DEFAULT
The simplest StringAdapter implementation that represents
the case when the argument object to adapt is a
String object itself. |
Method Summary |
abstract String |
getString(Object object)
Extracts from/Adapts the argument object to a String
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT
public static final StringAdapter DEFAULT
- The simplest
StringAdapter
implementation that represents
the case when the argument object to adapt is a
String object itself.
StringAdapter
public StringAdapter()
getString
public abstract String getString(Object object)
- Extracts from/Adapts the argument object to a
String
- Parameters:
object
- The argument object to adapt to a String by this adapter
- Returns:
- String the
String object representation of the argument object
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.