@Override
  public Collection<String> getSubtreeIdsToVisit(UIComponent component)
  {
    // Make sure component is a NamingContainer
    if (!(component instanceof NamingContainer))
    {
      throw new IllegalArgumentException("Component is not a NamingContainer: " + component);
    }

    String clientId = component.getClientId(getFacesContext());
    Collection<String> ids = _subtreeClientIds.get(clientId);

    if (ids == null)
    {
        return Collections.emptyList();
    }
    else
    {
        return Collections.unmodifiableCollection(ids);
    }
  }
@ Override public Collection < String > getSubtreeIdsToVisit ( UIComponent component ) { if ( ! ( component instanceof NamingContainer ) ) { throw new IllegalArgumentException ( "Component is not a NamingContainer: " + component ) ; } String clientId = component . getClientId ( getFacesContext ( ) ) ; Collection < String > ids = _subtreeClientIds . get ( clientId ) ; if ( ids == null ) { return Collections . emptyList ( ) ; } else { return Collections . unmodifiableCollection ( ids ) ; } }
@see VisitContext#getSubtreeIdsToVisit VisitContext.getSubtreeIdsToVisit()