title: This is the output I get [Ljava.lang.Object;@20422e25
body: <p>I want to get the content in the content model of alfresco to be displayed in my Eclipse. Below is my method from the Dictionary service:</p>
  
  <pre><code>@Override
  public Collection&lt;QName&gt; getSubTypes(QName arg0, boolean arg1)
  {   
      //qName = (ArrayList&lt;QName&gt;) model.put("Array is", arg0);
      qName.add(arg0);
      return qName;
  }
  </code></pre>
  
  <p>And this is how I am calling the method on my test class:</p>
  
  <pre><code>        SampleTest sampleTest = new SampleTest();
  //      WebScriptRequest webScriptRequest =null;     
  //      webScriptRequest.getExtensionPath();;
  //      String string = webScriptRequest.getExtensionPath();
          System.out.println("" + sampleTest.getSubTypes(ContentModel.TYPE_CONTENT, true).toArray().toString());
  </code></pre>