org.apache.hivemind.impl
Class ContributionImpl
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContributionImpl
public ContributionImpl()
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