Package com.helger.html.hc
Interface IHCIteratorCallback
-
- All Superinterfaces:
com.helger.commons.callback.ICallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IHCIteratorCallback extends com.helger.commons.callback.ICallback
Callback interface to be used when iterating an HC tree.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.helger.commons.state.EContinuecall(IHCNode aParentNode, IHCNode aChildNode)Callback method
-
-
-
Method Detail
-
call
@Nonnull com.helger.commons.state.EContinue call(@Nullable IHCNode aParentNode, @Nonnull IHCNode aChildNode)
Callback method- Parameters:
aParentNode- Optional parent node. May benullfor the initial element.aChildNode- The current child node. Nevernull.- Returns:
EContinue.BREAKto break iteration andEContinue.CONTINUEto continue iteration.
-
-