DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.autoform.mde
Class MdeDerivedTextOnlyModel

java.lang.Object
  extended by org.dlese.dpc.schemedit.autoform.mde.MdeNode
      extended by org.dlese.dpc.schemedit.autoform.mde.MdeComplexType
          extended by org.dlese.dpc.schemedit.autoform.mde.MdeDerivedTextOnlyModel

public class MdeDerivedTextOnlyModel
extends MdeComplexType

Class responsible for rendering a Text-only content model, which is a complexType that uses a simpleContent element. SimpleContent elements have base element that is "extended" by adding attributes.

An example text-only model definition:

  
    
      
        
         

Author:
ostwald


Field Summary
 
Fields inherited from class org.dlese.dpc.schemedit.autoform.mde.MdeNode
df, formBeanName, inputHelperFile, normalizedXPath, parent, renderer, rhelper, schemaNode, sh, typeDef, xpath
 
Constructor Summary
MdeDerivedTextOnlyModel(RendererImpl renderer)
          Constructor for the MdeDerivedTextOnlyModel object
 
Method Summary
protected  void prtln(String s)
          NOT YET DOCUMENTED
 void render()
          The base element is rendered as the base type before rendering the children.
protected  void renderTextExtensionElement()
          Render the extension element of a Derived Text-Only Model.
static void setDebug(boolean bool)
          Sets the debug attribute of the MdeDerivedTextOnlyModel class
 
Methods inherited from class org.dlese.dpc.schemedit.autoform.mde.MdeComplexType
getChoiceDeleteController, getComplexTypeBox, getRepeatComplexSingletonControl, getRepeatingComplexSingletonChildPath, getRequiredMultiSelectControl, hasRepeatingComplexSingletonChild, orderSubElements, renderSubElements, renderSubElements, renderSubElements
 
Methods inherited from class org.dlese.dpc.schemedit.autoform.mde.MdeNode
addHtmlComment, attachElementDebugInfo, attachElementDebugInfo, attachElementId, attachLabelDebugInfo, attachLabelDebugInfo, attachLabelDebugInfo, bestPracticesLink, embedDebugInfo, getDiv, getDiv, getInputElement, getInputHelperFile, getInstanceSchemaNamespace, getMode, getQualifiedAttributeName, getQualifiedElementName, getRenderedField, getRenderedNoInputField, getRenderedNoInputField, getRenderedNoInputField, getToolHelp, insertDisplaySetup, insertHtmlComment, isDisplayMode, isEditMode, newRenderer, newRenderer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MdeDerivedTextOnlyModel

public MdeDerivedTextOnlyModel(RendererImpl renderer)
Constructor for the MdeDerivedTextOnlyModel object

Parameters:
renderer - NOT YET DOCUMENTED
Method Detail

render

public void render()
The base element is rendered as the base type before rendering the children. NOTE: we can't assume the base element is a SimpleType!<

Overrides:
render in class MdeComplexType

renderTextExtensionElement

protected void renderTextExtensionElement()
Render the extension element of a Derived Text-Only Model.

This method implemented so it can be overridden in DleseEditorRenderer to suppress display under certain circumstances.


setDebug

public static void setDebug(boolean bool)
Sets the debug attribute of the MdeDerivedTextOnlyModel class

Parameters:
bool - The new debug value

prtln

protected void prtln(String s)
NOT YET DOCUMENTED

Overrides:
prtln in class MdeComplexType
Parameters:
s - NOT YET DOCUMENTED

DLESE Tools
v1.6.0