com.ptc.windchill.instassm
Class XmlFragment
java.lang.Object
com.ptc.windchill.instassm.XmlFragment
- Direct Known Subclasses:
- InstalledAssembly, InstalledLocale, InstalledTempPatch, InstallerComponentMap
- abstract class XmlFragment
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlFragment
XmlFragment()
XmlFragment
XmlFragment(File file)
throws IAException
XmlFragment
XmlFragment(InputStream input_stream)
throws IAException
XmlFragment
XmlFragment(Element element)
throws IAException
init
private void init(InputStream input_stream)
throws IAException
- Throws:
IAException
readDocFrom
private static Document readDocFrom(InputStream input_stream)
throws IAException
- Parse the XML file with no validation.
- Throws:
IAException
saveToRegistryDir
public void saveToRegistryDir()
throws IAException
- Save the fragment as a file into the registry dir that IAConstants has been initialized with.
- Throws:
IAException
- See Also:
IAConstants
saveToDir
public void saveToDir(File dir)
throws IAException
- Save the fragment as a file into a specified directory.
- Throws:
IAException
initFrom
protected abstract void initFrom(Element element)
throws IAException
- Throws:
IAException
setAttributesOn
protected abstract void setAttributesOn(Element element)
throws IAException
- Throws:
IAException
getSaveToFileName
protected abstract String getSaveToFileName()
getRootElementName
protected abstract String getRootElementName()