VdexReload 1.1.3 API

uk.ac.reload.editor.contentpackaging
Class ContentPackageSchemaController

java.lang.Object
  extended byuk.ac.reload.moonunit.schema.ReloadSchemaController
      extended byuk.ac.reload.editor.ReloadEditorSchemaController
          extended byuk.ac.reload.editor.contentpackaging.ContentPackageSchemaController
Direct Known Subclasses:
SCORM1_2SchemaController

public class ContentPackageSchemaController
extends ReloadEditorSchemaController

The CP ReloadSchema Controller


Field Summary
 
Fields inherited from class uk.ac.reload.editor.ReloadEditorSchemaController
_helperProfile
 
Fields inherited from class uk.ac.reload.moonunit.schema.ReloadSchemaController
_reloadSchema, _schemaFile, _schemaHelper, _version, _vocab
 
Constructor Summary
ContentPackageSchemaController()
          Default Constructor with Default Profile
ContentPackageSchemaController(java.io.File fileSchema, java.lang.String version)
          Default Constructor with Default Profile
 
Method Summary
 void copySchemaFilesToFolder(java.io.File projectFolder)
          Copy the Schema Files to the Project Folder
 javax.swing.Icon getClosedIcon(org.jdom.Element element)
          Get The Closed Icon
 javax.swing.Icon getClosedIcon(ReloadSchemaElement schemaElement)
          Get The Closed Icon
static MetadataSchemaController getDefaultMetadataSchemaController()
           
static ContentPackageSchemaController getDefaultSchemaController()
           
 javax.swing.Icon getLeafIcon(org.jdom.Element element)
          Get The Leaf Icon
 javax.swing.Icon getLeafIcon(ReloadSchemaElement schemaElement)
          Get The Leaf Icon
 javax.swing.Icon getOpenIcon(org.jdom.Element element)
          Get The Open Icon
 javax.swing.Icon getOpenIcon(ReloadSchemaElement schemaElement)
          Get The Open Icon
 java.lang.String getRootElementName()
          Get the root element name
static boolean isAcceptedNamespaceURI(java.lang.String nameSpaceURI)
           
 
Methods inherited from class uk.ac.reload.editor.ReloadEditorSchemaController
getReloadHelperProfile, getReloadSchemaController, getReloadSchemaController, loadSchema, loadSchemaHelper, loadVocab, setHelperProfile, showWarningMessage
 
Methods inherited from class uk.ac.reload.moonunit.schema.ReloadSchemaController
getDefaultValue, getElementFriendlyName, getElementHelperValue, getElementTip, getFacetValue, getReloadSchema, getReloadSchemaNode, getSchemaFile, getSchemaHelper, getVersion, getVocabularyList, getVocabularyList, getVocabularyList, getWidgetType, setDefaultVocabLanguage, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentPackageSchemaController

public ContentPackageSchemaController()
Default Constructor with Default Profile


ContentPackageSchemaController

public ContentPackageSchemaController(java.io.File fileSchema,
                                      java.lang.String version)
Default Constructor with Default Profile

Method Detail

getDefaultSchemaController

public static ContentPackageSchemaController getDefaultSchemaController()
Returns:
the Default ContentPackageSchemaController - 1.1.3

getDefaultMetadataSchemaController

public static MetadataSchemaController getDefaultMetadataSchemaController()
Returns:
the Default MD SchemaController - 1.2.2

getRootElementName

public java.lang.String getRootElementName()
Description copied from class: ReloadSchemaController
Get the root element name

Specified by:
getRootElementName in class ReloadSchemaController
Returns:
the Root element name

isAcceptedNamespaceURI

public static boolean isAcceptedNamespaceURI(java.lang.String nameSpaceURI)
Returns:
true if nameSpaceURI is in our list of accepted Namespace URIs

getLeafIcon

public javax.swing.Icon getLeafIcon(org.jdom.Element element)
Get The Leaf Icon

Specified by:
getLeafIcon in class ReloadEditorSchemaController
Parameters:
element - the leaf element
Returns:
the leaf icon

getLeafIcon

public javax.swing.Icon getLeafIcon(ReloadSchemaElement schemaElement)
Get The Leaf Icon

Specified by:
getLeafIcon in class ReloadEditorSchemaController
Parameters:
schemaElement - the leaf schema element
Returns:
the leaf icon

getOpenIcon

public javax.swing.Icon getOpenIcon(org.jdom.Element element)
Get The Open Icon

Specified by:
getOpenIcon in class ReloadEditorSchemaController
Parameters:
element - the open element
Returns:
the open icon

getOpenIcon

public javax.swing.Icon getOpenIcon(ReloadSchemaElement schemaElement)
Get The Open Icon

Specified by:
getOpenIcon in class ReloadEditorSchemaController
Parameters:
schemaElement - the open schema element
Returns:
the open icon

getClosedIcon

public javax.swing.Icon getClosedIcon(org.jdom.Element element)
Get The Closed Icon

Specified by:
getClosedIcon in class ReloadEditorSchemaController
Parameters:
element - the closed element
Returns:
the close icon

getClosedIcon

public javax.swing.Icon getClosedIcon(ReloadSchemaElement schemaElement)
Get The Closed Icon

Specified by:
getClosedIcon in class ReloadEditorSchemaController
Parameters:
schemaElement - the closed schemaElement
Returns:
the close icon

copySchemaFilesToFolder

public void copySchemaFilesToFolder(java.io.File projectFolder)
                             throws ReloadEditorException
Copy the Schema Files to the Project Folder

Throws:
ReloadEditorException

VdexReload 1.1.3 API