com.primus.searchcommon.constraint
Class BaseConstraint

java.lang.Object
  extended by com.primus.searchcommon.constraint.BaseConstraint
All Implemented Interfaces:
DocumentSetConstraint, java.io.Serializable
Direct Known Subclasses:
ConstraintsGroup, FileExtensionConstraint, ItemFormatConstraint, KeywordConstraint, NumericConstraint, SetConstraint, StringConstraint, URLConstraint

public abstract class BaseConstraint
extends java.lang.Object
implements DocumentSetConstraint, java.io.Serializable

Base class for creating different type of constraint implementations.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.primus.searchcommon.constraint.DocumentSetConstraint
CLASS_VERSION
 
Constructor Summary
BaseConstraint()
           
 
Method Summary
protected  java.lang.String escapeToXml(java.lang.String pString)
          Escapes to an XML string.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.primus.searchcommon.constraint.DocumentSetConstraint
toXml
 

Constructor Detail

BaseConstraint

public BaseConstraint()
Method Detail

escapeToXml

protected java.lang.String escapeToXml(java.lang.String pString)
Escapes to an XML string.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object