|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.search.routing.command.SearchXMLObject atg.search.routing.command.search.RequestVariable
public class RequestVariable
Represents a request variable used by a rank config.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
RequestVariable()
|
|
RequestVariable(java.lang.String pName,
java.lang.String pValue)
Constructs a new instance with the specified name and value |
Method Summary | |
---|---|
protected static RequestVariable |
fromXmlParser(atg.search.routing.utils.SearchMessageNode pXml)
Constructs a new instance from the already-initialized parser |
protected void |
getAttributeXML(java.lang.StringBuilder sb)
|
protected void |
getBodyXML(java.lang.StringBuilder sb)
|
java.lang.String |
getName()
Returns the name of the variable |
java.lang.String |
getRequestTag()
|
java.lang.String |
getValue()
Returns the value for the variable |
void |
setName(java.lang.String pName)
Sets the name of the variable |
void |
setValue(java.lang.String pValue)
Sets the value for the variable |
Methods inherited from class atg.search.routing.command.SearchXMLObject |
---|
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getDefaultXmlBytes, getParentXMLObject, getXmlPath, isPrintedFirstChild, setParentXMLObject, setPrintedFirstChild, toString, toXML, toXML |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public RequestVariable()
public RequestVariable(java.lang.String pName, java.lang.String pValue)
pName
- name of the variablepValue
- its valueMethod Detail |
---|
public java.lang.String getRequestTag()
getRequestTag
in class atg.search.routing.command.SearchXMLObject
public java.lang.String getName()
public void setName(java.lang.String pName)
pName
- the name of the variablepublic java.lang.String getValue()
public void setValue(java.lang.String pValue)
pValue
- the value for the variableprotected static RequestVariable fromXmlParser(atg.search.routing.utils.SearchMessageNode pXml)
pXml
- parserpChildIdx
- the element's index
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |