|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.schemedit.autoform.mde.MdeNode
org.dlese.dpc.schemedit.autoform.mde.MdeComplexType
public class MdeComplexType
Renders JSP for metadata editing but is "Simple" in the sense that it
provides no control for adding new elements or deleting optional elements.
Used as a superClass for other JSP-based renderers, such as DleseEditorRenderer.
| 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 | |
|---|---|
MdeComplexType(RendererImpl renderer)
Constructor for the MdeComplexType object |
|
| Method Summary | |
|---|---|
protected Element |
getChoiceDeleteController(String itemPath,
String elementName)
Create a controller for deleting a repeating item. |
protected Element |
getComplexTypeBox()
Creates a "box" (a decorated Div element) containing this element's id and display state. |
protected Element |
getRepeatComplexSingletonControl()
Produces "new item" controller that is attached to the field label of a repeating element, and appears only when there are NO children. |
protected String |
getRepeatingComplexSingletonChildPath()
Finds the xpath to a repeating child element if the current node contains one. |
Element |
getRequiredMultiSelectControl()
Create "choose" controller for the case where an empty requiredMultiSelect node is closed. |
protected boolean |
hasRepeatingComplexSingletonChild()
Returns true if the current node contains a single repeating child element that is not an enumeration. |
protected List |
orderSubElements(List children)
Order a list of elements so that the attributes are first. |
protected void |
prtln(String s)
NOT YET DOCUMENTED |
void |
render()
Render this complex type element |
void |
renderSubElements()
Render the subitems of the current ComplexType element by walking the children elements of the type definition. |
void |
renderSubElements(GlobalDef proxyTypeDef)
Render the subelements of specified proxyTypeDef, used to render derived models. |
void |
renderSubElements(List subElements)
Render the given subElements (or those of the current ComplexType if no subElements are provided). |
static void |
setDebug(boolean bool)
Sets the debug attribute of the MdeComplexType class |
| 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 |
|---|
public MdeComplexType(RendererImpl renderer)
renderer - NOT YET DOCUMENTED| Method Detail |
|---|
public void render()
render in class MdeNodepublic void renderSubElements()
This method called by renderComplexTypeConcrete.
public void renderSubElements(GlobalDef proxyTypeDef)
proxyTypeDef - NOT YET DOCUMENTEDpublic void renderSubElements(List subElements)
subElements - A list of elements to be rendered.protected List orderSubElements(List children)
children - a list of elements, some of which may be attributes
public Element getRequiredMultiSelectControl()
protected Element getChoiceDeleteController(String itemPath,
String elementName)
itemPath - Description of the ParameterelementName - Description of the Parameter
protected Element getRepeatComplexSingletonControl()
protected boolean hasRepeatingComplexSingletonChild()
protected String getRepeatingComplexSingletonChildPath()
protected Element getComplexTypeBox()
public static void setDebug(boolean bool)
bool - The new debug valueprotected void prtln(String s)
prtln in class MdeNodes - NOT YET DOCUMENTED
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||