Package wt.ixb.publicforhandlers

Provides APIs to develop IXB plugable components.

See:
          Description

Interface Summary
AttributeExporterImporter Interface for all attribute handrlers for export and import.Some attributes are common for some object classes, in this case the implementation of export/import this attribute should implements this interface so that it can be re-useable.
ClassExporter Interface for all class handrlers for export.
ClassExporterImporter This interface combines interfaces wt.ixb.publicforhandlers.ClassImporter and ElementImporter.
ElementImporter Interface for all class handrlers for import.
ExpImpForContentAttrtItfc All attribute export/import handlers which will export contents other than meta data should implement this interface in order that the associated contents will be exported.
IxbElement This interface represent XML element for export and import.
 

Class Summary
AttributeExporterImporterTemplate General template for attribute handlers which defines trivial implementation.
ClassExporterImporterTemplate Abstract class, most of standard export/import handlers extend.
ClassExporterImporterTemplateGeneral General template for class handlers which defines trivial implementation.
ExpImpForVersionedObject Abstract class, most of standard export/import handlers extend.
 

Package wt.ixb.publicforhandlers Description

Provides APIs to develop IXB plugable components. These components can extend IXB functionality by supporting export/import for additional types of objects.

Component, that can export a Windchill object should implement interface ClassExporter. Component, that can import information about external object(s) into Windchill database from XML element, should implement interface ElementImporter.

Existing export/import handlers can be used as examples of how such components can be developed. These handlers are located in directory Windchill/src/wt/ixb/handlers/forclasses (ExpImpForWTPart.java, ExpImpForWTDocument.java). All such component must be registred in Windchill IXB handlers repository. The repository is located in Windchill/codebase/registry/ixb/handlers.

For example, to register class "wt.replication.unit.UnitSeedLink", with export handler "wt.replication.ixbutil.ExpImpForUnitSeedLink" and import handler "wt.replication.ixbutil.ExpImpForUnitSeedLink", new .xml file can be added into directory "Windchill/codebase/registry/ixb/handlers", or existing .xml file added to, as shown bellow (use "replication.xml" as example):

  <classExporter>
    <class>wt.replication.unit.UnitSeedLink</class>
    <dtd>standard.dtd/dtd>
    <targetTag>default</targetTag>
    <handler>wt.replication.ixbutil.ExpImpForUnitSeedLink</handler>
  </classExporter>

  <elementImporter>
    <tag>UnitSeedLink</tag>
    <dtd>standard.dtd</dtd>
    <handler>wt.replication.ixbutil.ExpImpForUnitSeedLink</handler>
  </elementImporter>

The above discussed .xml file represents a part of the whole XML registry file. The whole XML registry file will be generated from such components when MethodServer starts.