Пример #1
0
  public void serialize(
      final javax.xml.namespace.QName parentQName,
      final org.apache.axiom.om.OMFactory factory,
      org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter,
      boolean serializeType)
      throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException {

    // We can safely assume an element has only one type associated with it

    if (localSendSmsLogo == null) {
      throw new org.apache.axis2.databinding.ADBException("Property cannot be null!");
    }
    localSendSmsLogo.serialize(MY_QNAME, factory, xmlWriter);
  }
Пример #2
0
  /** databinding method to get an XML representation of this object */
  public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName)
      throws org.apache.axis2.databinding.ADBException {

    // We can safely assume an element has only one type associated with it
    return localSendSmsLogo.getPullParser(MY_QNAME);
  }