On Sat, 2008-11-15 at 14:24 +0100, Oleg Kalnichevski wrote:
...
> > So maybe we want have different type of handlers:
> > - content handler (using parse)
> > - stream handler (using the openStream)
> > - uri handler (using the uri)
> > 
> 
> I think there are cases where those bits are not mutually exclusive and
> one may want to have them all, or at least more than one representation.

Yeah Henri and I thought we may want to wrap the three into one object
(a wee bit like the ContentEntity).

>From a process flow point of view it much goes 
protocol -> receive the org. content
parser -> parse the org. content to get a textual representation 
handler -> handle either the org. content or the parse object. Since
both earlier stages are optional a handler may just need to use the url.

salu2
-- 
Thorsten Scherler <thorsten.at.apache.org>
Open Source Java <consulting, training and solutions>

Reply via email to