|
|||||||||
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.TraceExpression
public class TraceExpression
An expression that determines which items should be traced. One of URL, HDoc, or Property is required.
If sending HDocs to a multi-partition index, then the HDoc must include the content id. See addHDoc(HDoc)
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
TraceExpression()
|
Method Summary | |
---|---|
protected static TraceExpression |
fromXmlParser(atg.search.routing.utils.SearchMessageNode xml)
creates a new TraceExpression from the xml parser |
java.util.List<HDoc> |
getHDocs()
Returns the List of HDocs |
java.util.List<IndexedItemProperty> |
getProperties()
Returns the List of property names and values |
java.lang.String |
getRequestTag()
|
java.util.List<java.lang.String> |
getUrls()
Returns the list of urls |
void |
setHDocs(java.util.List<HDoc> pHDocs)
Sets the List of HDocs |
void |
setProperties(java.util.List<IndexedItemProperty> pProperties)
Sets the List of property names and values |
void |
setUrls(java.util.List<java.lang.String> pUrls)
Sets the list of urls |
void |
setXml(java.lang.String pXml)
Sets the xml from a string, even if the root element is not the trace expression. |
java.lang.String |
toString()
|
java.lang.String |
toXML()
|
static TraceExpression |
valueOf(java.lang.String pXml)
parses trace expression xml and returns a populated TraceExpression |
Methods inherited from class atg.search.routing.command.SearchXMLObject |
---|
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getAttributeXML, getBodyXML, getDefaultXmlBytes, getParentXMLObject, getXmlPath, isPrintedFirstChild, setParentXMLObject, setPrintedFirstChild, 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 TraceExpression()
Method Detail |
---|
public java.util.List<HDoc> getHDocs()
public void setHDocs(java.util.List<HDoc> pHDocs)
pHDocs
- list of HDocspublic java.util.List<java.lang.String> getUrls()
public void setUrls(java.util.List<java.lang.String> pUrls)
pUrls
- list of urlspublic java.util.List<IndexedItemProperty> getProperties()
public void setProperties(java.util.List<IndexedItemProperty> pProperties)
pProperties
- name and value listpublic java.lang.String toXML()
toXML
in class atg.search.routing.command.SearchXMLObject
public static TraceExpression valueOf(java.lang.String pXml)
pXml
- well-formed and decoded xml
protected static TraceExpression fromXmlParser(atg.search.routing.utils.SearchMessageNode xml)
xml
- an xml parser
public void setXml(java.lang.String pXml)
pXml
- the xmlpublic java.lang.String toString()
toString
in class atg.search.routing.command.SearchXMLObject
public java.lang.String getRequestTag()
getRequestTag
in class atg.search.routing.command.SearchXMLObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |