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
signature.asc
Description: OpenPGP digital signature
