You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Volkmann, Mark" <Ma...@AGEDWARDS.com> on 2004/02/19 03:12:53 UTC
RE: For help : how to convert a Java bean instance to Text(org.w3
c.dom.Text text)
I'm not sure if this is what you're after, but how about this?
Document doc = . . .
Text text = doc.createTextNode(myBean.toString());
String value = text.getNodeValue();
-----Original Message-----
From: xuliujuan [mailto:xuliujuan@hotmail.com]
Sent: Wednesday, February 18, 2004 7:42 PM
To: axis-user@ws.apache.org
Subject: For help : how to convert a Java bean instance to
Text(org.w3c.dom.Text text)
Hi all,
Could you tell me how to convert a Java bean instance to
Text(org.w3c.dom.Text text)
and how to get the Object's value ?
Thanks ^_^
/xuliujuan
-------------------------------------------------------------------------------------
A.G. Edwards & Sons' outgoing and incoming e-mails are electronically
archived and subject to review and/or disclosure to someone other
than the recipient.
-------------------------------------------------------------------------------------
Re: For help : how to convert a Java bean instance to Text(org.w3 c.dom.Text text)
Posted by xuliujuan <xu...@hotmail.com>.
but how to initialize the doc and I want to convert a java bean instance to MessageElement [] in fact
----- Original Message -----
From: Volkmann, Mark
To: 'axis-user@ws.apache.org'
Sent: Thursday, February 19, 2004 10:12 AM
Subject: RE: For help : how to convert a Java bean instance to Text(org.w3 c.dom.Text text)
I'm not sure if this is what you're after, but how about this?
Document doc = . . .
Text text = doc.createTextNode(myBean.toString());
String value = text.getNodeValue();
-----Original Message-----
From: xuliujuan [mailto:xuliujuan@hotmail.com]
Sent: Wednesday, February 18, 2004 7:42 PM
To: axis-user@ws.apache.org
Subject: For help : how to convert a Java bean instance to Text(org.w3c.dom.Text text)
Hi all,
Could you tell me how to convert a Java bean instance to Text(org.w3c.dom.Text text)
and how to get the Object's value ?
Thanks ^_^
/xuliujuan
-------------------------------------------------------------------------------------
A.G. Edwards & Sons' outgoing and incoming e-mails are electronically
archived and subject to review and/or disclosure to someone other
than the recipient.
-------------------------------------------------------------------------------------