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

Method setValue

src/main/java/org/htmlunit/html/DomAttr.java:110–120  ·  view source on GitHub ↗

{@inheritDoc}

(final String value)

Source from the content-addressed store, hash-verified

108 * {@inheritDoc}
109 */
110 @Override
111 public void setValue(final String value) {
112 if (value != null
113 && value.isEmpty()) {
114 value_ = DomElement.ATTRIBUTE_VALUE_EMPTY;
115 }
116 else {
117 value_ = value;
118 }
119 specified_ = true;
120 }
121
122 /**
123 * {@inheritDoc}

Callers 7

detachFromParentMethod · 0.95
updateAttributeMethod · 0.95
setNodeValueMethod · 0.95
setTextContentMethod · 0.95
getAttributesForMethod · 0.95
createElementNSMethod · 0.95
parseMethod · 0.45

Calls 1

isEmptyMethod · 0.65

Tested by

no test coverage detected