DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.autoform
Class EditorViewerRenderer

java.lang.Object
  extended by org.dlese.dpc.schemedit.autoform.Renderer
      extended by org.dlese.dpc.schemedit.autoform.RendererImpl
          extended by org.dlese.dpc.schemedit.autoform.ViewerRenderer
              extended by 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

Field Summary
 
Fields inherited from class org.dlese.dpc.schemedit.autoform.RendererImpl
DISPLAY_MODE, EDIT_MODE
 
Fields inherited from class org.dlese.dpc.schemedit.autoform.Renderer
df, formBeanName, normalizedXPath, parent, repeatingComplexSingletonChildPath, rhelper, root, schemaNode, sh, typeDef, typeName, xpath
 
Constructor Summary
EditorViewerRenderer()
           
 
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
 

Constructor Detail

EditorViewerRenderer

public EditorViewerRenderer()
Method Detail

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 Parameter
siblingPath - Description of the Parameter
indexId - 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

DLESE Tools
v1.6.0