com.ptc.epm.commands.XMLutil
Class XMLAssemblyHelper

java.lang.Object
  extended bycom.ptc.epm.commands.XMLutil.XMLAssemblyHelper

public class XMLAssemblyHelper
extends Object

Utility for extracting data from the DOM structure of the XML file representing an ECADAssembly


Field Summary
static String ATTRIBUTE_TAG
           
static String AUTHORAPP
           
static String CABINET
           
static String CHECKINCOMMENT
           
static String CLASSIC
           
static String CONTEXT_TAG
           
static String CREATEPASSIVELINKS
           
static String DESCRIPTION
           
static String DESIGN_TAG
           
static String DESIGNFILENAME
           
static String DOCUMENT_TAG
           
static String FILEGROUP_TAG
           
static String FILENAME
           
static String FOLDER_TAG
           
static String NAME
           
static String NUMBER
           
static String PDMLINK
           
static String PRJLINK
           
static String REFERENCE_DESIGNATOR_NAME
           
static String REVISION
           
static String SOLUTION_TAG
           
static String TEAM
           
static String VIEW
           
 
Constructor Summary
XMLAssemblyHelper()
           
 
Method Summary
static Vector getComponents(Element node)
           
static Vector getContents(Element node)
           
static void listContents(Vector myContents)
           
static void verifyContents(Vector myContents, File myZIPFile)
           
static void verifySrcContent(String fileName, File myZIPFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOLUTION_TAG

public static final String SOLUTION_TAG
See Also:
Constant Field Values

CONTEXT_TAG

public static final String CONTEXT_TAG
See Also:
Constant Field Values

FOLDER_TAG

public static final String FOLDER_TAG
See Also:
Constant Field Values

CLASSIC

public static final String CLASSIC
See Also:
Constant Field Values

PDMLINK

public static final String PDMLINK
See Also:
Constant Field Values

PRJLINK

public static final String PRJLINK
See Also:
Constant Field Values

FILEGROUP_TAG

public static final String FILEGROUP_TAG
See Also:
Constant Field Values

ATTRIBUTE_TAG

public static final String ATTRIBUTE_TAG
See Also:
Constant Field Values

DESIGN_TAG

public static final String DESIGN_TAG
See Also:
Constant Field Values

DOCUMENT_TAG

public static final String DOCUMENT_TAG
See Also:
Constant Field Values

NAME

public static final String NAME
See Also:
Constant Field Values

NUMBER

public static final String NUMBER
See Also:
Constant Field Values

REVISION

public static final String REVISION
See Also:
Constant Field Values

DESCRIPTION

public static final String DESCRIPTION
See Also:
Constant Field Values

VIEW

public static final String VIEW
See Also:
Constant Field Values

FILENAME

public static final String FILENAME
See Also:
Constant Field Values

CABINET

public static final String CABINET
See Also:
Constant Field Values

TEAM

public static final String TEAM
See Also:
Constant Field Values

AUTHORAPP

public static final String AUTHORAPP
See Also:
Constant Field Values

DESIGNFILENAME

public static final String DESIGNFILENAME
See Also:
Constant Field Values

CREATEPASSIVELINKS

public static final String CREATEPASSIVELINKS
See Also:
Constant Field Values

CHECKINCOMMENT

public static final String CHECKINCOMMENT
See Also:
Constant Field Values

REFERENCE_DESIGNATOR_NAME

public static final String REFERENCE_DESIGNATOR_NAME
See Also:
Constant Field Values
Constructor Detail

XMLAssemblyHelper

public XMLAssemblyHelper()
Method Detail

verifySrcContent

public static void verifySrcContent(String fileName,
                                    File myZIPFile)
                             throws FileNotFoundException,
                                    IOException
Throws:
FileNotFoundException
IOException

verifyContents

public static void verifyContents(Vector myContents,
                                  File myZIPFile)
                           throws FileNotFoundException,
                                  IOException
Throws:
FileNotFoundException
IOException

getContents

public static Vector getContents(Element node)
                          throws WTException
Throws:
WTException

getComponents

public static Vector getComponents(Element node)
                            throws WTException
Throws:
WTException

listContents

public static void listContents(Vector myContents)