return jm;
}
public JavaMethod getXMLGetArrayMethod(PropertySG pController, JavaSource pSource) throws SAXException {
JavaMethod jm = pSource.newJavaMethod(pController.getXMLGetMethodName() + "Array", WildcardAttribute[].class, JavaSource.PUBLIC);
JavaComment jc = jm.newComment();
jc.addLine("<p>Returns the array of 'anyAttributes'.</p>");
LocalJavaField size = jm.newJavaField(int.class);
size.addLine(pController.getXMLFieldName(), ".size()");
LocalJavaField result = jm.newJavaField(jm.getType());
result.addLine("new ", WildcardAttribute.class, "[", size, "]");