|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.search.routing.command.search.DocumentSetConstraint atg.search.routing.command.search.BaseConstraint atg.search.routing.command.search.URLConstraint
public class URLConstraint
Constraints the results to the given URL string of the indexed document.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
static java.lang.String |
TAG
|
Constructor Summary | |
---|---|
URLConstraint()
|
Method Summary | |
---|---|
protected URLConstraint |
createFromParser(atg.search.routing.utils.FastXMLModel pXml,
int rootIdx)
|
static java.lang.String |
getTag()
|
java.lang.String |
getUrl()
Returns the url |
java.lang.Float |
getWeight()
Returns the weight |
void |
setUrl(java.lang.String pUrl)
Sets the Url |
void |
setWeight(java.lang.Float pWeight)
Sets the weight |
java.lang.String |
toXml()
Converts this constraint to the XML representation that can be sent in request. |
static URLConstraint |
valueOf(java.lang.String pXml)
|
Methods inherited from class atg.search.routing.command.search.BaseConstraint |
---|
getXml, setXml |
Methods inherited from class atg.search.routing.command.search.DocumentSetConstraint |
---|
createFromXML, equals, escapeToXml, getParser, getPropConstraints, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
public static final java.lang.String TAG
Constructor Detail |
---|
public URLConstraint()
Method Detail |
---|
public static java.lang.String getTag()
public java.lang.Float getWeight()
public void setUrl(java.lang.String pUrl)
pUrl
- the urlpublic void setWeight(java.lang.Float pWeight)
pWeight
- the weightpublic java.lang.String getUrl()
public java.lang.String toXml()
DocumentSetConstraint
toXml
in class DocumentSetConstraint
public static URLConstraint valueOf(java.lang.String pXml)
protected URLConstraint createFromParser(atg.search.routing.utils.FastXMLModel pXml, int rootIdx)
createFromParser
in class DocumentSetConstraint
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |