public List < String > all ( String localName ) { List < String > childrenText = new ArrayList < String > ( ) ; for ( Element child : children ( ) ) { if ( localName . equals ( child . getLocalName ( ) ) && XCAL_NS . equals ( child . getNamespaceURI ( ) ) ) { String text = child . getTextContent ( ) ; childrenText . add ( text ) ; } } return childrenText ; }
Gets the values of all child elements that have the given name .