DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.standards.config
Class SuggestionServiceConfig

java.lang.Object
  extended by org.dlese.dpc.schemedit.standards.config.SuggestionServiceConfig

public class SuggestionServiceConfig
extends Object

Encapsulates configuration for a suggestion service, incuding the framework that the service operates for and what standards files are to be used for that particular framework.

Author:
ostwald

Field Summary
static String DATA_TYPES
           
static String STANDARDS_DIRECTORY
           
static String STANDARDS_FILE
           
 
Constructor Summary
SuggestionServiceConfig(Element config)
          Constructor for the SuggestionServiceConfig object with provided configuration Element.
 
Method Summary
 List getDataTypes()
          Gets the dataTypes attribute of the SuggestionServiceConfig object
 String getDefaultDoc()
          Gets the defaultDoc attribute of the SuggestionServiceConfig object
 String getDefaultDocKey()
          Gets the defaultDocKey attribute of the SuggestionServiceConfig object
 String getHelperClass()
          Gets the helperClass attribute of the SuggestionServiceConfig object
 String getPluginClass()
          Gets the pluginClass that supplies framework-specific informations, like xpaths, to the suggestionService.
 String getStandardsDirectory()
          Gets the standardsDirectory attribute of the SuggestionServiceConfig object, which designates a directory containing standards files.
 String getStandardsFile()
          Gets the standardsFile attribute of the SuggestionServiceConfig object
 String getStandardSourceType()
          Gets the standardSourceType attribute of the SuggestionServiceConfig object
 String getVersion()
          Gets the version attribute of the SuggestionServiceConfig object
 String getXpath()
          Gets the xpath attribute of the SuggestionServiceConfig object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATA_TYPES

public static String DATA_TYPES

STANDARDS_FILE

public static String STANDARDS_FILE

STANDARDS_DIRECTORY

public static String STANDARDS_DIRECTORY
Constructor Detail

SuggestionServiceConfig

public SuggestionServiceConfig(Element config)
Constructor for the SuggestionServiceConfig object with provided configuration Element.

Parameters:
config - A element form a standards config file
Method Detail

getVersion

public String getVersion()
Gets the version attribute of the SuggestionServiceConfig object

Returns:
The version value

getXpath

public String getXpath()
Gets the xpath attribute of the SuggestionServiceConfig object

Returns:
The xpath value

getStandardSourceType

public String getStandardSourceType()
Gets the standardSourceType attribute of the SuggestionServiceConfig object

Returns:
The standardSourceType value

getHelperClass

public String getHelperClass()
Gets the helperClass attribute of the SuggestionServiceConfig object

Returns:
The helperClass value

getPluginClass

public String getPluginClass()
Gets the pluginClass that supplies framework-specific informations, like xpaths, to the suggestionService.

Returns:
The pluginClass value

getDataTypes

public List getDataTypes()
                  throws Exception
Gets the dataTypes attribute of the SuggestionServiceConfig object

Returns:
The dataTypes value
Throws:
Exception - Description of the Exception

getStandardsDirectory

public String getStandardsDirectory()
                             throws Exception
Gets the standardsDirectory attribute of the SuggestionServiceConfig object, which designates a directory containing standards files.

Returns:
The standardsDirectory value
Throws:
Exception - Description of the Exception

getDefaultDocKey

public String getDefaultDocKey()
                        throws Exception
Gets the defaultDocKey attribute of the SuggestionServiceConfig object

Returns:
The defaultDocKey value
Throws:
Exception - Description of the Exception

getDefaultDoc

public String getDefaultDoc()
                     throws Exception
Gets the defaultDoc attribute of the SuggestionServiceConfig object

Returns:
The defaultDoc value
Throws:
Exception - Description of the Exception

getStandardsFile

public String getStandardsFile()
                        throws Exception
Gets the standardsFile attribute of the SuggestionServiceConfig object

Returns:
The standardsFile value
Throws:
Exception - Description of the Exception

DLESE Tools
v1.6.0