Class ExpImpForWTDocumentUsageLink

java.lang.Object
wt.ixb.publicforhandlers.ClassExporterImporterTemplateGeneral
wt.ixb.publicforhandlers.ClassExporterImporterTemplate
wt.ixb.publicforhandlers.ExpImpForLinkObject
wt.ixb.handlers.forclasses._ExpImpForWTDocumentUsageLink
wt.ixb.handlers.forclasses.ExpImpForWTDocumentUsageLink
All Implemented Interfaces:
ClassExporter, ClassExporterImporter, ElementImporter

public class ExpImpForWTDocumentUsageLink extends wt.ixb.handlers.forclasses._ExpImpForWTDocumentUsageLink


Supported API: true

Extendable: false
  • Method Details

    • importObjectAttributes

      public Object importObjectAttributes(Object ob, IxbElement fileXML, Importer importer) throws WTException
      Import attributes for a WTDocumentUsageLink from its XML file.


      Supported API: true
      Overrides:
      importObjectAttributes in class ClassExporterImporterTemplate
      Parameters:
      ob - The WTDocumentUsageLink
      fileXML - XML file that contains information about the WTDocumentUsageLink
      impoter - The instance of the class Importer that calls this handler
      Returns:
      The link if its attributes are successfully imported, or null
      Throws:
      WTException
    • importObjectAttributesAfterStore

      public Object importObjectAttributesAfterStore(Object ob, IxbElement fileXML, Importer importer) throws WTException
      Import attributes for a WTDocumentUsageLink from its XML file after it is stored.
      The import for PartUsesOccurence must take place here, because PartUsesOccurences are imported only after the link is stored.

      Supported API: true
      Overrides:
      importObjectAttributesAfterStore in class ClassExporterImporterTemplate
      Parameters:
      ob - The WTDocumentUsageLink
      fileXML - XML file that contains information about the WTDocumentUsageLink
      impoter - The instance of the class Importer that calls this handler
      Returns:
      The link if its attributes are successfully imported, or null
      Throws:
      WTException