edu.indiana.dde.mylead.common
Class LeadStringHolder

java.lang.Object
  extended by edu.indiana.dde.mylead.common.LeadStringHolder
All Implemented Interfaces:
javax.xml.rpc.holders.Holder

public final class LeadStringHolder
extends java.lang.Object
implements javax.xml.rpc.holders.Holder


Field Summary
 java.lang.String value
           
 
Constructor Summary
LeadStringHolder()
           
LeadStringHolder(java.lang.String value)
           
 
Method Summary
 java.lang.String toString()
          If value is not null, then returns the value.
 edu.indiana.dde.mylead.response.metadata.MyQueryDocument toXml()
          This method uses the XML bean for the query response from the MyLeadResponse-X jar.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

public java.lang.String value
Constructor Detail

LeadStringHolder

public LeadStringHolder()

LeadStringHolder

public LeadStringHolder(java.lang.String value)
Method Detail

toString

public java.lang.String toString()
If value is not null, then returns the value. If value is null then returns a blank string.

Overrides:
toString in class java.lang.Object

toXml

public edu.indiana.dde.mylead.response.metadata.MyQueryDocument toXml()
This method uses the XML bean for the query response from the MyLeadResponse-X jar. If value is null, then null is returned. If there was an exception in parsing the value, returns null.