public class DcsViewRecord extends AutoForm
df, formBeanName, framework, instanceDocument, schemaFile, sh, writer
Constructor and Description |
---|
DcsViewRecord(MetaDataFramework framework)
Constructor for the DcsViewRecord object
|
DcsViewRecord(java.lang.String xmlFormat)
Constructor for the Stand-alone DcsViewRecord object, meaning it is created
from command line rather than via schemedit.
|
Modifier and Type | Method and Description |
---|---|
void |
batchRenderAndWrite()
Create a jsp file for each top-level element of the schema
|
protected java.io.File |
getBatchJspDest(java.lang.String pageName)
Path for writing component jsp pages.
|
protected java.io.File |
getJspDest(java.lang.String pageName)
Path for writing master jsp files.
|
protected java.lang.String |
getMasterComponentPath(java.lang.String pageName) |
protected java.lang.String |
getMasterJspHeader()
JSP code to insert at the top of master jsp files.
|
protected java.lang.String |
getRendererClassName()
Gets the rendererClassName attribute of the AutoForm object
|
static void |
main(java.lang.String[] args)
The main program for the DcsViewRecord class.
|
void |
renderAndWrite() |
static void |
setLogging(boolean verbose) |
elementToJsp, getComponentJspHeader, prtlnErr, render, render, renderAndWrite, renderAndWrite, setVerbose, writeJsp
public DcsViewRecord(MetaDataFramework framework)
framework
- Description of the Parameterpublic DcsViewRecord(java.lang.String xmlFormat) throws java.lang.Exception, SchemaHelperException
xmlFormat
- Description of the ParameterSchemaHelperException
- Description of the Exceptionjava.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- The command line argumentsjava.lang.Exception
public void renderAndWrite() throws java.lang.Exception
java.lang.Exception
public void batchRenderAndWrite() throws java.lang.Exception
AutoForm
batchRenderAndWrite
in class AutoForm
java.lang.Exception
- NOT YET DOCUMENTEDprotected java.lang.String getRendererClassName()
AutoForm
getRendererClassName
in class AutoForm
protected java.io.File getJspDest(java.lang.String pageName)
AutoForm
getJspDest
in class AutoForm
pageName
- NOT YET DOCUMENTEDprotected java.lang.String getMasterJspHeader()
AutoForm
getMasterJspHeader
in class AutoForm
protected java.io.File getBatchJspDest(java.lang.String pageName) throws java.lang.Exception
AutoForm
getBatchJspDest
in class AutoForm
pageName
- NOT YET DOCUMENTEDjava.lang.Exception
- NOT YET DOCUMENTEDprotected java.lang.String getMasterComponentPath(java.lang.String pageName)
public static void setLogging(boolean verbose)