public abstract class DocumentSetConstraint
extends atg.search.routing.command.SearchXMLObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Constructor and Description |
---|
DocumentSetConstraint() |
Modifier and Type | Method and Description |
---|---|
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
|
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getAttributeXML, getBodyXML, getDefaultXmlBytes, getParentXMLObject, getRequestTag, getXmlPath, isPrintedFirstChild, setParentXMLObject, setPrintedFirstChild, toString, toXML, toXML
public static final java.lang.String CLASS_VERSION
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)