/** * Returns the node number of the first node containing the given text. * This can be useful to index into the composite tag and get other children. * Text is compared without case sensitivity and conversion to uppercase * uses an English locale. * @param text The text to search for. * @return int The node index in the children list of the node containing * the text or -1 if not found. * @see #findPositionOf (String, Locale) */ public int findPositionOf (String text) { return (findPositionOf (text, Locale.ENGLISH)); }
/** * Returns the node number of the first node containing the given text. * This can be useful to index into the composite tag and get other children. * Text is compared without case sensitivity and conversion to uppercase * uses an English locale. * @param text The text to search for. * @return int The node index in the children list of the node containing * the text or -1 if not found. * @see #findPositionOf (String, Locale) */ public int findPositionOf (String text) { return (findPositionOf (text, Locale.ENGLISH)); }