public abstract class BaseConstraint extends DocumentSetConstraint
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Modifier | Constructor and Description |
---|---|
protected |
BaseConstraint() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getXml()
Returns complete XML, if provided through
ConstraintsGroup . |
void |
setXml(java.lang.String pXml)
Overrides subclass setter methods by allowing complete XML to be
passed in.
|
createFromParser, createFromXML, getParser, getPropConstraints, valueOf
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 void setXml(java.lang.String pXml)
DocumentSetConstraint
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.setXml
in class DocumentSetConstraint
pXml
- complete XMLpublic java.lang.String getXml()
DocumentSetConstraint
ConstraintsGroup
.getXml
in class DocumentSetConstraint
ConstraintsGroup
.