Class MdeDerivedTextOnlyModel
java.lang.Object
org.dlese.dpc.schemedit.autoform.mde.MdeNode
org.dlese.dpc.schemedit.autoform.mde.MdeComplexType
org.dlese.dpc.schemedit.autoform.mde.MdeDerivedTextOnlyModel
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:
invalid input: '<'xsd:complexType> invalid input: '<'xsd:simpleContent> invalid input: '<'xsd:extension base="xsd:string"> invalid input: '<'xsd:attribute name="URL" type="stringTextType" use="required"/> invalid input: '<'/xsd:extension> invalid input: '<'/xsd:simpleContent> invalid input: '<'/xsd:complexType>
- 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
ConstructorsConstructorDescriptionMdeDerivedTextOnlyModel(RendererImpl renderer) Constructor for the MdeDerivedTextOnlyModel object -
Method Summary
Modifier and TypeMethodDescriptionprotected voidNOT YET DOCUMENTEDvoidrender()The base element is rendered as the base type before rendering the children.protected voidRender the extension element of a Derived Text-Only Model.static voidsetDebug(boolean bool) Sets the debug attribute of the MdeDerivedTextOnlyModel classMethods inherited from class org.dlese.dpc.schemedit.autoform.mde.MdeComplexType
getChoiceDeleteController, getComplexTypeBox, getRepeatComplexSingletonControl, getRepeatingComplexSingletonChildPath, getRequiredMultiSelectControl, hasRepeatingComplexSingletonChild, orderSubElements, renderSubElements, renderSubElements, renderSubElementsMethods 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
-
Constructor Details
-
MdeDerivedTextOnlyModel
Constructor for the MdeDerivedTextOnlyModel object- Parameters:
renderer- NOT YET DOCUMENTED
-
-
Method Details
-
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!invalid input: '<'- Overrides:
renderin classMdeComplexType
-
renderTextExtensionElement
protected void renderTextExtensionElement()Render the extension element of a Derived Text-Only Model.This method implemented so it can be overridden in
DleseEditorRendererto 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
NOT YET DOCUMENTED- Overrides:
prtlnin classMdeComplexType- Parameters:
s- NOT YET DOCUMENTED
-