|
JIVE Platform Release 0.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.buffalo.cse.jive.ui.search.JiveSearchPattern
public class JiveSearchPattern
A pattern used for encapsulating a common IJiveSearchQuery
input or
portion of input. The input is broken into four parts: class name, instance
number, method name, and variable name. An empty string supplied as part of
the pattern will be converted to null
.
This class is convenient for passing query input strings to query objects at construction time.
Nested Class Summary | |
---|---|
static interface |
JiveSearchPattern.Importer
A builder for a JiveSearchPattern . |
Constructor Summary | |
---|---|
protected |
JiveSearchPattern(String type,
String instance,
String method,
String variable)
Constructs the search pattern with the supplied input. |
Method Summary | |
---|---|
static JiveSearchPattern |
createPattern(JiveSearchPattern.Importer builder)
Creates a new pattern using the supplied builder. |
String |
getClassName()
Returns the fully-qualified class name of the pattern, or null if none exists. |
String |
getInstanceNumber()
Returns the instance number for the pattern, or null if none
exists. |
String |
getMethodName()
Returns the method name of the pattern, or null if none
exists. |
String |
getVariableName()
Returns the variable name of the pattern, or null if none
exists. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected JiveSearchPattern(String type, String instance, String method, String variable)
type
- the fully-qualified class nameinstance
- the instance numbermethod
- the method namevariable
- the variable nameMethod Detail |
---|
public static JiveSearchPattern createPattern(JiveSearchPattern.Importer builder)
builder
- the builder for the pattern
public String getClassName()
null
if none exists.
public String getInstanceNumber()
null
if none
exists.
public String getMethodName()
null
if none
exists.
public String getVariableName()
null
if none
exists.
public String toString()
toString
in class Object
|
JIVE Platform Release 0.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |