Class EditorViewRecord


public class EditorViewRecord extends DcsViewRecord
Supports creation of jsp to view (as opposed to edit) an entire MetaDataRecord within the metadata editor. Jsp is constructed by the EditorViewerRenderer.
Version:
$Id: EditorViewRecord.java,v 1.12 2009/07/07 02:52:53 ostwald Exp $
Author:
ostwald
  • Constructor Details

    • EditorViewRecord

      public EditorViewRecord(MetaDataFramework framework)
      Constructor for the EditorViewRecord object
      Parameters:
      framework - Description of the Parameter
    • EditorViewRecord

      public EditorViewRecord(String xmlFormat) throws Exception, SchemaHelperException
      Constructor for the Stand-alone DcsViewRecord object, meaning it is created from command line rather than via schemedit.
      Parameters:
      xmlFormat - Description of the Parameter
      Throws:
      SchemaHelperException - Description of the Exception
      Exception - NOT YET DOCUMENTED
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      The main program for the EditorViewRecord class, to be invoked from the command line for debugging purposes.
      Parameters:
      args - The command line arguments
      Throws:
      Exception
    • getRendererClassName

      protected String getRendererClassName()
      Gets the rendererClassName attribute of the EditorViewRecord object
      Overrides:
      getRendererClassName in class DcsViewRecord
      Returns:
      The rendererClassName value
    • getJspDest

      protected File getJspDest(String unused)
      Contruct a path for the single jsp page, in the case of single-page jsp, or the page that integrates the component jsp pages, in the case of batch-rendered frameworks.
      Overrides:
      getJspDest in class DcsViewRecord
      Parameters:
      unused - NOT YET DOCUMENTED
      Returns:
      The jspDest value
    • getBatchJspDest

      protected File getBatchJspDest(String pageName) throws Exception
      Contruct a path for the component jsp pages
      Overrides:
      getBatchJspDest in class DcsViewRecord
      Parameters:
      pageName - NOT YET DOCUMENTED
      Returns:
      The batchJspDest value
      Throws:
      Exception - NOT YET DOCUMENTED
    • getMasterJspHeader

      protected String getMasterJspHeader()
      Description copied from class: AutoForm
      JSP code to insert at the top of master jsp files.
      Overrides:
      getMasterJspHeader in class DcsViewRecord
      Returns:
      The masterJspHeader value
    • getComponentJspHeader

      protected String getComponentJspHeader()
      Description copied from class: AutoForm
      JSP code to insert at the top of component jsp files. In the case of AutoForm, where the components are on separate JSP pages, the component and master headers are the same. In subclasses, the component JSP pages maybe included (via jsp:include) in the master, and therefore they may require a different header.
      Overrides:
      getComponentJspHeader in class AutoForm
      Returns:
      The componentJspHeader value
    • getMasterComponentPath

      protected String getMasterComponentPath(String pageName)
      Overrides:
      getMasterComponentPath in class DcsViewRecord