com.ptc.windchill.upgrade.ius
Class DirectiveInstantiator
java.lang.Object
com.ptc.windchill.upgrade.ius.DirectiveInstantiator
- public class DirectiveInstantiator
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
elementNameToDirectiveClassMap_
private static final HashMap elementNameToDirectiveClassMap_
directiveClassToElementNameMap_
private static final HashMap directiveClassToElementNameMap_
DirectiveInstantiator
public DirectiveInstantiator()
installUpdateDirective
public static void installUpdateDirective(String directive_class_name)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
installUpdateDirective
public static void installUpdateDirective(String directive_class_name,
String directive_element_name)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
installUpdateDirective
public static void installUpdateDirective(Class directive_class)
installUpdateDirective
public static void installUpdateDirective(Class directive_class,
String directive_element_name)
clearUpdateDirectiveMapping
public static void clearUpdateDirectiveMapping()
getElementNameForDirective
public static String getElementNameForDirective(UpdateDirective directive)
throws DirectiveIOException
- Throws:
DirectiveIOException
getInstalledDirectiveClasses
public static Class[] getInstalledDirectiveClasses()
createDirectiveFrom
public static UpdateDirective createDirectiveFrom(Element element)
throws DirectiveIOException
- Throws:
DirectiveIOException
createElementFrom
public static Element createElementFrom(UpdateDirective directive,
Document dom_factory)
throws DirectiveIOException
- Throws:
DirectiveIOException
getClassNameForDirectiveElement
private static Class getClassNameForDirectiveElement(Element element)
throws DirectiveIOException
- Throws:
DirectiveIOException
createInstanceOfDirective
private static UpdateDirective createInstanceOfDirective(Class directive_class)
throws DirectiveIOException
- Throws:
DirectiveIOException