|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.search.routing.command.SearchXMLObject
atg.search.routing.command.search.TextMatch
public class TextMatch
A text match result.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
| Constructor Summary | |
|---|---|
TextMatch()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object pObject)
|
protected void |
getAttributeXML(java.lang.StringBuilder sb)
|
protected void |
getBodyXML(java.lang.StringBuilder sb)
|
java.lang.String |
getName()
Returns the name of the text match |
java.lang.String |
getRequestTag()
Gets the xml element tag used in the request |
float |
getScore()
Returns the score of the match |
java.lang.String |
getText()
Returns the text of the match |
void |
setName(java.lang.String pName)
Sets the name of the text match |
void |
setScore(float pScore)
Sets the score of the match |
void |
setText(java.lang.String pText)
Sets the text of the match |
| Methods inherited from class atg.search.routing.command.SearchXMLObject |
|---|
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getDefaultXmlBytes, getParentXMLObject, getXmlPath, setParentXMLObject, toString, toXML, toXML |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail |
|---|
public TextMatch()
| Method Detail |
|---|
public boolean equals(java.lang.Object pObject)
equals in class java.lang.Objectpublic void setScore(float pScore)
pScore - the score of the matchpublic java.lang.String getText()
public void setText(java.lang.String pText)
pText - the text of the matchpublic java.lang.String getName()
public void setName(java.lang.String pName)
pName - the name of the text matchpublic float getScore()
public java.lang.String getRequestTag()
getRequestTag in class atg.search.routing.command.SearchXMLObject
protected void getAttributeXML(java.lang.StringBuilder sb)
throws atg.search.routing.command.IncompleteCommandException
getAttributeXML in class atg.search.routing.command.SearchXMLObjectatg.search.routing.command.IncompleteCommandException
protected void getBodyXML(java.lang.StringBuilder sb)
throws atg.search.routing.command.IncompleteCommandException
getBodyXML in class atg.search.routing.command.SearchXMLObjectatg.search.routing.command.IncompleteCommandException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||