public class FileExtensionConstraint extends BaseConstraint
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION |
static java.lang.String |
TAG |
| Constructor and Description |
|---|
FileExtensionConstraint() |
| Modifier and Type | Method and Description |
|---|---|
protected DocumentSetConstraint |
createFromParser(atg.search.routing.utils.SearchMessageNode pRoot) |
boolean |
equals(java.lang.Object pObject) |
protected void |
getAttributeXML(java.lang.StringBuilder sb) |
protected void |
getBodyXML(java.lang.StringBuilder sb) |
java.lang.String |
getFileExtension()
Returns the file extension
|
java.lang.String |
getRequestTag() |
static java.lang.String |
getTag() |
java.lang.Float |
getWeight()
Returns the constraint's weight
|
int |
hashCode() |
void |
setFileExtension(java.lang.String pFileExtension)
Sets the file extension
|
void |
setWeight(java.lang.Float pWeight)
Sete the weight
|
static FileExtensionConstraint |
valueOf(java.lang.String pXml) |
getXml, setXmlcreateFromXML, getParser, getPropConstraintsappendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getDefaultXmlBytes, getParentXMLObject, getXmlPath, isPrintedFirstChild, setParentXMLObject, setPrintedFirstChild, toString, toXML, toXMLpublic static final java.lang.String CLASS_VERSION
public static final java.lang.String TAG
public static java.lang.String getTag()
public boolean equals(java.lang.Object pObject)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.Float getWeight()
public void setFileExtension(java.lang.String pFileExtension)
pFileExtension - public void setWeight(java.lang.Float pWeight)
pWeight - public java.lang.String getFileExtension()
protected void getBodyXML(java.lang.StringBuilder sb)
throws atg.search.routing.command.IncompleteCommandException
getBodyXML in class atg.search.routing.command.SearchXMLObjectatg.search.routing.command.IncompleteCommandExceptionprotected void getAttributeXML(java.lang.StringBuilder sb)
throws atg.search.routing.command.IncompleteCommandException
getAttributeXML in class atg.search.routing.command.SearchXMLObjectatg.search.routing.command.IncompleteCommandExceptionpublic static FileExtensionConstraint valueOf(java.lang.String pXml)
protected DocumentSetConstraint createFromParser(atg.search.routing.utils.SearchMessageNode pRoot)
createFromParser in class DocumentSetConstraintpublic java.lang.String getRequestTag()
getRequestTag in class atg.search.routing.command.SearchXMLObject