Package com.helger.html.hc.html
Interface IHCElementWithInternalChildren<IMPLTYPE extends IHCElementWithInternalChildren<IMPLTYPE,CHILDTYPE>,CHILDTYPE extends IHCNode>
-
- Type Parameters:
IMPLTYPE- Implementation typeCHILDTYPE- Contained child type
- All Superinterfaces:
com.helger.commons.traits.IGenericImplTrait<IMPLTYPE>,com.helger.commons.hierarchy.IHasChildren<IHCNode>,com.helger.commons.hierarchy.IHasChildrenRecursive<IHCNode>,com.helger.commons.hierarchy.IHasChildrenSorted<IHCNode>,IHCElement<IMPLTYPE>,IHCHasChildrenMutable<IMPLTYPE,CHILDTYPE>,IHCHasCSSClasses<IMPLTYPE>,IHCHasCSSStyles<IMPLTYPE>,IHCHasID<IMPLTYPE>,IHCNode,Serializable
- All Known Subinterfaces:
IHCA<IMPLTYPE>,IHCButton<IMPLTYPE>,IHCCanvas<IMPLTYPE>,IHCCell<IMPLTYPE>,IHCDefinitionItem<IMPLTYPE>,IHCDiv<IMPLTYPE>,IHCElementWithChildren<IMPLTYPE>,IHCFooter<IMPLTYPE>,IHCForm<IMPLTYPE>,IHCIFrame<IMPLTYPE>,IHCLabel<IMPLTYPE>,IHCLI<IMPLTYPE>,IHCList<IMPLTYPE,ITEMTYPE>,IHCMediaElement<IMPLTYPE>,IHCMeter<IMPLTYPE>,IHCNav<IMPLTYPE>,IHCObject<IMPLTYPE>,IHCOL<IMPLTYPE>,IHCOLBase<IMPLTYPE,ITEMTYPE>,IHCPre<IMPLTYPE>,IHCProgress<IMPLTYPE>,IHCRubyChild<IMPLTYPE>,IHCSpan<IMPLTYPE>,IHCTablePart<IMPLTYPE>,IHCUL<IMPLTYPE>,IHCULBase<IMPLTYPE,ITEMTYPE>
- All Known Implementing Classes:
AbstractHCA,AbstractHCBlockQuote,AbstractHCButton,AbstractHCCanvas,AbstractHCCell,AbstractHCDefinitionItem,AbstractHCDiv,AbstractHCElementWithChildren,AbstractHCElementWithInternalChildren,AbstractHCFooter,AbstractHCForm,AbstractHCH1,AbstractHCH2,AbstractHCH3,AbstractHCH4,AbstractHCH5,AbstractHCH6,AbstractHCIFrame,AbstractHCLabel,AbstractHCLI,AbstractHCList,AbstractHCListLI,AbstractHCMediaElement,AbstractHCMeter,AbstractHCNav,AbstractHCObject,AbstractHCOL,AbstractHCOLBase,AbstractHCPre,AbstractHCProgress,AbstractHCRubyChild,AbstractHCSpan,AbstractHCTablePart,AbstractHCUL,AbstractHCULBase,HCA,HCA_JS,HCA_MailTo,HCAbbr,HCAddress,HCArticle,HCAside,HCAudio,HCB,HCBDI,HCBDO,HCBlockQuote,HCBody,HCButton,HCButton_Reset,HCButton_Submit,HCCanvas,HCCaption,HCCenter,HCCite,HCCode,HCColGroup,HCData,HCDataList,HCDD,HCDel,HCDetails,HCDFN,HCDialog,HCDir,HCDiv,HCDL,HCDT,HCEM,HCFieldSet,HCFigCaption,HCFigure,HCFont,HCFooter,HCForm,HCFrameset,HCGenericElementWithChildren,HCH1,HCH2,HCH3,HCH4,HCH5,HCH6,HCHeader,HCHGroup,HCI,HCIFrame,HCIns,HCKBD,HCLabel,HCLegend,HCLI,HCLinkButton,HCMain,HCMap,HCMark,HCMenu,HCMenuItem,HCMeter,HCNav,HCNoBR,HCNoScript,HCObject,HCOL,HCOptGroup,HCOption,HCOutput,HCP,HCPicture,HCPre,HCProgress,HCQ,HCRow,HCRP,HCRT,HCRuby,HCS,HCSamp,HCSection,HCSlot,HCSmall,HCSpan,HCStrong,HCSub,HCSummary,HCSup,HCTBody,HCTD,HCTFoot,HCTH,HCTHead,HCTime,HCU,HCUL,HCVar,HCVideo
public interface IHCElementWithInternalChildren<IMPLTYPE extends IHCElementWithInternalChildren<IMPLTYPE,CHILDTYPE>,CHILDTYPE extends IHCNode> extends IHCElement<IMPLTYPE>, IHCHasChildrenMutable<IMPLTYPE,CHILDTYPE>
Interface for elements having children of a certain type.- Author:
- Philip Helger
-
-
Field Summary
-
Fields inherited from interface com.helger.html.hc.html.IHCElement
DEFAULT_TABINDEX
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default booleanrecursiveContainsChildWithTagName(EHTMLElement... aElements)Check if this element contains any of the specified elements.-
Methods inherited from interface com.helger.commons.hierarchy.IHasChildren
forAllChildren, forAllChildren, forAllChildrenBreakable, forAllChildrenMapped, getChildCount, getChildren, hasChildren, hasNoChildren
-
Methods inherited from interface com.helger.commons.hierarchy.IHasChildrenRecursive
forAllChildrenRecursive, forAllChildrenRecursive
-
Methods inherited from interface com.helger.commons.hierarchy.IHasChildrenSorted
findFirstChild, findFirstChildMapped, getAllChildren, getChildAtIndex, getFirstChild, getLastChild
-
Methods inherited from interface com.helger.html.hc.html.IHCElement
addEventHandler, containsEventHandler, customAttrs, getAccessKey, getContentEditable, getDirection, getDraggable, getElement, getEventHandler, getEventMap, getLanguage, getRole, getTabIndex, getTagName, getTitle, getTranslate, isHidden, isSpellCheck, isTranslateOff, isTranslateOn, isTranslateUndefined, isUnfocusable, prependEventHandler, removeAllEventHandler, setAccessKey, setContentEditable, setDirection, setDraggable, setEventHandler, setHidden, setLanguage, setRole, setSpellCheck, setTabIndex, setTitle, setTranslate, setTranslate, setUnfocusable, withCustomAttrs
-
Methods inherited from interface com.helger.html.hc.IHCHasChildrenMutable
addAndReturnChild, addAndReturnChildAt, addChild, addChildAt, addChildren, addChildren, addChildren, addChildrenAt, addChildrenAt, getAllChildrenAsNodeList, removeAllChildren, removeChild, removeChildAt, setChild, sortAllChildren
-
Methods inherited from interface com.helger.html.hc.html.IHCHasCSSClasses
addClass, addClasses, addClasses, addClasses, containsClass, getAllClasses, getAllClassesAsString, getAllClassNames, hasAnyClass, removeAllClasses, removeClass
-
Methods inherited from interface com.helger.html.hc.html.IHCHasCSSStyles
addStyle, addStyle, addStyles, addStyles, addStyles, containsStyle, getAllStyles, getAllStylesAsString, getAllStyleValues, getStyleValue, hasAnyStyle, hasStyle, removeAllStyles, removeStyle
-
Methods inherited from interface com.helger.html.hc.IHCHasID
ensureID, getID, hasID, hasNoID, setID, setUniqueID
-
Methods inherited from interface com.helger.html.hc.IHCNode
canConvertToMicroNode, consistencyCheck, convertToMicroNode, customizeNode, finalizeNodeState, getNodeState, getPlainText, registerExternalResources
-
-
-
-
Method Detail
-
recursiveContainsChildWithTagName
default boolean recursiveContainsChildWithTagName(@Nonnull @Nonempty EHTMLElement... aElements)
Check if this element contains any of the specified elements.- Parameters:
aElements- The list of HTML elements to query. May neither benullnor empty.- Returns:
trueif such an element is contained,falseif not.
-
-