com.sun.rave.web.ui.component.util.descriptors
Class ComponentType

java.lang.Object
  extended by com.sun.rave.web.ui.component.util.descriptors.ComponentType
All Implemented Interfaces:
java.io.Serializable

public class ComponentType
extends java.lang.Object
implements java.io.Serializable

This class holds information that describes a LayoutComponent type. It provides access to a ComponentFactory for instantiating an instance of a the UIComponent described by this descriptor. See the layout.dtd file for more information on how to declare types via XML.

See Also:
Serialized Form

Constructor Summary
ComponentType(java.lang.String id, java.lang.String factoryClass)
          Constructor
 
Method Summary
protected  ComponentFactory createFactory()
          This method creates a new factory.
 ComponentFactory getFactory()
          This method provides access to the UIComponentFactory.
 java.lang.String getId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentType

public ComponentType(java.lang.String id,
                     java.lang.String factoryClass)
Constructor

Method Detail

getId

public java.lang.String getId()

getFactory

public ComponentFactory getFactory()
This method provides access to the UIComponentFactory.

Returns:
ComponentFactory

createFactory

protected ComponentFactory createFactory()
This method creates a new factory.

Returns:
ComponentFactory