title: How to dynamically add xml element to a java JAXRS representation?
body: <p>Say I have a java class that is a representation of a "Dog" with attrbutes "Color" and "Type" marked up with <code>@XmlElement</code> and <code>@XmlRootElement</code> tags. How do I add a "Age" xml element to this JAXRS based class programmatically without modifying my Dog class with <code>@XmlAttribute(name="Age")</code>?</p>
  
  <p>Assume I have the representation:</p>
  
  <pre><code>DogRepClass adog = new DogRepClass();
  </code></pre>