|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.schemedit.autoform.AutoForm org.dlese.dpc.schemedit.autoform.DcsViewRecord
public class DcsViewRecord
Displays an XML metadata record using the ViewerRenderer. DcsViewRecord provides the view of the entire record for the DCS DcsViewRecord page
Field Summary |
---|
Fields inherited from class org.dlese.dpc.schemedit.autoform.AutoForm |
---|
df, formBeanName, framework, instanceDocument, schemaFile, sh, writer |
Constructor Summary | |
---|---|
DcsViewRecord(MetaDataFramework framework)
Constructor for the DcsViewRecord object |
|
DcsViewRecord(String xmlFormat)
Constructor for the Stand-alone DcsViewRecord object, meaning it is created from command line rather than via schemedit. |
Method Summary | |
---|---|
void |
batchRenderAndWrite()
Create a jsp file for each top-level element of the schema |
protected File |
getBatchJspDest(String pageName)
Path for writing component jsp pages. |
protected File |
getJspDest(String pageName)
Path for writing master jsp files. |
protected String |
getMasterComponentPath(String pageName)
|
protected String |
getMasterJspHeader()
JSP code to insert at the top of master jsp files. |
protected String |
getRendererClassName()
Gets the rendererClassName attribute of the AutoForm object |
static void |
main(String[] args)
The main program for the DcsViewRecord class. |
void |
renderAndWrite()
|
static void |
setLogging(boolean verbose)
|
Methods inherited from class org.dlese.dpc.schemedit.autoform.AutoForm |
---|
elementToJsp, getComponentJspHeader, prtlnErr, render, render, renderAndWrite, renderAndWrite, setVerbose, writeJsp |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DcsViewRecord(MetaDataFramework framework)
framework
- Description of the Parameterpublic DcsViewRecord(String xmlFormat) throws Exception, SchemaHelperException
xmlFormat
- Description of the Parameter
SchemaHelperException
- Description of the Exception
Exception
Method Detail |
---|
public static void main(String[] args) throws Exception
args
- The command line arguments
Exception
public void renderAndWrite() throws Exception
Exception
public void batchRenderAndWrite() throws Exception
AutoForm
batchRenderAndWrite
in class AutoForm
Exception
- NOT YET DOCUMENTEDprotected String getRendererClassName()
AutoForm
getRendererClassName
in class AutoForm
protected File getJspDest(String pageName)
AutoForm
getJspDest
in class AutoForm
pageName
- NOT YET DOCUMENTED
protected String getMasterJspHeader()
AutoForm
getMasterJspHeader
in class AutoForm
protected File getBatchJspDest(String pageName) throws Exception
AutoForm
getBatchJspDest
in class AutoForm
pageName
- NOT YET DOCUMENTED
Exception
- NOT YET DOCUMENTEDprotected String getMasterComponentPath(String pageName)
public static void setLogging(boolean verbose)
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |