Interface ValueSupport

  • All Known Implementing Classes:
    DependencyTag, ElementTag, EntryKeyTag, EntryTag, FactoryTag, InvocationTargetTag, ParameterTag, PropertyTag, SetPropertyTag

    public interface ValueSupport

    Definition of an interface for tag handler classes that can be assigned a value.

    This interface can be implemented by tag handler classes that produce values. The intension is that specialized tag handler classes in the body of these tags create the value and assign it to the ValueSupport tag. This way a specialized algorithm for creating values can be implemented by specialized tags. Therefore the interface defines a single method for setting an arbitrary value.

    Version:
    $Id: ValueSupport.java 205 2012-01-29 18:29:57Z oheger $
    Author:
    Oliver Heger
    • Method Detail

      • setValue

        void setValue​(Object value)
        Sets the value. The value can be an arbitrary object.
        Parameters:
        value - the value to be set