public String toXML() { StringBuilder buf = new StringBuilder(); buf.append("<").append(getElementName()).append(" xmlns=\"").append(getNamespace()).append( "\">"); if (getInvite() != null) { buf.append(getInvite().toXML()); } if (getDecline() != null) { buf.append(getDecline().toXML()); } if (getItem() != null) { buf.append(getItem().toXML()); } if (getPassword() != null) { buf.append("<password>").append(getPassword()).append("</password>"); } if (getStatus() != null) { buf.append(getStatus().toXML()); } if (getDestroy() != null) { buf.append(getDestroy().toXML()); } buf.append("</").append(getElementName()).append(">"); return buf.toString(); }
public String toXML() { StringBuilder buf = new StringBuilder(); buf.append("<").append(getElementName()).append(" xmlns=\"").append(getNamespace()).append( "\">"); if (getInvite() != null) { buf.append(getInvite().toXML()); } if (getDecline() != null) { buf.append(getDecline().toXML()); } if (getItem() != null) { buf.append(getItem().toXML()); } if (getPassword() != null) { buf.append("<password>").append(getPassword()).append("</password>"); } if (getStatus() != null) { buf.append(getStatus().toXML()); } if (getDestroy() != null) { buf.append(getDestroy().toXML()); } buf.append("</").append(getElementName()).append(">"); return buf.toString(); }
public String toXML() { StringBuffer buf = new StringBuffer(); buf.append("<").append(getElementName()).append(" xmlns=\"").append(getNamespace()).append( "\">"); if (getInvite() != null) { buf.append(getInvite().toXML()); } if (getDecline() != null) { buf.append(getDecline().toXML()); } if (getItem() != null) { buf.append(getItem().toXML()); } if (getPassword() != null) { buf.append("<password>").append(getPassword()).append("</password>"); } if (getStatus() != null) { buf.append(getStatus().toXML()); } if (getDestroy() != null) { buf.append(getDestroy().toXML()); } buf.append("</").append(getElementName()).append(">"); return buf.toString(); }
public String toXML() { StringBuilder buf = new StringBuilder(); buf.append("<").append(getElementName()).append(" xmlns=\"").append(getNamespace()).append( "\">"); if (getInvite() != null) { buf.append(getInvite().toXML()); } if (getDecline() != null) { buf.append(getDecline().toXML()); } if (getItem() != null) { buf.append(getItem().toXML()); } if (getPassword() != null) { buf.append("<password>").append(getPassword()).append("</password>"); } if (getStatus() != null) { buf.append(getStatus().toXML()); } if (getDestroy() != null) { buf.append(getDestroy().toXML()); } buf.append("</").append(getElementName()).append(">"); return buf.toString(); }