public final class ChildrenProviderElementWithName extends Object implements com.helger.commons.hierarchy.IChildrenProvider<IMicroElement>
IChildrenProvider for IMicroElement
objects considering only elements with a certain element name (and optionally
a namespace URI).| Constructor and Description |
|---|
ChildrenProviderElementWithName(String sTagName) |
ChildrenProviderElementWithName(String sNamespaceURI,
String sTagName) |
| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.collection.impl.ICommonsList<? extends IMicroElement> |
getAllChildren(IMicroElement aCurrent) |
int |
getChildCount(IMicroElement aCurrent) |
boolean |
hasChildren(IMicroElement aCurrent) |
public ChildrenProviderElementWithName(@Nonnull @Nonempty String sTagName)
public boolean hasChildren(@Nullable IMicroElement aCurrent)
hasChildren in interface com.helger.commons.hierarchy.IChildrenProvider<IMicroElement>@Nonnegative public int getChildCount(@Nullable IMicroElement aCurrent)
getChildCount in interface com.helger.commons.hierarchy.IChildrenProvider<IMicroElement>@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<? extends IMicroElement> getAllChildren(@Nullable IMicroElement aCurrent)
getAllChildren in interface com.helger.commons.hierarchy.IChildrenProvider<IMicroElement>Copyright © 2014–2019 Philip Helger. All rights reserved.