类 CompositeComponentDefinition

    • 构造器详细资料

      • CompositeComponentDefinition

        public CompositeComponentDefinition​(String name,
                                            Object source)
        Create a new CompositeComponentDefinition.
        参数:
        name - the name of the composite component
        source - the source element that defines the root of the composite component
    • 方法详细资料

      • getName

        public String getName()
        从接口复制的说明: ComponentDefinition
        Get the user-visible name of this ComponentDefinition.

        This should link back directly to the corresponding configuration data for this component in a given context.

      • addNestedComponent

        public void addNestedComponent​(ComponentDefinition component)
        Add the given component as nested element of this composite component.
        参数:
        component - the nested component to add
      • getNestedComponents

        public ComponentDefinition[] getNestedComponents()
        Return the nested components that this composite component holds.
        返回:
        the array of nested components, or an empty array if none