Class DcsViewRecord

java.lang.Object
org.dlese.dpc.schemedit.autoform.AutoForm
org.dlese.dpc.schemedit.autoform.DcsViewRecord
Direct Known Subclasses:
EditorViewRecord

public class DcsViewRecord extends AutoForm
Displays an XML metadata record using the ViewerRenderer. DcsViewRecord provides the view of the entire record for the DCS DcsViewRecord page
Author:
ostwald
  • Constructor Details

    • DcsViewRecord

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

      public DcsViewRecord(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
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      The main program for the DcsViewRecord class. The first argument is command, the second is arg (if nec);
      Parameters:
      args - The command line arguments
      Throws:
      Exception
    • renderAndWrite

      public void renderAndWrite() throws Exception
      Throws:
      Exception
    • batchRenderAndWrite

      public void batchRenderAndWrite() throws Exception
      Description copied from class: AutoForm
      Create a jsp file for each top-level element of the schema
      Overrides:
      batchRenderAndWrite in class AutoForm
      Throws:
      Exception - NOT YET DOCUMENTED
    • getRendererClassName

      protected String getRendererClassName()
      Description copied from class: AutoForm
      Gets the rendererClassName attribute of the AutoForm object
      Overrides:
      getRendererClassName in class AutoForm
      Returns:
      The rendererClassName value
    • getJspDest

      protected File getJspDest(String pageName)
      Description copied from class: AutoForm
      Path for writing master jsp files.
      Overrides:
      getJspDest in class AutoForm
      Parameters:
      pageName - NOT YET DOCUMENTED
      Returns:
      The jspDest value
    • getMasterJspHeader

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

      protected File getBatchJspDest(String pageName) throws Exception
      Description copied from class: AutoForm
      Path for writing component jsp pages.
      Overrides:
      getBatchJspDest in class AutoForm
      Parameters:
      pageName - NOT YET DOCUMENTED
      Returns:
      The batchJspDest value
      Throws:
      Exception - NOT YET DOCUMENTED
    • getMasterComponentPath

      protected String getMasterComponentPath(String pageName)
    • setLogging

      public static void setLogging(boolean verbose)