Class MdeChoice

Direct Known Subclasses:
MdeMultiChoice

public class MdeChoice extends MdeComplexType
Render a simple Choice compositor.
Author:
ostwald
  • Field Details

    • choiceCompositor

      protected Choice choiceCompositor
  • Constructor Details

    • MdeChoice

      public MdeChoice(RendererImpl renderer)
      Constructor for the MdeChoice object
      Parameters:
      renderer - NOT YET DOCUMENTED
  • Method Details

    • render

      public void render(org.dom4j.Element choiceElement)
      Render children elements of a choice compositor. The JSP has to test for which of the choices actually exists in the instance document before an input can be displayed for it. So renderChoice creates an iterator that will construct the paths to the possible choices, and when one of the paths actually exists in the document, then that path is used to construct an input element.
      Parameters:
      choiceElement - NOT YET DOCUMENTED
    • getChoiceSelect

      protected org.dom4j.Element getChoiceSelect()
    • setDebug

      public static void setDebug(boolean verbose)
      Sets the debug attribute of the MdeChoice class
      Parameters:
      verbose - The new debug value
    • prtln

      protected void prtln(String s)
      NOT YET DOCUMENTED
      Overrides:
      prtln in class MdeComplexType
      Parameters:
      s - NOT YET DOCUMENTED