public class TextMatch
extends atg.search.routing.command.SearchXMLObject
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
TextMatch() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object pObject) |
protected void |
getAttributeXML(java.lang.StringBuilder sb) |
protected void |
getBodyXML(java.lang.StringBuilder sb) |
int |
getGoTo()
Returns the goto for the text
|
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
|
int |
hashCode() |
void |
setGoTo(int pGoTo)
Sets the goto for the text
|
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
|
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getDefaultXmlBytes, getParentXMLObject, getXmlPath, isPrintedFirstChild, setParentXMLObject, setPrintedFirstChild, toString, toXML, toXML
public boolean equals(java.lang.Object pObject)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public 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 int getGoTo()
public void setGoTo(int pGoTo)
pGoTo
- the goto for the textpublic 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.SearchXMLObject
atg.search.routing.command.IncompleteCommandException
protected void getBodyXML(java.lang.StringBuilder sb) throws atg.search.routing.command.IncompleteCommandException
getBodyXML
in class atg.search.routing.command.SearchXMLObject
atg.search.routing.command.IncompleteCommandException