public JavaMethod getXMLGetMethod(PropertySG pController, JavaSource pSource) throws SAXException {
JavaMethod jm = pSource.newJavaMethod(pController.getXMLGetMethodName(), String.class, JavaSource.PUBLIC);
JavaComment jc = jm.newComment();
jc.addLine("<p>Returns the value of the 'anyAttribute' named <code>pName</code>.</p>");
jc.addLine("@return Attribute value or null, if the attribute is not set.");
jc.addLine("@throws NullPointerException The <code>pName</code> argument is null.");
if (!namespaceList.isAny()) {
jc.addLine("@throws IllegalArgumentException The namespace <code>pName.getNamespaceURI()</code> is invalid.");
}
Parameter pName = jm.addParam(QName.class, "pName");