org.apache.hivemind.impl
Class ContributionImpl

java.lang.Object
  extended by org.apache.hivemind.impl.ContributionImpl
All Implemented Interfaces:
Contribution

public final class ContributionImpl
extends java.lang.Object
implements Contribution

Implements the Contribution interface, a wrapper around objects that can provide values that plug into an extension point.

Author:
Howard Lewis Ship

Constructor Summary
ContributionImpl()
           
 
Method Summary
 void addElements(java.util.List elements)
           
 Module getContributingModule()
          Returns the module which made this contribution.
 java.util.List getElements()
          Returns a List of Element, the representation of the XML elements in the extension.
 void setContributingModule(Module module)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContributionImpl

public ContributionImpl()
Method Detail

getContributingModule

public Module getContributingModule()
Description copied from interface: Contribution
Returns the module which made this contribution.

Specified by:
getContributingModule in interface Contribution

setContributingModule

public void setContributingModule(Module module)

addElements

public void addElements(java.util.List elements)

getElements

public java.util.List getElements()
Description copied from interface: Contribution
Returns a List of Element, the representation of the XML elements in the extension. The ConfigurationPoint will use its Schema (if present) to convert this XML representation into the object representation returned by ConfigurationPoint.getElements().

Specified by:
getElements in interface Contribution