VdexReload 1.1.3 API

uk.ac.reload.editor.vocabulary
Class VocabularyMetadata

java.lang.Object
  extended byuk.ac.reload.moonunit.dom.ReloadDocument
      extended byuk.ac.reload.moonunit.dom.ReloadSchemaDocument
          extended byuk.ac.reload.editor.metadata.Metadata
              extended byuk.ac.reload.editor.vocabulary.VocabularyMetadata
All Implemented Interfaces:
AbstractMetadata

public class VocabularyMetadata
extends Metadata

The Vocabulary Metadata


Nested Class Summary
 
Nested classes inherited from class uk.ac.reload.moonunit.dom.ReloadSchemaDocument
ReloadSchemaDocument.UndoableAddAction, ReloadSchemaDocument.UndoableCopyAction, ReloadSchemaDocument.UndoableCutAction, ReloadSchemaDocument.UndoableDeleteAction, ReloadSchemaDocument.UndoableMoveAction, ReloadSchemaDocument.UndoablePasteAction
 
Field Summary
protected  org.jdom.Element _lomElement
          The Metadata LOM root element
protected  org.jdom.Element _mdElement
          The Vocabulary Metadata element For example, vdex/metadata element
protected  Vocabulary _vocabulary
          The Vocabulary document
 
Fields inherited from class uk.ac.reload.editor.metadata.Metadata
_isStandalone
 
Fields inherited from class uk.ac.reload.moonunit.dom.ReloadSchemaDocument
_controller, _undoHandler
 
Fields inherited from class uk.ac.reload.moonunit.dom.ReloadDocument
_dirty, _doc, _file
 
Constructor Summary
VocabularyMetadata(org.jdom.Element mdElement, Vocabulary vocabulary)
          Constructor
 
Method Summary
 void createDocument(org.jdom.Element mdElement)
          Create a new document using the vocabulary metadata
 org.jdom.Element getLOMElement()
          Get the Metadata LOM element
 org.jdom.Element getMDElement()
          Get the vocabulary metadata element
 MetadataSchemaController getMetadataSchemaController()
          Get the vocabulary metadata schema controller
 Vocabulary getVocabulary()
          Get the vocabulary document
 
Methods inherited from class uk.ac.reload.editor.metadata.Metadata
canCopyElement, canCutElement, canPasteFromClipboard, exportMetadata, getComments, getSchemaNamespace, getSchemaNamespaceEmbedded, getSchemaNamespaceStandalone, getTargetRootElementName, importMetadata, isStandalone, newDocument
 
Methods inherited from class uk.ac.reload.moonunit.dom.ReloadSchemaDocument
addAttribute, addComments, addElement, addElementAtIndex, addElementBySchema, addElementBySchemaUndoable, addElementUndoable, addElementUnique, addReloadDocumentListener, canAddElement, canDeleteElement, canMoveElementDown, canMoveElementUp, changedElement, copyElementUndoable, cutElementUndoable, deleteElementUndoable, destroy, fireDocumentSaved, fireElementAdded, fireElementChanged, fireElementRemoved, getElement, getElement, getElements, getElements, getIndexOfElement, getInsertPositionOfAttribute, getInsertPositionOfElement, getReloadSchemaController, getTargetNamespace, getUndoHandler, isAllowedChild, moveElementDown, moveElementUndoable, moveElementUp, pasteElementUndoable, removeElement, removeReloadDocumentListener, saveDocument, setReloadSchemaController, setUndoHandler
 
Methods inherited from class uk.ac.reload.moonunit.dom.ReloadDocument
getDocument, getFile, getRootElement, isDirty, isDocumentNamespace, isMemberOfSameDocument, loadDocument, saveAsDocument, setDirty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_mdElement

protected org.jdom.Element _mdElement
The Vocabulary Metadata element For example, vdex/metadata element


_lomElement

protected org.jdom.Element _lomElement
The Metadata LOM root element


_vocabulary

protected Vocabulary _vocabulary
The Vocabulary document

Constructor Detail

VocabularyMetadata

public VocabularyMetadata(org.jdom.Element mdElement,
                          Vocabulary vocabulary)
Constructor

Parameters:
mdElement - the vocabulary metadata element
vocabulary - the vocabulary document
Method Detail

createDocument

public void createDocument(org.jdom.Element mdElement)
Create a new document using the vocabulary metadata

Parameters:
mdElement - the vocabulary metadata element

getVocabulary

public Vocabulary getVocabulary()
Get the vocabulary document

Returns:
the vocabulary document

getLOMElement

public org.jdom.Element getLOMElement()
Get the Metadata LOM element

Returns:
the metadata LOM element

getMDElement

public org.jdom.Element getMDElement()
Get the vocabulary metadata element

Returns:
the vocabulary metadata element

getMetadataSchemaController

public MetadataSchemaController getMetadataSchemaController()
Get the vocabulary metadata schema controller

Returns:
the vocabulary metadata schema controller

VdexReload 1.1.3 API