Package com.helger.xml.microdom.util
Class ChildrenProviderElementWithName
java.lang.Object
com.helger.xml.microdom.util.ChildrenProviderElementWithName
- All Implemented Interfaces:
com.helger.commons.hierarchy.IChildrenProvider<IMicroElement>
public final class ChildrenProviderElementWithName
extends Object
implements com.helger.commons.hierarchy.IChildrenProvider<IMicroElement>
Implementation of the
IChildrenProvider for IMicroElement
objects considering only elements with a certain element name (and optionally
a namespace URI).- Author:
- Philip Helger
-
Constructor Summary
ConstructorsConstructorDescriptionChildrenProviderElementWithName(String sTagName) ChildrenProviderElementWithName(String sNamespaceURI, String sTagName) -
Method Summary
Modifier and TypeMethodDescriptioncom.helger.commons.collection.impl.ICommonsList<? extends IMicroElement>getAllChildren(IMicroElement aCurrent) intgetChildCount(IMicroElement aCurrent) booleanhasChildren(IMicroElement aCurrent) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.helger.commons.hierarchy.IChildrenProvider
hasNoChildren
-
Constructor Details
-
ChildrenProviderElementWithName
-
ChildrenProviderElementWithName
-
-
Method Details
-
hasChildren
- Specified by:
hasChildrenin interfacecom.helger.commons.hierarchy.IChildrenProvider<IMicroElement>
-
getChildCount
- Specified by:
getChildCountin interfacecom.helger.commons.hierarchy.IChildrenProvider<IMicroElement>
-
getAllChildren
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<? extends IMicroElement> getAllChildren(@Nullable IMicroElement aCurrent) - Specified by:
getAllChildrenin interfacecom.helger.commons.hierarchy.IChildrenProvider<IMicroElement>
-