diff -r 63cc1f6e8e3f -r 2be00f14dc78 relpipe-data/specification.xml --- a/relpipe-data/specification.xml Thu Nov 29 22:36:50 2018 +0100 +++ b/relpipe-data/specification.xml Fri Nov 30 16:43:11 2018 +0100 @@ -14,7 +14,11 @@ that independent implementation of the format will be possible.
-Currently, there are only three data types.
@@ -35,6 +39,28 @@ 0x03 string character string in UTF-8 +Wraps an output stream (usually STDOUT), accepts method calls (relations, attributes) and generates
+ Wraps an input stream (usually STDIN). The caller creates and sets handlers (zero or more) using addHandler()
and then calls process()
method.
+ During this method call, the reader reads the input and calls the handlers.
+ Handlers receive relations and attributes.
+