public class FrameworkConfigReader extends AbstractConfigReader
Used by the MetaDataFramework
and is
required for each of of the frameworks supported by DCS.
Modifier and Type | Field and Description |
---|---|
protected static boolean |
debug
NOT YET DOCUMENTED
|
df, docMap, nameSpaceInfo, rootElementName, source, writeOnDestroy
Constructor and Description |
---|
FrameworkConfigReader(java.io.File source)
Create a FrameworkConfigReader.
|
Modifier and Type | Method and Description |
---|---|
int |
getBaseRenderLevel()
Gets the baseRenderLevel attribute of the FrameworkConfigReader object
|
java.lang.String |
getBestPracticesLabel()
Gets the renderer attribute of the FrameworkConfigReader object
|
java.lang.String |
getDiscussionURL()
optional node
|
FieldInfoMap |
getFieldInfoMap()
Create a FieldInfoMap containing information about each fieldInfo path
specified in the config file.
|
java.lang.String |
getName()
Gets the name attribute of the FrameworkConfigReader object
|
PageList |
getPageList()
Gets the pageList attribute of the FrameworkConfigReader object
|
boolean |
getRebuildOnStart()
Gets the rebuildOnStart attribute of the FrameworkConfigReader object.
|
java.lang.String |
getRecordsDir()
Gets the recordsDir attribute of the FrameworkConfigReader object
|
java.lang.String |
getRenderer()
Gets the renderer attribute of the FrameworkConfigReader object
|
java.lang.String |
getRootElementName()
Gets the rootElementName attribute of the FrameworkConfigReader object
|
SchemaPathMap |
getSchemaPathMap()
Gets the schemaPathMap attribute of the FrameworkConfigReader object
|
SchemaPathMap |
getSchemaPathMapNew()
Not currently used - designed for future "pathSpec" which will be more
flexible in specifying path-specific attributes and behaviours.
|
java.lang.String |
getSchemaURI()
Gets the schemaURI attribute of the FrameworkConfigReader object
|
UserInfo |
getUserInfo() |
java.lang.String |
getVocabLayoutURI()
Gets the vocabLayoutURI attribute of the FrameworkConfigReader object
|
java.lang.String |
getXmlFormat()
Gets the xmlFormat attribute of the FrameworkConfigReader object
|
protected static void |
prtln(java.lang.String s)
Print a line to standard out.
|
void |
refresh()
Force update by clearing cached values
|
void |
setBaseRenderLevel(int level)
Sets the baseRenderLevel attribute of the FrameworkConfigReader object
|
void |
setBestPracticesLabel(java.lang.String s)
Sets the renderer attribute of the FrameworkConfigReader object
|
void |
setDiscussionURL(java.lang.String s)
Sets the discussionURL attribute of the FrameworkConfigReader object
|
void |
setName(java.lang.String s)
Sets the name attribute of the FrameworkConfigReader object
|
void |
setRebuildOnStart(boolean bool)
Sets the rebuildOnStart attribute of the FrameworkConfigReader object
|
void |
setRecordsDir(java.lang.String s)
Sets the recordsDir attribute of the FrameworkConfigReader object
|
void |
setRenderer(java.lang.String s)
Sets the renderer attribute of the FrameworkConfigReader object
|
void |
setRootElementName(java.lang.String s)
Sets the rootElementName attribute of the FrameworkConfigReader object
|
void |
setSchemaURI(java.lang.String s)
Sets the schemaURI attribute of the FrameworkConfigReader object
|
void |
setXmlFormat(java.lang.String s)
Sets the xmlFormat attribute of the FrameworkConfigReader object
|
destroy, flush, getDelocalizedDoc, getDocMap, getDocument, getNode, getNodes, getNodeText, getSource, getSourcePath, setNodeText, setSource
public FrameworkConfigReader(java.io.File source) throws java.lang.Exception
source
- Description of the Parameterjava.lang.Exception
- NOT YET DOCUMENTEDpublic void refresh()
refresh
in class AbstractConfigReader
public int getBaseRenderLevel()
public void setBaseRenderLevel(int level)
level
- The new baseRenderLevel valuepublic java.lang.String getDiscussionURL()
public void setDiscussionURL(java.lang.String s)
s
- The new discussionURL valuepublic boolean getRebuildOnStart()
public void setRebuildOnStart(boolean bool)
bool
- The new rebuildOnStart valuepublic SchemaPathMap getSchemaPathMap()
public UserInfo getUserInfo()
public SchemaPathMap getSchemaPathMapNew()
public java.lang.String getName()
public void setName(java.lang.String s)
s
- The new name valuepublic java.lang.String getRecordsDir()
public void setRecordsDir(java.lang.String s)
s
- The new recordsDir valuepublic java.lang.String getRenderer()
public void setRenderer(java.lang.String s)
s
- The new renderer valuepublic java.lang.String getBestPracticesLabel()
public void setBestPracticesLabel(java.lang.String s)
s
- The new renderer valuepublic java.lang.String getRootElementName()
public void setRootElementName(java.lang.String s)
s
- The new rootElementName valuepublic java.lang.String getSchemaURI()
public java.lang.String getVocabLayoutURI()
public void setSchemaURI(java.lang.String s)
s
- The new schemaURI valuepublic java.lang.String getXmlFormat()
public void setXmlFormat(java.lang.String s)
s
- The new xmlFormat valuepublic PageList getPageList()
public FieldInfoMap getFieldInfoMap()
protected static void prtln(java.lang.String s)
s
- The String to print.