Class PageModifierSequence

java.lang.Object
org.eclnt.jsfserver.elements.pagemodifier.DefaultPageModifier
org.eclnt.jsfserver.elements.pagemodifier.implxml.PageModifierSequence
All Implemented Interfaces:
IPageModifier

public class PageModifierSequence extends DefaultPageModifier implements IPageModifier
A page bean layout can be modified by its inheriting page beans. This class holds a sequence of page modifiers for a certain class.
  • Constructor Details

    • PageModifierSequence

      public PageModifierSequence(Class cl)
  • Method Details

    • addToSequenceAsFirst

      public void addToSequenceAsFirst(IPageModifier pageModifier)
      It is important to define the right sequence! The sequence e.g. follows the inheritance sequence, so that the modifier of the highest class is first, then the one of the inheriting class. The sequence is the one that is used in updateParsedNode(ParsedNode).
    • getId

      public String getId()
      Description copied from interface: IPageModifier
      Id of this page modifier.
      The id is important because it internally is one of the keys by which pages are buffered in parsed format when being accessed.
      Specified by:
      getId in interface IPageModifier
      Overrides:
      getId in class DefaultPageModifier
    • updateParsedNode

      public void updateParsedNode(org.eclnt.jsfserver.elements.impl.ROWINCLUDEComponent.ParsedNode node)
      Description copied from interface: IPageModifier
      Update the node.
      Specified by:
      updateParsedNode in interface IPageModifier
      Overrides:
      updateParsedNode in class DefaultPageModifier
    • checkIfAnyModificationContained

      public boolean checkIfAnyModificationContained()