Returns the text attribute. @return the text attribute
()
| 86 | * @return the {@code text} attribute |
| 87 | */ |
| 88 | public String getText() { |
| 89 | final DomNode firstChild = getFirstChild(); |
| 90 | if (firstChild != null) { |
| 91 | return firstChild.getNodeValue(); |
| 92 | } |
| 93 | return ""; |
| 94 | } |
| 95 | |
| 96 | /** |
| 97 | * Sets the {@code text} attribute. |
no test coverage detected