@return the normalized type value (submit|reset|button).
()
| 252 | * @return the normalized type value (submit|reset|button). |
| 253 | */ |
| 254 | public String getType() { |
| 255 | final String type = getTypeAttribute(); |
| 256 | if (TYPE_RESET.equalsIgnoreCase(type)) { |
| 257 | return TYPE_RESET; |
| 258 | } |
| 259 | if (TYPE_BUTTON.equalsIgnoreCase(type)) { |
| 260 | return TYPE_BUTTON; |
| 261 | } |
| 262 | return TYPE_SUBMIT; |
| 263 | } |
| 264 | |
| 265 | /** |
| 266 | * Returns the value of the attribute {@code disabled}. Refer to the |
no test coverage detected