Great, I've tryed to use the method listMethod. I've not seen it but that's
exactly what I needed.

Thanks a lot, Steve.


On Tue, Sep 22, 2009 at 4:04 PM, Steve Bayliss <
[email protected]> wrote:

>  Nothing directly to do that I think - you'd have to parse the XML using
> SAX, DOM etc yourself.
>
> You might find the API-A method listMethods of some use though - this
> should list all the methods and parameters available for a particular object
> (note - a normal Fedora object rather than the SDef directly).
>
> Steve
>
>  -----Original Message-----
> *From:* Cyril Pestel [mailto:[email protected]]
> *Sent:* 22 September 2009 12:22
> *To:* [email protected]
> *Subject:* Re: [Fedora-commons-users] How to read a MethodMap ?
>
> Hi, thanks steve to reply,
> but retrives the document MethodMap is ok. What I need is to know the list
> of operations and its parameters so that I want to parse the MethodMap and
> retrieve all these informations. But i wonder whether there is a Java API to
> serialize a MethodMap document into Java Object.
>
> Cyril
>
> On Tue, Sep 22, 2009 at 12:48 PM, Steve Bayliss <
> [email protected]> wrote:
>
>>  The MethodMap is expressed as a datastream, so you can just use the API
>> methods for retrieving a datastream, specifying the datastream identifier as
>> METHODMAP
>>
>> eg
>>
>> http://your-server:8080/fedora/get/some:pid/METHODMAP  (where some:pid is
>> the PID of your SDef object).
>>
>> Steve
>>
>>  -----Original Message-----
>> *From:* Cyril Pestel [mailto:[email protected]]
>> *Sent:* 22 September 2009 11:30
>> *To:* [email protected]
>> *Subject:* [Fedora-commons-users] How to read a MethodMap ?
>>
>> Hi,
>>
>> I would like to know if the Fedora Java API allows to serialize a
>> MethodMap file from SDef object. Or there is another way to do it ?
>> I need that to retrieve the operation name and all user parameters from my
>> Java program.
>>
>> Thanks.
>>
>> Cyril.
>>
>>
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to