title: docx4j template generation :can not take the placeholder containing string as a separate entity
body: <p>i implemented doc generation from doc template using docx4j. template having placeholders, in my code, there replace, the place holder by a value.The problem is that docx4j can't take the placeholder as a separate entity.
     For example: template is 'tempnew.docx'</p>
  
  <pre><code>         welcome to &lt;&lt;name&gt;&gt;,Have a nice day in &lt;&lt;name&gt;&gt;
  
  after running the script, i got the retrieved texts "welcome ", "to", " &lt;&lt;", "name&gt;&gt;" etc.. (check the values of 'content' each time inside the for loop in method 'replaceParagraph' of line     'Text content = (Text) t;')
  
  instead of "welcome ", "to ", "&lt;&lt;name&gt;&gt;" etc..
  </code></pre>
  
  <p>my code :</p>
  
  <pre><code>    public static void main(String[] args) throws IOException, Docx4JException {
         GenerateDoc genDoc = new GenerateDoc();
      String templateFile = "C:\\testdoc\\tempnew.docx";
      WordprocessingMLPackage object = genDoc.getTemplate(templateFile);
  
      String toAdd = "India";
      genDoc.replaceParagraph( toAdd, object, object.getMainDocumentPart());
      genDoc.writeDocxToStream(object, "C:\\testdoc\\docgen.docx");
  }
  
  
     private static List&lt;Object&gt; getAllElementFromObject(Object obj, Class&lt;?&gt; toSearch) {
      List&lt;Object&gt; result = new ArrayList&lt;Object&gt;();
      if (obj instanceof JAXBElement) obj = ((JAXBElement&lt;?&gt;) obj).getValue();
  
      if (obj.getClass().equals(toSearch))
          result.add(obj);
      else if (obj instanceof ContentAccessor) {
          List&lt;?&gt; children = ((ContentAccessor) obj).getContent();
          for (Object child : children) {
              result.addAll(getAllElementFromObject(child, toSearch));
          }
  
      }
      return result;
  }
  
        private void replaceParagraph( String textToAdd, WordprocessingMLPackage template, ContentAccessor addTo) {
  
      // 1. get the paragraph
       String pholderStart ="&lt;&lt;";
       String pholderEnd ="&gt;&gt;";
       int placeHolderStartIndex, placeHolderEndIndex;
  
      List&lt;Object&gt; paragraphs = getAllElementFromObject(template.getMainDocumentPart(), P.class);
  
      P toReplace = null;
      for (Object p : paragraphs) {
      List&lt;Object&gt; texts = getAllElementFromObject(p, Text.class);
      for (Object t : texts) {
      Text content = (Text) t;
      ...
             ..........}..}
  </code></pre>