Class XMLAssetImporter

Description

XMLAssetImporter imports an asset into a repository

  • version: $Id: XMLAssetImporter.class.php,v 1.20 2007/09/19 14:04:46 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright © 2005, Middlebury College
  • since: 10/6/05

Located in /polyphony/main/library/Importer/XMLImporters/XMLAssetImporter.class.php (line 30)

XMLImporter
   |
   --XMLAssetImporter
Method Summary
object XMLAssetImporter XMLAssetImporter (mixed $existingArray)
void doSets ()
void importNode ()
boolean isImportable (object DOMIT_Node $element)
void relegateChildren (object mixed $topImporter)
void setupSelf ()
void update ()
object mixed withFile (string $existingArray, string $filepath, string $type, [mixed $class = 'XMLAssetImporter'])
object mixed withObject (object mixed $existingArray, string $object, string $filepath, string $type, [mixed $class = 'XMLAssetImporter'])
Methods
Constructor XMLAssetImporter (line 40)

Constructor; parses XML if passed file

  • since: 10/6/05
  • access: public
object XMLAssetImporter XMLAssetImporter (mixed $existingArray)
doSets (line 166)

Does anything needed to sets

  • since: 10/6/05
  • access: public
void doSets ()
importNode (line 108)

Imports the current node's information

  • since: 10/6/05
  • access: public
void importNode ()

Redefinition of:
XMLImporter::importNode()
Imports the node itself
isImportable (line 95)

Filters nodes of incorrect type

  • since: 10/6/05
  • access: public
  • static:
boolean isImportable (object DOMIT_Node $element)
  • object DOMIT_Node $element
relegateChildren (line 178)

Relegates Children to their classes

  • since: 10/6/05
  • access: public
void relegateChildren (object mixed $topImporter)
  • object mixed $topImporter: is the importer instance that parsed the XML

Redefinition of:
XMLImporter::relegateChildren()
Relegates child XML elements to their importer classes
setupSelf (line 79)

Sets up importer's self-knowledge

  • since: 10/6/05
  • access: public
void setupSelf ()

Redefinition of:
XMLImporter::setupSelf()
Sets up importer's self-knowledge
update (line 224)

Looks for discrepencies between imported data and current data

  • since: 9/12/05
  • access: public
void update ()

Redefinition of:
XMLImporter::update()
Update
withFile (line 54)

Constructor with XML File to parse

  • since: 10/11/05
  • access: public
object mixed withFile (string $existingArray, string $filepath, string $type, [mixed $class = 'XMLAssetImporter'])
  • string $existingArray
  • string $filepath
  • string $type

Redefinition of:
XMLImporter::withFile()
Constructor with XML File to parse
withObject (line 69)

Constructor with XMLFile and starting object

  • since: 10/11/05
  • access: public
object mixed withObject (object mixed $existingArray, string $object, string $filepath, string $type, [mixed $class = 'XMLAssetImporter'])
  • object mixed $existingArray
  • string $object
  • string $filepath
  • string $type

Redefinition of:
XMLImporter::withObject()
Constructor with XMLFile and starting object

Inherited Methods

Inherited From XMLImporter

XMLImporter::XMLImporter()
XMLImporter::addError()
XMLImporter::buildDescription()
XMLImporter::buildDimensions()
XMLImporter::buildEffectivedate()
XMLImporter::buildExpirationdate()
XMLImporter::buildFormat()
XMLImporter::buildName()
XMLImporter::buildType()
XMLImporter::canImportBelow()
XMLImporter::decompress()
XMLImporter::doIdMatrix()
XMLImporter::dropIdMatrix()
XMLImporter::getErrors()
XMLImporter::getNodeInfo()
XMLImporter::getParentForImporter()
XMLImporter::hasErrors()
XMLImporter::import()
XMLImporter::importBelow()
XMLImporter::importNode()
XMLImporter::moreGranulesFromXML()
XMLImporter::parseAndImport()
XMLImporter::parseAndImportBelow()
XMLImporter::printErrorMessages()
XMLImporter::relegateChildren()
XMLImporter::setParent()
XMLImporter::setupSelf()
XMLImporter::setupStatusBar()
XMLImporter::update()
XMLImporter::withFile()
XMLImporter::withObject()
XMLImporter::_checkXMLStructure()

Documentation generated on Wed, 19 Sep 2007 10:28:30 -0400 by phpDocumentor 1.3.0RC3