com.primix.tapestry.spec
Class ContainedComponent

java.lang.Object
  |
  +--com.primix.tapestry.spec.ContainedComponent

public class ContainedComponent
extends java.lang.Object

Defines a contained component. This includes the information needed to get the contained component's specification, as well as any bindings for the component.

Version:
$Id: ContainedComponent.java,v 1.5 2001/05/02 14:15:16 hship Exp $
Author:
Howard Ship

Constructor Summary
ContainedComponent()
           
 
Method Summary
 BindingSpecification getBinding(java.lang.String name)
          Returns the named binding, or null if the binding does not exist.
 java.util.Collection getBindingNames()
          Returns an umodifiable Collection of Strings, each the name of one binding for the component.
 java.lang.String getType()
           
 void setBinding(java.lang.String name, BindingSpecification spec)
           
 void setType(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainedComponent

public ContainedComponent()
Method Detail

getBinding

public BindingSpecification getBinding(java.lang.String name)
Returns the named binding, or null if the binding does not exist.

getBindingNames

public java.util.Collection getBindingNames()
Returns an umodifiable Collection of Strings, each the name of one binding for the component.

getType

public java.lang.String getType()

setBinding

public void setBinding(java.lang.String name,
                       BindingSpecification spec)

setType

public void setType(java.lang.String value)