axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "xuliujuan" <xuliuj...@hotmail.com>
Subject Re: For help : how to convert a Java bean instance to Text(org.w3 c.dom.Text text)
Date Thu, 19 Feb 2004 06:07:45 GMT
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.

  -------------------------------------------------------------------------------------


Mime
View raw message