Class XMLPartStructureImporter

Description

XMLPartStructureImporter imports a PartStructure via delegation to subclasses

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

Located in /polyphony/main/library/Importer/XMLImporters/XMLPartStructureImporter.class.php (line 26)

XMLImporter
   |
   --XMLPartStructureImporter
Method Summary
void canImportBelow (string $authZQString)
void doIdMatrix ()
void getNodeInfo ()
void importNode ()
boolean isImportable (object DOMIT_Node $element)
void setupSelf ()
void update ()
boolean validate (string $type)
Methods
Constructor XMLPartStructureImporter (line 36)

Constructor; parses XML if passed file

  • since: 10/6/05
  • access: public
object XMLPartStructureImporter XMLPartStructureImporter (mixed $existingArray)
canImportBelow (line 75)

Checks if the user is able to import underneath this level

  • since: 11/3/05
  • access: public
void canImportBelow (string $authZQString)
  • string $authZQString: qualifier for authz checking

Redefinition of:
XMLImporter::canImportBelow()
Checks if the user is able to import underneath this level
doIdMatrix (line 171)

Does what is necessary to the temporary table for internal id association

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

Redefinition of:
XMLImporter::doIdMatrix()
Does what is necessary to the temporary table for internal id association
getNodeInfo (line 192)

sets the node's info

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

Redefinition of:
XMLImporter::getNodeInfo()
Populates _info array with data from the xml file
importNode (line 85)

Checks this node for any changes to make to this

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

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

Filters nodes of incorrect type

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

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 215)

Looks for discrepencies between imported data and current data

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

Redefinition of:
XMLImporter::update()
Update
validate (line 155)

Makes sure partstructures are of a valid type by checking them

  • since: 12/31/05
boolean validate (string $type)
  • string $type: the type for the partstructure that wants to be imported

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:41 -0400 by phpDocumentor 1.3.0RC3