org.richfaces.fragment.switchable

## Class AbstractComponentContainer

- java.lang.Object
- - org.richfaces.fragment.switchable.AbstractComponentContainer

- All Implemented Interfaces:
    ComponentContainer
  Direct Known Subclasses:
    RichFacesAccordionItem, RichFacesTab

      public class AbstractComponentContainer
      extends Object
      implements ComponentContainer

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractComponentContainer()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | `getContent(Class<T> clazz)` Gets initialized content of the container.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AbstractComponentContainer

          public AbstractComponentContainer()

  - ### Method Detail

    - #### getContent

          public <T> T getContent(Class<T> clazz)

      Description copied from interface: `ComponentContainer`
      Gets initialized content of the container.
      Specified by:
        `getContent` in interface `ComponentContainer`
      Parameters:
        `clazz` - class of the page object which will be correctly initialized
      Returns:
        initialized object representing the content of the container

Copyright © 2016 JBoss by Red Hat. All Rights Reserved.