|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.search.routing.command.search.DocumentSetConstraint atg.search.routing.command.search.BaseConstraint atg.search.routing.command.search.FileExtensionConstraint
public class FileExtensionConstraint
Constraints the results based on the file extension of the indexed file.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
static java.lang.String |
TAG
|
Constructor Summary | |
---|---|
FileExtensionConstraint()
|
Method Summary | |
---|---|
protected FileExtensionConstraint |
createFromParser(atg.search.routing.utils.FastXMLModel pXml,
int rootIdx)
|
java.lang.String |
getFileExtension()
Returns the file extension |
static java.lang.String |
getTag()
|
java.lang.Float |
getWeight()
Returns the constraint's weight |
void |
setFileExtension(java.lang.String pFileExtension)
Sets the file extension |
void |
setWeight(java.lang.Float pWeight)
Sete the weight |
java.lang.String |
toXml()
Converts this constraint to the XML representation that can be sent in request. |
static FileExtensionConstraint |
valueOf(java.lang.String pXml)
|
Methods inherited from class atg.search.routing.command.search.BaseConstraint |
---|
getXml, setXml |
Methods inherited from class atg.search.routing.command.search.DocumentSetConstraint |
---|
createFromXML, equals, escapeToXml, getParser, getPropConstraints, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
public static final java.lang.String TAG
Constructor Detail |
---|
public FileExtensionConstraint()
Method Detail |
---|
public static java.lang.String getTag()
public 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()
public java.lang.String toXml()
DocumentSetConstraint
toXml
in class DocumentSetConstraint
public static FileExtensionConstraint valueOf(java.lang.String pXml)
protected FileExtensionConstraint createFromParser(atg.search.routing.utils.FastXMLModel pXml, int rootIdx)
createFromParser
in class DocumentSetConstraint
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |