This class and its children provide the ability to import objects into a Harmoni Based Application
Located in /polyphony/main/library/Importer/XMLImporters/XMLImporter.class.php (line 32)
| Class | Description |
|---|---|
| XMLAssetImporter | XMLAssetImporter imports an asset into a repository |
| XMLFileDataPartImporter | imports the filedata of a file, how interesting |
| XMLFileDimensionsPartImporter | imports the filedata of a file, how interesting |
| XMLFilePartImporter | imports the mimetype of a file, how interesting |
| XMLFilepathPartImporter | imports the filename, filedata, and mimetype of a file |
| XMLFileRecordImporter | Imports a File Record |
| XMLPartImporter | XMLPartImporter imports a part into a record |
| XMLPartStructureImporter | XMLPartStructureImporter imports a PartStructure via delegation to subclasses |
| XMLRecordImporter | XMLRecordImporter imports an record into an asset |
| XMLRecordStructureImporter | XMLRecordStructureImporter imports a RecordStructure via delegation to subclasses |
| XMLRepositoryFileImporter | XMLRepositoryFileImporter imports a repository via delegation to subclasses |
| XMLRepositoryImporter | XMLRepositoryImporter imports a repository via delegation to subclasses |
| XMLThumbDataPartImporter | imports the thumbnail data of a file, how interesting |
| XMLThumbDimensionsPartImporter | imports the thumbnail data of a file, how interesting |
| XMLThumbMIMEPartImporter | imports the thumbnail mime type of a file, how interesting |
| XMLThumbpathPartImporter | imports the thumbnaildata, and thumbnailmimetype of a file |
Constructor
Helper function for XML elements
Builds a dimensions object from a type import node
Helper function for XML elements
Helper function for XML elements
Helper function for XML elements
Builds a type object from a type import node
Checks if the user is able to import underneath this level
Does what is necessary to the temporary table for internal id association
Drops the temporary table for internal id association
Populates _info array with data from the xml file
Retrieves all the necessary information to build the object that the current xml element represents.
Answer the parent for the importer. This allows importers such as the XMLRepositoryImporter to switch and import assets underneith another asset rather than just under themselves.
Organizes the import
Starts an import below the qualifier passed
Imports the node itself
*******************************************************
STATUS BAR UTILITY *******************************************************
Creates the DOMIT Document and Imports the data including the top target
Creates the DOMIT Document and Imports the data below the target
This is used to import data underneath an object that already exists in the system.
Print the AssetIds for Assets created properly by the importer
Relegates child XML elements to their importer classes
By matching the xml elements with their importers the importer hierachy is able to import each element with much customization (detail) making it easier to handle new elements with new child classes. This function also passes any errors encountered in a child importer back up until the errors reach the top importer where they get printed at the end of the import
Set the parent of the child objects to be imported if it will be different from our object. This is used in importing assets into a repository, but under an asset in that repository
Sets up importer's self-knowledge
This knowledge is a list of importers that are available below this and the xml elements that correspond to these importers.
Sets up the status bar with appropriate granule
Update
Constructor with XML File to parse
Constructor with XMLFile and starting object
This function determines the structure wanted and makes sure it is so
sub-classes that can start an import should overwrite this function
Documentation generated on Wed, 19 Sep 2007 10:28:38 -0400 by phpDocumentor 1.3.0RC3