|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.iastate.metnet.metaomgraph.TreeSearcher.Query
public static class TreeSearcher.Query
Specifies a search for a TreeSearcher object.
| Field Summary | |
|---|---|
boolean |
exact
Specifies whether an exact match is required, or if a substring match will suffice. |
java.lang.String |
field
The field to search for. |
java.lang.String |
term
The value to search for. |
| Constructor Summary | |
|---|---|
TreeSearcher.Query()
Default constructor. |
|
TreeSearcher.Query(java.lang.String field,
java.lang.String term,
boolean exact)
Constructor. |
|
| Method Summary | |
|---|---|
void |
fromXML(org.jdom.Element source)
Initializes this object from an XML Element. |
static java.lang.String |
getXMLElementName()
|
org.jdom.Element |
toXML()
Converts this object to an XML Element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String field
public java.lang.String term
public boolean exact
| Constructor Detail |
|---|
public TreeSearcher.Query()
field,
term, and exact must be set manually.
public TreeSearcher.Query(java.lang.String field,
java.lang.String term,
boolean exact)
field - the field name to search for. If this value is null, only
non-leaves will be searched.term - the value to search forexact - if true, this query will only succeed if the term matches
the user object's field exactly, otherwise it will succeed
if a substring is matched| Method Detail |
|---|
public org.jdom.Element toXML()
XMLizable
toXML in interface XMLizablepublic void fromXML(org.jdom.Element source)
XMLizable
fromXML in interface XMLizablesource - an XML Element that specifies this objectpublic static java.lang.String getXMLElementName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||