VdexReload 1.1.3 API

uk.ac.reload.editor.contentpackaging
Class ContentPackageHelperProfile

java.lang.Object
  extended byuk.ac.reload.editor.ReloadHelperProfile
      extended byuk.ac.reload.editor.contentpackaging.ContentPackageHelperProfile
Direct Known Subclasses:
SCORM1_2HelperProfile

public class ContentPackageHelperProfile
extends ReloadHelperProfile

The Content Package Helper Profile This reads in a CP User Profile XML File for helper stuff


Field Summary
protected static java.util.Hashtable _cpProfilesTable
          Static Profiles - we only want to create these just once and re-use them
 
Fields inherited from class uk.ac.reload.editor.ReloadHelperProfile
_docProfile, _fileProfile
 
Constructor Summary
ContentPackageHelperProfile(java.io.File fileProfile)
          Constructor
 
Method Summary
static ContentPackageHelperProfile[] getContentPackageHelperProfiles()
           
static ContentPackageHelperProfile getContentPackageProfile(java.io.File fileProfile)
          Factory method for getting a static re-usable CP Profile
static ContentPackageHelperProfile getDefaultContentPackageHelperProfile()
           
 java.io.File getSchemaHelperFile()
          Get the Schema helper file
 java.io.File getVocabFile()
          Get hte 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

_cpProfilesTable

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

Constructor Detail

ContentPackageHelperProfile

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

Method Detail

getContentPackageProfile

public static ContentPackageHelperProfile getContentPackageProfile(java.io.File fileProfile)
                                                            throws ReloadEditorException
Factory method for getting a static re-usable CP Profile

Throws:
ReloadEditorException

getContentPackageHelperProfiles

public static ContentPackageHelperProfile[] getContentPackageHelperProfiles()
Returns:
all available MetadataProfiles

getVocabFile

public java.io.File getVocabFile()
Description copied from class: ReloadHelperProfile
Get hte Vocabulary Helper file

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

getSchemaHelperFile

public java.io.File getSchemaHelperFile()
Description copied from class: ReloadHelperProfile
Get the Schema helper file

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

getDefaultContentPackageHelperProfile

public static ContentPackageHelperProfile getDefaultContentPackageHelperProfile()
                                                                         throws ReloadEditorException
Returns:
the default MetadataHelperProfile
Throws:
ReloadEditorException

VdexReload 1.1.3 API