public class RequestVariable
extends atg.search.routing.command.SearchXMLObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
RequestVariable() |
RequestVariable(java.lang.String pName,
java.lang.String pValue)
Constructs a new instance with the specified name and value
|
Modifier and Type | Method and Description |
---|---|
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
|
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getDefaultXmlBytes, getParentXMLObject, getXmlPath, isPrintedFirstChild, setParentXMLObject, setPrintedFirstChild, toString, toXML, toXML
public RequestVariable()
public RequestVariable(java.lang.String pName, java.lang.String pValue)
pName
- name of the variablepValue
- its valuepublic 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 indexprotected 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