if (mChildren != null)
if (mChildren != null && name != null)
        public Element getOptionalElement(String name) {            if (mChildren != null)                for (Element elt : mChildren)                    if (elt.getName().equals(name))                        return elt;            return null;        }