|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.ixb.publicforhandlers.ClassExporterImporterTemplateGeneral
wt.ixb.publicforhandlers.ClassExporterImporterTemplate
wt.ixb.handlers.forclasses.ExpImpForClassificationNode
public class ExpImpForClassificationNode
Supported API: true
Extendable: true
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class wt.ixb.publicforhandlers.ClassExporterImporterTemplate |
|---|
wt.ixb.publicforhandlers.ClassExporterImporterTemplate.ContentHolderCommitListener |
| Method Summary | |
|---|---|
void |
checkConflicts(IxbElement fileXML,
Importer importer)
Check conflicts for the XML file against the ClassificationNode
object in datase. |
Object |
createObject(IxbElement fileXML,
Importer importer)
Creates new instance of Windchill object. |
protected void |
exportAttributes(Object object,
IxbDocument fileXML,
Exporter exporter)
Export the attributes according to the DTD. |
Object |
findAmongExistingObjects(IxbElement fileXML,
Importer importer)
Find the ClassificationNode instance in database based
on the name and path. |
int |
getAdditionalImportPriority(IxbElement fileXML)
Return the "additional" import priority based on the XML file, supplemented to getImportPriority()
The returned number defines the order in which XML file will be imported
if getImportPriority() returns the same value. |
protected String |
getRootTag()
Returns "ClassificationNode" as the root tag of the XML file. |
Object |
importElement(IxbElement fileXML,
Importer importer)
Imports XML element in context given by importer parameter. |
| Methods inherited from class wt.ixb.publicforhandlers.ClassExporterImporterTemplate |
|---|
createFileXMLOnExport, exportAttributes, exportObject, finalizeImportObject, importObjectAttributes, rememberNewObInfo, storeAdditionalInfo, storeElement, storeObject |
| Methods inherited from class wt.ixb.publicforhandlers.ClassExporterImporterTemplateGeneral |
|---|
finalizeCheckConflicts, finalizeExport, finalizeImport, prepareForCheckConflicts, prepareForImport, previewElement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
protected String getRootTag()
getRootTag in class ClassExporterImporterTemplate
protected void exportAttributes(Object object,
IxbDocument fileXML,
Exporter exporter)
throws WTException
createFileXMLOnExport(Exporter
exporter).
exportAttributes in class ClassExporterImporterTemplateobject - fileXML - exporter -
WTException
public Object findAmongExistingObjects(IxbElement fileXML,
Importer importer)
throws WTException
ClassificationNode instance in database based
on the name and path.
findAmongExistingObjects in class ClassExporterImporterTemplatefileXML - importer -
WTException
public void checkConflicts(IxbElement fileXML,
Importer importer)
throws WTException
ClassificationNode
object in datase.
checkConflicts in interface ElementImportercheckConflicts in class ClassExporterImporterTemplateGeneralfileXML - importer -
WTException
public int getAdditionalImportPriority(IxbElement fileXML)
throws WTException
getImportPriority()
The returned number defines the order in which XML file will be imported
if getImportPriority() returns the same value.
In general, if getImportPriority() returns a smaller value, it will
have a higher import priority;
for the XML files with the same value of getImportPriority(), the
one with a smaller value of getAdditionalImportPriority()
will have a higher import priority.ClassificationNode instance
getAdditionalImportPriority in interface ElementImportergetAdditionalImportPriority in class ClassExporterImporterTemplateGeneralfileXML -
WTException
public Object importElement(IxbElement fileXML,
Importer importer)
throws WTException
ClassificationNodeDefaultView, which might be newly
created or already existed in the datastore.
importElement in interface ElementImporterimportElement in class ClassExporterImporterTemplatefileXML - importer -
WTException
public Object createObject(IxbElement fileXML,
Importer importer)
throws WTException
createObject in class ClassExporterImporterTemplatefileXML - importer -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||