|
|||||||||
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.DocumentSetConstraint
public abstract class DocumentSetConstraint
A generic constraint that either holds raw XML, or else constructs a specific constraint via valueOf(String).
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Constructor Summary | |
---|---|
DocumentSetConstraint()
|
Method Summary | |
---|---|
protected abstract DocumentSetConstraint |
createFromParser(atg.search.routing.utils.SearchMessageNode pRoot)
|
static DocumentSetConstraint |
createFromXML(atg.search.routing.utils.SearchMessageNode pXml)
|
protected static atg.search.routing.utils.SearchMessageParser |
getParser(java.lang.String pRequestXml)
|
java.util.List<PropConstraint> |
getPropConstraints()
Returns an empty list unless overridden |
abstract java.lang.String |
getXml()
Returns complete XML, if provided through ConstraintsGroup . |
abstract void |
setXml(java.lang.String pXml)
Overrides subclass setter methods by allowing complete XML to be passed in. |
static DocumentSetConstraint |
valueOf(java.lang.String pXml)
Constructs a new instance from xml |
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, getRequestTag, 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 final java.lang.String CLASS_VERSION
Constructor Detail |
---|
public DocumentSetConstraint()
Method Detail |
---|
public java.util.List<PropConstraint> getPropConstraints()
protected static atg.search.routing.utils.SearchMessageParser getParser(java.lang.String pRequestXml)
pXml
-
public static DocumentSetConstraint valueOf(java.lang.String pXml)
pXml
-
public static DocumentSetConstraint createFromXML(atg.search.routing.utils.SearchMessageNode pXml)
public abstract void setXml(java.lang.String pXml)
ConstraintsGroup
for this. No
other constraint subclass will use the XML. The XML is not
validated, so caller must be careful to ensure that it is
correct.
pXml
- complete XMLpublic abstract java.lang.String getXml()
ConstraintsGroup
.
ConstraintsGroup
.protected abstract DocumentSetConstraint createFromParser(atg.search.routing.utils.SearchMessageNode pRoot)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |