code: public void xmlWriteOn(FormattedWriter writer) throws IOException
    {
      super.xmlWriteOn(writer);
      
      writer.newLine();
      writer.taggedValue("subscriberID", _subState.getSubscriberID());
  
      writer.newLine();
      writer.startTag("topics");
      writer.indent();
  
      String[] topics = _subState.getTopics();
  
      if (topics != null)
      {
        for (int i = 0; i < topics.length; i++)
        {
          writer.newLine();
          writer.taggedValue("topic", topics[i]);
        }
      }
  
      writer.outdent();
      writer.newLine();
      writer.endTag("topics");
      writer.newLine();
      writer.taggedValue("toBeDeleted", toBeDeleted);
    }
docs: /* (non-Javadoc)
  @see com.ibm.ws.sib.msgstore.AbstractItem#xmlWriteOn(com.ibm.ws.sib.msgstore.FormattedWriter)