VdexReload 1.1.3 API

uk.ac.reload.editor.metadata
Class MetadataHelperProfile

java.lang.Object
  extended byuk.ac.reload.editor.ReloadHelperProfile
      extended byuk.ac.reload.editor.metadata.MetadataHelperProfile

public class MetadataHelperProfile
extends ReloadHelperProfile

The Metadata Helper Profile This reads in a MD User Profile XML File for helper stuff


Field Summary
protected static java.util.Hashtable _mdProfilesTable
          Static Profiles - we only want to create these just once and re-use them
protected  MetadataProfileElement _rootElement
          The Root MetadataProfileElement
 
Fields inherited from class uk.ac.reload.editor.ReloadHelperProfile
_docProfile, _fileProfile
 
Constructor Summary
MetadataHelperProfile(java.io.File fileProfile)
          Constructor
 
Method Summary
static MetadataHelperProfile getDefaultMetadataHelperProfile()
          Get the default MetadataHelperProfile
static MetadataHelperProfile[] getMetadataHelperProfiles()
          Get all available MetadataHelperProfiles
static MetadataHelperProfile getMetadataProfile(java.io.File fileProfile)
          Factory method for getting a static re-usable MetadataProfile
 MetadataProfileElement getRootElement()
          Get the root MetadataProfileElement
 java.io.File getSchemaHelperFile()
          Get the Schema Helper File
 java.io.File getVocabFile()
          Get the Vocabulary Helper File
 
Methods inherited from class uk.ac.reload.editor.ReloadHelperProfile
getFile, getProfileName, getRootAttributeValue, getSchemaHelperFileName, getVocabularyFileName, loadProfile, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_mdProfilesTable

protected static java.util.Hashtable _mdProfilesTable
Static Profiles - we only want to create these just once and re-use them


_rootElement

protected MetadataProfileElement _rootElement
The Root MetadataProfileElement

Constructor Detail

MetadataHelperProfile

public MetadataHelperProfile(java.io.File fileProfile)
                      throws ReloadEditorException
Constructor

Parameters:
fileProfile - the file of the MetadataHelperProfile file
Throws:
ReloadEditorException
Method Detail

getMetadataProfile

public static MetadataHelperProfile getMetadataProfile(java.io.File fileProfile)
                                                throws ReloadEditorException
Factory method for getting a static re-usable MetadataProfile

Parameters:
fileProfile - the file of the MetadataProfile file
Throws:
ReloadEditorException

getMetadataHelperProfiles

public static MetadataHelperProfile[] getMetadataHelperProfiles()
Get all available MetadataHelperProfiles

Returns:
all available MetadataHelperProfiles

getVocabFile

public java.io.File getVocabFile()
Get the Vocabulary Helper File

Specified by:
getVocabFile in class ReloadHelperProfile
Returns:
the Vocabulary Helper File

getSchemaHelperFile

public java.io.File getSchemaHelperFile()
Get the Schema Helper File

Specified by:
getSchemaHelperFile in class ReloadHelperProfile
Returns:
the Schema Helper File

getDefaultMetadataHelperProfile

public static MetadataHelperProfile getDefaultMetadataHelperProfile()
                                                             throws ReloadEditorException
Get the default MetadataHelperProfile

Returns:
the default MetadataHelperProfile
Throws:
ReloadEditorException

getRootElement

public MetadataProfileElement getRootElement()
Get the root MetadataProfileElement

Returns:
the root MetadataProfileElement

VdexReload 1.1.3 API