org.dlese.dpc.schemedit.autoform
Class EditorViewerRenderer
java.lang.Object
org.dlese.dpc.schemedit.autoform.Renderer
org.dlese.dpc.schemedit.autoform.RendererImpl
org.dlese.dpc.schemedit.autoform.ViewerRenderer
org.dlese.dpc.schemedit.autoform.EditorViewerRenderer
public class EditorViewerRenderer
- extends ViewerRenderer
Renders JSP for viewing (rather than editing) XML documents in the MetaData
Editor.
Unlike ViewerRenderer
, this class
presents best Practice information (when available) for all elements.
- Author:
- ostwald
Fields inherited from class org.dlese.dpc.schemedit.autoform.Renderer |
df, formBeanName, normalizedXPath, parent, repeatingComplexSingletonChildPath, rhelper, root, schemaNode, sh, typeDef, typeName, xpath |
Method Summary |
protected Element |
getEditMeTag(String xpath,
String siblingPath,
String indexId)
Gets the editMeTag attribute of the EditorViewerRenderer object |
static void |
setDebug(boolean bool)
Sets the debug attribute of the EditorViewerRenderer class |
Methods inherited from class org.dlese.dpc.schemedit.autoform.ViewerRenderer |
getComplexTypeLabel, getDeleteController, getEditMeTag, getInputElement, getMultiSelectInput, getOptionalItemControl, getRenderedField_1, getRenderedField_2, getRenderedField, getSimpleTypeLabel, getStaticSimpleValue, hasValueTest, missingValueTest, renderAttribute, renderChoice, renderComplexTypeConcrete, renderRepeatingElement, renderSequence, renderSimpleTypeConcrete, renderSubElements, renderSubElements |
Methods inherited from class org.dlese.dpc.schemedit.autoform.RendererImpl |
bestPracticesLink, doInit, getBooleanInput, getComboUnionInput, getComplexTypeLabel, getInputHelperElement, getLabelText, getLanguageInput, getMultiBoxInput, getMultiBoxLabel, getReadOnlyElement, getRenderedField, getRenderMode, getSelectInput, getShowNSPrefixInLabels, getSimpleTypeLabel, getTextAreaInput, getTextAreaInput, getTextInput, getToolHelp, getXpath, isDisplayMode, isEditMode, renderDerivedContentModel, renderDerivedTextOnlyModel, renderInputElement, renderModelGroup, renderRepeatingSubstitutionGroup, renderSubElements, report, setRenderMode, setShowNSPrefixInLabels, showXsdStringElement |
Methods inherited from class org.dlese.dpc.schemedit.autoform.Renderer |
doInit, getDiv, getDiv, getLevel, getSchemaNamespace, getSchemaNSPrefix, getXmlFormat, init, jspQuotedString, renderComplexType, renderNode, renderSimpleType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EditorViewerRenderer
public EditorViewerRenderer()
getEditMeTag
protected Element getEditMeTag(String xpath,
String siblingPath,
String indexId)
- Gets the editMeTag attribute of the EditorViewerRenderer object
- Overrides:
getEditMeTag
in class ViewerRenderer
- Parameters:
xpath
- Description of the ParametersiblingPath
- Description of the ParameterindexId
- Description of the Parameter
- Returns:
- The editMeTag value
setDebug
public static void setDebug(boolean bool)
- Sets the debug attribute of the EditorViewerRenderer class
- Parameters:
bool
- The new debug value