public static List < StringToNodeCollection > getTranslatableStringsV3 ( final Node node , final boolean allowDuplicates ) { if ( node == null ) return null ; final List < StringToNodeCollection > retValue = new LinkedList < StringToNodeCollection > ( ) ; final NodeList nodes = node . getChildNodes ( ) ; for ( int i = 0 ; i < nodes . getLength ( ) ; ++ i ) { final Node childNode = nodes . item ( i ) ; getTranslatableStringsFromNodeV3 ( childNode , retValue , allowDuplicates , new XMLProperties ( ) ) ; } return retValue ; }
Get the Translatable Strings from an XML Node . This method will return of Translation strings to XML DOM nodes within the XML Document .