| 
DLESE Tools  v1.6.0  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.schemedit.config.AbstractConfigReader
org.dlese.dpc.schemedit.config.CollectionConfigReader
public class CollectionConfigReader
Extracts info from a Collection configuration document. Used to populate
  CollectionConfig objects for each of
  the frameworks supported by DCS.
| Field Summary | |
|---|---|
protected static boolean | 
debug
NOT YET DOCUMENTED  | 
| Fields inherited from class org.dlese.dpc.schemedit.config.AbstractConfigReader | 
|---|
df, docMap, nameSpaceInfo, rootElementName, source, writeOnDestroy | 
| Constructor Summary | |
|---|---|
CollectionConfigReader(File source)
Create a CollectionConfigReader.  | 
|
| Method Summary | |
|---|---|
 void | 
clearNdrInfo()
Remove all ndrInfo from the CollectionConfig and set "authority" to "dcs".  | 
 String | 
getAgentHandle()
Gets the agentHandle attribute of the CollectionConfigReader object  | 
 String | 
getAggregatorHandle()
Gets the aggregatorHandle attribute of the CollectionConfigReader object  | 
 boolean | 
getAllowSuggestions()
 | 
 String | 
getAuthority()
Gets the authority attribute of the CollectionConfigReader object  | 
 String | 
getExportDirectory()
Gets the name attribute of the CollectionConfigReader object  | 
 String | 
getFinalStatusLabel()
Gets the finalStatusLabel attribute of the CollectionConfigReader object  | 
 String | 
getId()
optional node  | 
 String | 
getIdPrefix()
optional node  | 
 String | 
getMetadataProviderHandle()
Gets the metadataProviderHandle attribute of the CollectionConfigReader object  | 
 String | 
getNdrOaiLink()
Gets the ndrOaiLink attribute of the CollectionConfigReader object  | 
 String | 
getNdrServer()
Gets the ndrServer attribute of the CollectionConfigReader object  | 
 Map | 
getStatusMap()
Gets the statusMap attribute of the CollectionConfigReader object  | 
 Map | 
getTupleMap()
Gets the tupleMap attribute of the CollectionConfigReader object  | 
 String | 
getXmlFormat()
Gets the xmlFormat attribute of the CollectionConfigReader object  | 
protected static void | 
prtln(String s)
Print a line to standard out.  | 
 void | 
refresh()
Force update by clearing cached values  | 
 void | 
setAgentHandle(String pid)
Sets the agentHandle attribute of the CollectionConfigReader object  | 
 void | 
setAggregatorHandle(String pid)
Sets the aggregatorHandle attribute of the CollectionConfigReader object  | 
 void | 
setAllowSuggestions(boolean value)
 | 
 void | 
setAuthority(String s)
Sets the authority attribute of the CollectionConfigReader object  | 
 void | 
setExportDirectory(String s)
Sets the exportDirectory attribute of the CollectionConfigReader object  | 
 void | 
setFinalStatusLabel(String s)
Sets the finalStatusLabel attribute of the CollectionConfigReader object  | 
 void | 
setId(String s)
Sets the discussionURL attribute of the CollectionConfigReader object  | 
 void | 
setIdPrefix(String s)
Sets the idPrefix attribute of the CollectionConfigReader object  | 
 void | 
setMetadataProviderHandle(String handle)
Sets the metadataProviderHandle attribute of the CollectionConfigReader object  | 
 void | 
setNdrOaiLink(String link)
Sets the ndrOaiLink attribute of the CollectionConfigReader object  | 
 void | 
setNdrServer(String server)
Sets the ndrServer attribute of the CollectionConfigReader object  | 
 void | 
setStatusMap(Map sMap)
NOTE: if we edit the config record via schemedit, the record is automatically updated and then we have to reload it.  | 
 void | 
setTupleMap(Map tMap)
Sets the tupleMap attribute of the CollectionConfigReader object  | 
 void | 
setXmlFormat(String s)
Sets the xmlFormat attribute of the CollectionConfigReader object  | 
| Methods inherited from class org.dlese.dpc.schemedit.config.AbstractConfigReader | 
|---|
destroy, flush, getDelocalizedDoc, getDocMap, getDocument, getNode, getNodes, getNodeText, getSource, getSourcePath, setNodeText, setSource | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected static boolean debug
| Constructor Detail | 
|---|
public CollectionConfigReader(File source)
                       throws Exception
source - Description of the Parameter
Exception - NOT YET DOCUMENTED| Method Detail | 
|---|
public String getId()
public void setId(String s)
s - The new discussionURL valuepublic String getIdPrefix()
public void setIdPrefix(String s)
s - The new idPrefix valuepublic String getExportDirectory()
public void setExportDirectory(String s)
s - The new exportDirectory valuepublic String getXmlFormat()
public void setXmlFormat(String s)
s - The new xmlFormat valuepublic String getAuthority()
public void setAuthority(String s)
s - The new authority valuepublic boolean getAllowSuggestions()
public void setAllowSuggestions(boolean value)
public void clearNdrInfo()
public String getMetadataProviderHandle()
public void setMetadataProviderHandle(String handle)
handle - The new metadataProviderHandle valuepublic String getAggregatorHandle()
public void setAggregatorHandle(String pid)
pid - The new aggregatorHandle valuepublic String getAgentHandle()
public void setAgentHandle(String pid)
pid - The new agentHandle valuepublic String getNdrOaiLink()
public void setNdrOaiLink(String link)
link - The new ndrOaiLink valuepublic String getNdrServer()
public void setNdrServer(String server)
link - The new ndrServer valuepublic String getFinalStatusLabel()
public void setFinalStatusLabel(String s)
s - The new finalStatusLabel valuepublic Map getStatusMap()
public void setStatusMap(Map sMap)
                  throws Exception
sMap - The new statusMap value
Exception - NOT YET DOCUMENTEDpublic Map getTupleMap()
public void setTupleMap(Map tMap)
                 throws Exception
tMap - The new tupleMap value
Exception - NOT YET DOCUMENTEDpublic void refresh()
refresh in class AbstractConfigReaderprotected static void prtln(String s)
s - The String to print.
  | 
DLESE Tools  v1.6.0  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||