atg.search.query.formhandlers
Class FakeDocumentSetConstraint

java.lang.Object
  extended by atg.search.query.formhandlers.FakeDocumentSetConstraint
All Implemented Interfaces:
java.io.Serializable

public class FakeDocumentSetConstraint
extends java.lang.Object
implements java.io.Serializable

A simple class to trick various search API methods into taking a DocumentSetConstraint object. In this case, this is simply a string.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
           
 
Constructor Summary
FakeDocumentSetConstraint(java.lang.String pXml)
          Create a FakeDocumentSetConstraint
 
Method Summary
 java.lang.String toString()
           
 java.lang.String toXml()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Constructor Detail

FakeDocumentSetConstraint

public FakeDocumentSetConstraint(java.lang.String pXml)
Create a FakeDocumentSetConstraint

Parameters:
pXml - the XML string
Method Detail

toXml

public java.lang.String toXml()
Returns:
the XML string

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
a string representation of the DocumentSetConstraint