MCPcopy Index your code
hub / github.com/HtmlUnit/htmlunit / getType

Method getType

src/main/java/org/htmlunit/html/HtmlInput.java:1087–1092  ·  view source on GitHub ↗

@return the type property

()

Source from the content-addressed store, hash-verified

1085 * @return the {@code type} property
1086 */
1087 public final String getType() {
1088 final BrowserVersion browserVersion = getPage().getWebClient().getBrowserVersion();
1089 String type = getTypeAttribute();
1090 type = StringUtils.toRootLowerCase(type);
1091 return isSupported(type, browserVersion) ? type : "text";
1092 }
1093
1094 /**
1095 * <span style="color:red">INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.</span><br>

Callers 9

setTypeMethod · 0.95
handlesMethod · 0.45
handlesMethod · 0.45
submitMethod · 0.45
updateHtml5AttributesMethod · 0.45
handlesMethod · 0.45
handlesMethod · 0.45
handlesMethod · 0.45
handlesMethod · 0.45

Calls 6

getTypeAttributeMethod · 0.95
toRootLowerCaseMethod · 0.95
isSupportedMethod · 0.95
getWebClientMethod · 0.65
getPageMethod · 0.65
getBrowserVersionMethod · 0.45

Tested by 1

setTypeMethod · 0.76