Revision 127
Added by Matt Jones almost 24 years ago
BasicElement.java | ||
---|---|---|
184 | 184 |
this.nodeType = type; |
185 | 185 |
} |
186 | 186 |
|
187 |
/** Add a child node to this node */ |
|
188 |
public void addChildNode(BasicElement child) { |
|
189 |
this.children.add(child); |
|
190 |
} |
|
191 |
|
|
192 |
/** Get the an enumeration of the children of this node */ |
|
193 |
public Enumeration getChildren() { |
|
194 |
return children.elements(); |
|
195 |
} |
|
196 |
|
|
187 | 197 |
/** increase childNum when new child for the element is created */ |
188 | 198 |
public int incChildNum() { |
189 | 199 |
return ++this.childNum; |
Also available in: Unified diff
continued changing to DOM TEXT node model