wyvern.lib.predicates
Interface PrintablePredicate

All Known Implementing Classes:
AndPredicate, BooleanPredicate, ComparisonPredicate, NotPredicate, OrPredicate, ShortDescEqualPredicate, ShortDescMatchPredicate, UserTypePredicate

public interface PrintablePredicate

A special interface used by systems that create Predicate composite trees and then need to print them out. Specifically, Autobag.

Version:
1.0, Dec 27, 2003
Author:
Steve Yegge

Method Summary
 java.lang.String print()
          Prints an English-like description of the predicate, e.g.
 

Method Detail

print

public java.lang.String print()
Prints an English-like description of the predicate, e.g. "NOT name like 'bob'", or "quantity < 100 AND item is cursed"