Class EditableValueHolderRule


  • public final class EditableValueHolderRule
    extends MetaRule
    Author:
    Jacob Hookom
    • Constructor Detail

      • EditableValueHolderRule

        public EditableValueHolderRule()
    • Method Detail

      • applyRule

        public Metadata applyRule​(String name,
                                  TagAttribute attribute,
                                  MetadataTarget meta)
        Description copied from class: MetaRule

        Return an abstraction that takes appropriate action given the kind of rule represented by the argument name, in the context of this particular concrete subclass of MetaRule. The abstraction must encapsulate the value from the argument attribute.

        Specified by:
        applyRule in class MetaRule
        Parameters:
        name - the name for this rule. This will generally be the name of a tag attribute in the VDL.
        attribute - the name/value pair for this attribute on this particular instance of an element in the page.
        meta - the MetadataTarged that can be used to discern what kind of action to encapsulate within the abstraction to be returned.
        Returns:
        the Metadata.