indexing description: "General interface for documents" license: "MIT license (see ../license.txt)" author: "Beat Strasser " date: "$Date$" revision: "$Revision$" deferred class P2P_DOCUMENT inherit ANY undefine out end feature {NONE} -- Initialization parse_from_string (source: STRING) is -- Parse document from a string deferred end feature -- Output out: STRING is -- String representation deferred ensure then Result_set: Result /= Void and (not is_valid implies Result.count = 0) end feature -- Status report is_valid: BOOLEAN end