org.oddjob.designer.model
Class ComponentElement

java.lang.Object
  extended byorg.oddjob.designer.model.ComponentElement

public class ComponentElement
extends java.lang.Object

Used for creating a component element. That is a component that is nested in an element. e.g. if where component is nested in child, then else, exception tags.

static factory methods are used which allow the component element to be empty.


Method Summary
static ComponentElement createNested(DesignComponent dc)
           
static ComponentElement createNested(java.lang.Object[] dcs)
           
 ElementWrapper[] elements()
          Used by reflection to produce the XML.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

elements

public ElementWrapper[] elements()
Used by reflection to produce the XML.

Returns:
The component object wrappped as elements.

createNested

public static ComponentElement createNested(DesignComponent dc)

createNested

public static ComponentElement createNested(java.lang.Object[] dcs)