Package org.dlese.dpc.schemedit.autoform
Class DcsViewRecord
java.lang.Object
org.dlese.dpc.schemedit.autoform.AutoForm
org.dlese.dpc.schemedit.autoform.DcsViewRecord
- Direct Known Subclasses:
EditorViewRecord
Displays an XML metadata record using the ViewerRenderer.
DcsViewRecord provides the view of the entire record for the DCS
DcsViewRecord page
- Author:
- ostwald
-
Field Summary
Fields inherited from class org.dlese.dpc.schemedit.autoform.AutoForm
df, formBeanName, framework, instanceDocument, schemaFile, sh, writer -
Constructor Summary
ConstructorsConstructorDescriptionDcsViewRecord(String xmlFormat) Constructor for the Stand-alone DcsViewRecord object, meaning it is created from command line rather than via schemedit.DcsViewRecord(MetaDataFramework framework) Constructor for the DcsViewRecord object -
Method Summary
Modifier and TypeMethodDescriptionvoidCreate a jsp file for each top-level element of the schemaprotected FilegetBatchJspDest(String pageName) Path for writing component jsp pages.protected FilegetJspDest(String pageName) Path for writing master jsp files.protected StringgetMasterComponentPath(String pageName) protected StringJSP code to insert at the top of master jsp files.protected StringGets the rendererClassName attribute of the AutoForm objectstatic voidThe main program for the DcsViewRecord class.voidstatic voidsetLogging(boolean verbose) Methods inherited from class org.dlese.dpc.schemedit.autoform.AutoForm
elementToJsp, getComponentJspHeader, prtlnErr, render, render, renderAndWrite, renderAndWrite, setVerbose, writeJsp
-
Constructor Details
-
DcsViewRecord
Constructor for the DcsViewRecord object- Parameters:
framework- Description of the Parameter
-
DcsViewRecord
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 ExceptionException
-
-
Method Details
-
main
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
- Throws:
Exception
-
batchRenderAndWrite
Description copied from class:AutoFormCreate a jsp file for each top-level element of the schema- Overrides:
batchRenderAndWritein classAutoForm- Throws:
Exception- NOT YET DOCUMENTED
-
getRendererClassName
Description copied from class:AutoFormGets the rendererClassName attribute of the AutoForm object- Overrides:
getRendererClassNamein classAutoForm- Returns:
- The rendererClassName value
-
getJspDest
Description copied from class:AutoFormPath for writing master jsp files.- Overrides:
getJspDestin classAutoForm- Parameters:
pageName- NOT YET DOCUMENTED- Returns:
- The jspDest value
-
getMasterJspHeader
Description copied from class:AutoFormJSP code to insert at the top of master jsp files.- Overrides:
getMasterJspHeaderin classAutoForm- Returns:
- The masterJspHeader value
-
getBatchJspDest
Description copied from class:AutoFormPath for writing component jsp pages.- Overrides:
getBatchJspDestin classAutoForm- Parameters:
pageName- NOT YET DOCUMENTED- Returns:
- The batchJspDest value
- Throws:
Exception- NOT YET DOCUMENTED
-
getMasterComponentPath
-
setLogging
public static void setLogging(boolean verbose)
-