Package org.dlese.dpc.schemedit.autoform
Class Label
java.lang.Object
org.dlese.dpc.schemedit.autoform.Label
- Direct Known Subclasses:
SimpleTypeLabel
Basic Class to render an element label for metadata editors and viewers.
- Author:
- ostwald
-
Field Summary
FieldsModifier and TypeFieldDescriptionorg.dom4j.Elementprotected static booleanDescription of the Field -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddDebugInfo(org.dom4j.Element e) org.dom4j.Elementbuild up the label ElementgetText()static voidThe main program for the Label classstatic voidpp(org.dom4j.Node node) Description of the MethodvoidsetDebugInfo(String info) voidsetFieldType(String type) voidsetLabelClass(String klass) Sets the labelClass attribute of the Label objectvoidSets the text attribute of the Label object
-
Field Details
-
debug
protected static boolean debugDescription 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
Sets the text attribute of the Label object- Parameters:
text- The new text value
-
getText
-
setFieldType
-
getFieldType
-
setDebugInfo
-
setLabelClass
Sets the labelClass attribute of the Label object- Parameters:
klass- The new labelClass value
-
main
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
-