Martin Schulte wrote:

> As far as I see getInputs only returns the list of inputs that have
> been added with ProcessorImpl.addInput (my tests seemed to proof
> this, and the only invocation of inputMap.put() is in method
> ProcessorImpl.addInput - but maybe I oversee something).

> But, what I would like to know is what is given in the
> <processor>-Tag of the defining xpl-file so that I can dynamically
> adapt the behaviour of my Java code on it.

addInput() is called when the pipeline engine is connecting inputs to
outputs, so this should allow you at runtime to know exactly all the
inputs that are connected. This is the mechanism used by the XSLT
processor, for example, to get additional inputs.

This is as opposed to getInputsInfo(), which returns the InputInfo
declared statically by the processor.

When exactly are you calling getInputs()? Maybe you are calling the
method prior to the processor being conneced.

-Erik


------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ orbeon-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to