public boolean hasNeitherPrefixNorSuffix () { return m_aPrefixes.hasNoChildren () && m_aSuffixes.hasNoChildren (); }
public boolean hasAnyClass () { return m_aCSSClasses.hasAnyClass (); }
@Nonnull public final HCNodeList getAllChildrenAsNodeList () { return new HCNodeList ().addChildren (m_aChildren); }
public void reset () { // Ensure to create a new node list in case the object was appended! m_aStack.clear (); m_aStack.push (new HCNodeList ()); }
@Nonnull public static HCEntityNode newUpArrow () { return new HCEntityNode (EHTMLEntity.uarr, "^"); }
@Nonnull public IHCNode renderSeparator (@Nonnull final ISimpleWebExecutionContext aSWEC, @Nonnull final IMenuSeparator aSeparator) { return HCEntityNode.newNBSP (); }
@Override public String toString () { return ToStringGenerator.getDerived (super.toString ()).append ("children", m_aChildren).toString (); } }
public HCCustomizerList (@Nullable final Iterable <? extends IHCCustomizer> aCustomizers) { if (aCustomizers != null) for (final IHCCustomizer aCustomizer : aCustomizers) addCustomizer (aCustomizer); }
@Nonnull public IMPLTYPE setEscape (final boolean bEscape) { m_bEscape = bEscape; return thisAsT (); }
@Nonnull public HCHasCSSStyles getCSSStyles () { if (m_aCSSStyles == null) m_aCSSStyles = new HCHasCSSStyles (); return m_aCSSStyles; }
@Nonnull public HCHasCSSClasses getCSSClasses () { if (m_aCSSClasses == null) m_aCSSClasses = new HCHasCSSClasses (); return m_aCSSClasses; }
@Override public boolean hasChildren () { return getWrappedNode ().hasChildren (); }
@Override public String toString () { return ToStringGenerator.getDerived (super.toString ()).append ("outOfBandNode", m_aOutOfBandNode).toString (); } }
@Nonnull public final HCNodeList getAllChildrenAsNodeList () { return new HCNodeList ().addChildren (m_aChildren); }
/** * @return dash of length "n" */ @Nonnull public static HCEntityNode newNDash () { return new HCEntityNode (EHTMLEntity.ndash, "-"); }
public boolean hasNeitherPrefixNorSuffix () { return m_aPrefixes.hasNoChildren () && m_aSuffixes.hasNoChildren (); }
@Override public String toString () { return ToStringGenerator.getDerived (super.toString ()).append ("text", m_sText).toString (); } }
@Nonnull public static HCEntityNode newNBSP () { return new HCEntityNode (EHTMLEntity.nbsp, " "); }
@Nonnull public static HCEntityNode newDownArrow () { return new HCEntityNode (EHTMLEntity.darr, "v"); }
public BootstrapCloseIcon () { addClass (CBootstrapCSS.CLOSE); setCustomAttr (CHTMLAttributes.ARIA_HIDDEN, "true"); addChild (new HCEntityNode (EHTMLEntity.times, "x")); } }