add Element.removeChild
This commit is contained in:
parent
d0917c78df
commit
23a5f47978
|
@ -975,4 +975,8 @@ public class Element extends Base {
|
|||
public List<ValidationMessage> getMessages() {
|
||||
return messages;
|
||||
}
|
||||
|
||||
public void removeChild(String name) {
|
||||
children.removeIf(n -> name.equals(n.getName()));
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue