public class CategoryRuleMatch
extends atg.search.routing.command.SearchXMLObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
CategoryRuleMatch() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object pObj) |
protected void |
getAttributeXML(java.lang.StringBuilder sb) |
protected void |
getBodyXML(java.lang.StringBuilder sb) |
int |
getEnd()
Returns the text offset of end of pattern match
|
java.lang.String |
getId()
Returns the name or id of rule
|
java.lang.String |
getPattern()
Returns the pattern string
|
java.lang.String |
getRequestTag()
Gets the xml element tag used in the request
|
int |
getStart()
Returns the text offset of beginning of pattern match
|
java.lang.String |
getValue()
Returns the value of the match
|
int |
getWeight()
Returns the weight of rule
|
int |
hashCode() |
void |
setEnd(int end) |
void |
setId(java.lang.String id) |
void |
setPattern(java.lang.String pattern) |
void |
setStart(int start) |
void |
setValue(java.lang.String pValue) |
void |
setWeight(int weight) |
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 pObj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getValue()
public void setValue(java.lang.String pValue)
public java.lang.String getId()
public void setId(java.lang.String id)
id
- Name or id of rulepublic int getStart()
public void setStart(int start)
start
- Text offset of beginning of pattern matchpublic int getEnd()
public void setEnd(int end)
end
- Text offset of end of pattern matchpublic int getWeight()
public void setWeight(int weight)
weight
- Weight of rulepublic java.lang.String getPattern()
public void setPattern(java.lang.String pattern)
pattern
- Pattern stringprotected 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
public java.lang.String getRequestTag()
getRequestTag
in class atg.search.routing.command.SearchXMLObject