Class Label

java.lang.Object
org.dlese.dpc.schemedit.autoform.Label
Direct Known Subclasses:
SimpleTypeLabel

public class Label extends Object
Basic Class to render an element label for metadata editors and viewers.
Author:
ostwald

  • Field Details

    • debug

      protected static boolean debug
      Description of the Field
    • bestPractices

      public org.dom4j.Element bestPractices
  • Constructor Details

    • Label

      public Label()
    • Label

      public Label(int level)
      Constructor for the Label object
      Parameters:
      level - Description of the Parameter
  • Method Details

    • setText

      public void setText(String text)
      Sets the text attribute of the Label object
      Parameters:
      text - The new text value
    • getText

      public String getText()
    • setFieldType

      public void setFieldType(String type)
    • getFieldType

      public String getFieldType()
    • setDebugInfo

      public void setDebugInfo(String info)
    • setLabelClass

      public void setLabelClass(String klass)
      Sets the labelClass attribute of the Label object
      Parameters:
      klass - The new labelClass value
    • main

      public static void main(String[] args)
      The main program for the Label class
      Parameters:
      args - The command line arguments
    • getElement

      public org.dom4j.Element getElement()
      build up the label Element
      Returns:
      The element value
    • addDebugInfo

      protected void addDebugInfo(org.dom4j.Element e)
    • pp

      public static void pp(org.dom4j.Node node)
      Description of the Method