com.ptc.windchill.tools
Class XMLDescriptorGenerator

java.lang.Object
  extended bycom.ptc.windchill.tools.XMLDescriptorGenerator
All Implemented Interfaces:
ExecutableApp

public class XMLDescriptorGenerator
extends Object
implements ExecutableApp



Supported API: false

Extendable: false


Nested Class Summary
(package private)  class XMLDescriptorGenerator.Module
           
(package private)  class XMLDescriptorGenerator.Package
           
(package private)  class XMLDescriptorGenerator.Subsystem
           
(package private)  class XMLDescriptorGenerator.Unit
           
 
Field Summary
private static UnitFactory factory
           
private static UnitIdentifierFactory IdFactory
           
 
Constructor Summary
XMLDescriptorGenerator()
           
 
Method Summary
 void execute(String[] args)
          

Supported API: false
private  String getProperty(Properties model_data, String name, String key)
           
private  boolean getProperty(Properties model_data, String name, String key, boolean default_value)
           
private  String getProperty(Properties model_data, String name, String key, String default_value)
           
private  ArrayList makeClassArray(Properties model_data, String name, String key)
           
private  ArrayList makeClassIdArray(Properties model_data, String name, String key)
           
private  ArrayList makeIdArray(Properties model_data, String name, String key)
           
 void processFile(File file, boolean delete)
           
protected  void processModule(String name, Properties model_data)
           
protected  void processPackage(String name, Properties model_data)
           
protected  void processSubsystem(String name, Properties model_data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

private static UnitFactory factory

IdFactory

private static UnitIdentifierFactory IdFactory
Constructor Detail

XMLDescriptorGenerator

public XMLDescriptorGenerator()
Method Detail

execute

public void execute(String[] args)
             throws WTException
Description copied from interface: ExecutableApp


Supported API: false

Specified by:
execute in interface ExecutableApp
Parameters:
args -
Throws:
WTException

processFile

public void processFile(File file,
                        boolean delete)
                 throws WTException
Throws:
WTException

processModule

protected void processModule(String name,
                             Properties model_data)

processSubsystem

protected void processSubsystem(String name,
                                Properties model_data)

processPackage

protected void processPackage(String name,
                              Properties model_data)

getProperty

private String getProperty(Properties model_data,
                           String name,
                           String key)

getProperty

private String getProperty(Properties model_data,
                           String name,
                           String key,
                           String default_value)

getProperty

private boolean getProperty(Properties model_data,
                            String name,
                            String key,
                            boolean default_value)

makeIdArray

private ArrayList makeIdArray(Properties model_data,
                              String name,
                              String key)
                       throws WTPropertyVetoException
Throws:
WTPropertyVetoException

makeClassIdArray

private ArrayList makeClassIdArray(Properties model_data,
                                   String name,
                                   String key)
                            throws WTPropertyVetoException
Throws:
WTPropertyVetoException

makeClassArray

private ArrayList makeClassArray(Properties model_data,
                                 String name,
                                 String key)
                          throws WTPropertyVetoException
Throws:
WTPropertyVetoException