public List<String> getTextValuesForPatternName(final String name) {
        List<String> result = new ArrayList<String>();
        List<Node> jars = this.get(name);
        for (Node node : jars) {
            String text = node.getText();
            if (text != null) {
                result.add(text);
            }
        }
        return Collections.unmodifiableList(result);
    }
public List < String > getTextValuesForPatternName ( final String name ) { List < String > result = new ArrayList < String > ( ) ; List < Node > jars = this . get ( name ) ; for ( Node node : jars ) { String text = node . getText ( ) ; if ( text != null ) { result . add ( text ) ; } } return Collections . unmodifiableList ( result ) ; }
Get the text values of all elements found at the given query name. If no elements are found, or no text exists,
return an empty list;