axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eran Chinthaka <chinth...@opensource.lk>
Subject Re: [Proposal][Axis2][Axiom] Adding writable capability to OM elements
Date Sat, 17 Jun 2006 14:58:44 GMT
Ajith Ranabahu wrote:
> Hi,

> I was thinking a slightly different approach. We have an
> 'ADBOMElement' abstract class that has the write method unimplemented
> (and the rest of the methods are implemented in a generic way which I
> suppose is reasonable)
> During the codegen ADBBeans will have a method "getOMElement" which
> returns the ADBOMElement  with the write method implemented!
> 
> public OMElement getOMElement(){
> return new ADBOMElement(this){
>    public void write(XMLStreamWriter writer){
> 
>     // generated code that writes the output directly
> 
> 
>   }
>  }

Ok, if its a question of where we keep the new OMElement, then either
way is fine with me.

Your initial post some how made me think that you are trying to put a
ADB dependency on Axiom :).

-- Chinthaka


Mime
View raw message