@SuppressWarnings("unchecked")
    public List<String> queryDescriptorValues(String xpathQuery) {
        if (descriptorDom != null) {
            List<String> value = (List<String>)getProperty(xpathQuery);
            if (CollectionUtils.isEmpty(value)) {
                value = XmlUtils.selectNodeValues(descriptorDom, xpathQuery);
            }

            return value;
        } else {
            return Collections.emptyList();
        }
    }
@ SuppressWarnings ( "unchecked" ) public List < String > queryDescriptorValues ( String xpathQuery ) { if ( descriptorDom != null ) { List < String > value = ( List < String > ) getProperty ( xpathQuery ) ; if ( CollectionUtils . isEmpty ( value ) ) { value = XmlUtils . selectNodeValues ( descriptorDom , xpathQuery ) ; } return value ; } else { return Collections . emptyList ( ) ; } }
Queries multiple descriptor node text values. First looks in the properties, if not found it executes the XPath
query.