code: protected void storeCapacity(Capacity c, XMLStreamWriter writer) throws Exception
     {
        writer.writeStartElement(CommonXML.ELEMENT_CAPACITY);
  
        if (c.getIncrementer() != null)
        {
           storeExtension(c.getIncrementer(), writer, CommonXML.ELEMENT_INCREMENTER);
        }
  
        if (c.getDecrementer() != null)
        {
           storeExtension(c.getDecrementer(), writer, CommonXML.ELEMENT_DECREMENTER);
        }
  
        writer.writeEndElement();
     }
docs: Store capacity
  @param c The capacity
  @param writer The writer
  @exception Exception Thrown if an error occurs