W3C home > Mailing lists > Public > xproc-dev@w3.org > September 2011

Calabash: register an extension step through the API

From: Florent Georges <fgeorges@fgeorges.org>
Date: Tue, 6 Sep 2011 01:16:54 +0200
Message-ID: <CADyR_r1RxNg-vb_Wk93tn6GuFf13h-Seev_jOk5W2bJTaV-aDA@mail.gmail.com>
To: XProc Dev <xproc-dev@w3.org>

  I couldn't find any way in Calabash to add an implementation
programmatically on XProcConfiguration (that is, saying step X is
a extension step implemented by Java class Y).  The only way is
to parse a config file, but there is no way to add it directly.

  Shouldn't a system using Calabash and configuring it from its
API be able to declare such steps directly on the config object?
E.g. using a new method:

    public void registerExtensionStep(QName name, String clazz) {
        implementations.put(name, clazz);


Florent Georges
Received on Monday, 5 September 2011 23:17:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:08 UTC