Hi Martin,

I'm a bit confused as to what NamedStaxOMBuilder is meant to achieve. Where
is the "xmlDoc" string used?

Thanks,
Alan.


Al-
the simplest case uses NamedStaxOMBuilder

package org.apache.axis2.databinding.utils;

String xmlDoc = "<wrapper><myIntVal>200</myIntVal></wrapper>";
XMLStreamReader reader = BeanUtil.getPullParser( businessObject );
NamedStaxOMBuilder builder=NamedStaxOMBuilder(xmlStreamReader, new
QName("wrapper"));
OMElement element =builder.getOMElement();

HTH
Martin
-- 
View this message in context: 
http://www.nabble.com/POJOto-OMElement-tp16590554p16595882.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to