Returns the list of any direct String nodes of this node. @return the list of String values from this node @since 2.3.0
()
| 775 | * @since 2.3.0 |
| 776 | */ |
| 777 | public List<String> localText() { |
| 778 | List<String> answer = new ArrayList<String>(); |
| 779 | for (Iterator iter = InvokerHelper.asIterator(value); iter.hasNext(); ) { |
| 780 | Object child = iter.next(); |
| 781 | if (!(child instanceof Node)) { |
| 782 | answer.add(child.toString()); |
| 783 | } |
| 784 | } |
| 785 | return answer; |
| 786 | } |
| 787 | |
| 788 | private List getDirectChildren() { |
| 789 | List answer = new NodeList(); |
nothing calls this directly
no test coverage detected