|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An instance of this interface represents a binding between an activity and a
regular expression pattern. It's typically unnecessary to use this interface
directly. Rather, clients wishing to test strings against activity patterns
should use instances of IIdentifier
.
This interface is not intended to be extended or implemented by clients.
IActivity
,
IIdentifier
,
IActivityManager.getIdentifier(String)
Method Summary | |
String |
getActivityId()
Returns the identifier of the activity represented in this binding. |
Pattern |
getPattern()
Returns the pattern represented in this binding. |
String |
getString()
If isEqualityPattern() is true this will return
the raw pattern string. |
boolean |
isEqualityPattern()
Answers whether or not the pattern should be treated as a regular string or a regular expression. |
Methods inherited from interface java.lang.Comparable |
compareTo |
Method Detail |
public String getActivityId()
null
.public Pattern getPattern()
java.util.regex.Pattern
class. If
isEqualityPattern()
is true
a Pattern will be
generated based on the escaped version of the String returned by
getString()
.
null
.public String getString()
isEqualityPattern()
is true
this will return
the raw pattern string. Otherwise it will return the string
version of the compiled pattern.
isEqualityPattern()
.public boolean isEqualityPattern()
true
, this pattern binding
will represent an equality match between the pattern and a target ID
rather than a regular expression match.
|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.