/** * Queries a single descriptor node text value. First looks in the properties, if not found it * executes the XPath query. */ public String queryDescriptorValue(String xPathQuery) { if (descriptorDom != null) { String value = (String) getProperty(xPathQuery); if (value == null) { value = XmlUtils.selectSingleNodeValue(descriptorDom, xPathQuery); } return value; } else { return null; } }