abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yogesh Mujumdar" <yogesh.mujum...@gmail.com>
Subject get all extension elements
Date Sat, 06 Jan 2007 13:03:20 GMT
is there any way to get all the exension elements from an entry and handle
each one of them one by one. I read the extension factory way but i am
looking at something like :

List allextns = getallextensions(entry);

for(i = 0;i < list.size(); i++) {
 if list(i) is extension "foo" {
     dooFoo()
 }
 else if list(i) is extension "bar" {
    doBar();
 }
 else if .....
......
.....
}

Also, how do i retain all the extensions the client sends at the server
side?

-- 
regards/Yogesh

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message