title: Struts2 + REST plugin XML output
body: <p>I'm creating a Web Service with the Struts2 REST Plugin, which works great. I just have a problem with the entity names of the XML output.</p>
  
  <p>I have a model class named "ModelClass" in the package "com.mycompany.implementation" with a few properties and a nested class "NestedModelClass", and the XML output looks like:</p>
  
  <pre><code>&lt;com.mycompany.implementation.ModelClass&gt;
      ...
      &lt;com.mycompany.implementation.ModelClass_-NestedModelClass&gt;
          ...
      &lt;/com.mycompany.implementation.ModelClass_-NestedModelClass&gt;
  &lt;/com.mycompany.implementation.ModelClass&gt;    
  </code></pre>
  
  <p>How can I change the XML Entity name to be displayed without package name - or even a different name?</p>
  
  <p>Thanks!</p>