Skip to content

Commit e28e7fb

Browse files
committed
jdoc checkstyle
1 parent 0035b4d commit e28e7fb

File tree

12 files changed

+53
-0
lines changed

12 files changed

+53
-0
lines changed

src/main/java/org/htmlunit/css/ElementCssStyleDeclaration.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@ public Map<String, StyleElement> getStyleMap() {
188188
return domElement_.getStyleMap();
189189
}
190190

191+
/**
192+
* @return the {@link DomElement} associated with this
193+
*/
191194
public DomElement getDomElement() {
192195
return domElement_;
193196
}

src/main/java/org/htmlunit/javascript/host/MimeTypeArray.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ void add(final MimeType element) {
138138
elements_.add(element);
139139
}
140140

141+
/**
142+
* @return the Iterator symbol
143+
*/
141144
@JsxSymbol
142145
public Scriptable iterator() {
143146
return JavaScriptEngine.newArrayIteratorTypeValues(getParentScope(), this);

src/main/java/org/htmlunit/javascript/host/NamedNodeMap.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,9 @@ public boolean has(final int index, final Scriptable start) {
225225
return index >= 0 && index < getLength();
226226
}
227227

228+
/**
229+
* @return the Iterator symbol
230+
*/
228231
@JsxSymbol
229232
public Scriptable iterator() {
230233
return JavaScriptEngine.newArrayIteratorTypeValues(getParentScope(), this);

src/main/java/org/htmlunit/javascript/host/Plugin.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,9 @@ public String getName() {
170170
return name_;
171171
}
172172

173+
/**
174+
* @return the Iterator symbol
175+
*/
173176
@JsxSymbol
174177
public Scriptable iterator() {
175178
return JavaScriptEngine.newArrayIteratorTypeValues(getParentScope(), this);

src/main/java/org/htmlunit/javascript/host/PluginArray.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ void add(final Plugin element) {
151151
elements_.add(element);
152152
}
153153

154+
/**
155+
* @return the Iterator symbol
156+
*/
154157
@JsxSymbol
155158
public Scriptable iterator() {
156159
return JavaScriptEngine.newArrayIteratorTypeValues(getParentScope(), this);

src/main/java/org/htmlunit/javascript/host/URLSearchParams.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,24 +66,43 @@ public class URLSearchParams extends HtmlUnitScriptable {
6666

6767
private URL url_;
6868

69+
/**
70+
* {@link ES6Iterator} implementation for js support.
71+
*/
6972
public static final class NativeParamsIterator extends ES6Iterator {
7073
enum Type { KEYS, VALUES, BOTH }
7174

7275
private final Type type_;
7376
private final String className_;
7477
private final transient Iterator<NameValuePair> iterator_;
7578

79+
/**
80+
* Init.
81+
* @param scope the scope
82+
* @param className the class name
83+
*/
7684
public static void init(final ScriptableObject scope, final String className) {
7785
ES6Iterator.init(scope, false, new NativeParamsIterator(className), URL_SEARCH_PARMS_TAG);
7886
}
7987

88+
/**
89+
* Ctor.
90+
* @param className the class name
91+
*/
8092
public NativeParamsIterator(final String className) {
8193
super();
8294
iterator_ = Collections.emptyIterator();
8395
type_ = Type.BOTH;
8496
className_ = className;
8597
}
8698

99+
/**
100+
* Ctor.
101+
* @param scope the scope
102+
* @param className the class name
103+
* @param type the type
104+
* @param iterator the backing iterator
105+
*/
87106
public NativeParamsIterator(final Scriptable scope, final String className, final Type type,
88107
final Iterator<NameValuePair> iterator) {
89108
super(scope, URL_SEARCH_PARMS_TAG);

src/main/java/org/htmlunit/javascript/host/dom/RadioNodeList.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ public void setValue(final String newValue) {
122122
}
123123
}
124124

125+
/**
126+
* @return the Iterator symbol
127+
*/
125128
@JsxSymbol
126129
public Scriptable iterator() {
127130
return JavaScriptEngine.newArrayIteratorTypeValues(getParentScope(), this);

src/main/java/org/htmlunit/javascript/host/html/HTMLCollection.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ protected HTMLCollection create(final DomNode parentScope, final List<DomNode> i
111111
return new HTMLCollection(parentScope, initialElements);
112112
}
113113

114+
/**
115+
* @return the Iterator symbol
116+
*/
114117
@JsxSymbol
115118
public Scriptable iterator() {
116119
return JavaScriptEngine.newArrayIteratorTypeValues(getParentScope(), this);

src/main/java/org/htmlunit/javascript/host/html/HTMLFormElement.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ protected Object getWithPreemption(final String name) {
131131
return elements;
132132
}
133133

134+
/**
135+
* @return the Iterator symbol
136+
*/
134137
@JsxSymbol
135138
public Scriptable iterator() {
136139
return getElements().iterator();

src/main/java/org/htmlunit/javascript/host/html/HTMLOptionsCollection.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,9 @@ public void setSelectedIndex(final int index) {
310310
htmlSelect_.setSelectedIndex(index);
311311
}
312312

313+
/**
314+
* @return the Iterator symbol
315+
*/
313316
@JsxSymbol
314317
public Scriptable iterator() {
315318
return JavaScriptEngine.newArrayIteratorTypeValues(getParentScope(), this);

0 commit comments

Comments
 (0)