Interface ElementBindingHandler

All Superinterfaces:
ElementMetaBase
All Known Implementing Classes:
AbstractElementBindingHandler, ElementClassAttributeBindingHandler, ElementClassBindingHandler, ElementInterfaceBindingHandler, ElementModuleBindingHandler, ElementNamespaceBindingHandler, ElementRefectionBindingHandler, StringSplitConverterBindingHandler, StringSplitConverterStepBindingHandler

public interface ElementBindingHandler extends ElementMetaBase
Bind ElementObjects together. This interface is used to bind a parent and child ElementObject together. For example; when both objects are an JComponent then we can add the child to the parent with the method: ((JComponent)parent).add((JComponent)child);
Version:
1.0 Aug 17, 2005
Author:
Willem Cazander
  • Method Details

    • getBindParentClass

      Class<?> getBindParentClass()
      Returns:
      Returns the parent classes which this binding handler can do.
    • getBindChildClasses

      Class<?>[] getBindChildClasses()
      Returns:
      Returns array of child classes which this binding handler can do.
    • bindChild

      void bindChild(Element childElement) throws ElementBindingHandlerException
      Do the binding of this child to the parent object.
      Parameters:
      childElement - The child element to bind to the parent.'
      Throws:
      ElementBindingHandlerException - When binding could not happen.
    • createChilderen

      void createChilderen(Element parentElement) throws ElementBindingHandlerException
      Creates the childeren of the parent object.
      Parameters:
      parentElement - The parent element to create the childeren from.'
      Throws:
      ElementBindingHandlerException - When binding could not happen.