com.ptc.windchill.structconf
Class ValidateXconfFile

java.lang.Object
  extended bycom.ptc.windchill.structconf.StructConfManagerCommand
      extended bycom.ptc.windchill.structconf.ValidateXconfFile

public class ValidateXconfFile
extends StructConfManagerCommand


Field Summary
private  String xconfFileOrUrl_
           
private  int xconfMode_
           
 
Fields inherited from class com.ptc.windchill.structconf.StructConfManagerCommand
 
Constructor Summary
ValidateXconfFile(File xconf_file, int xconf_mode)
          Create instance to read the file and validate it as both well-formed XML and valid for the Xconf DTD and the parser mode (see com.ptc.windchill.structconf.xconf.XconfUtil#SITE and com.ptc.windchill.structconf.xconf.XconfUtil#DECLARATION).
ValidateXconfFile(String xconf_file_or_url, int xconf_mode)
          Create instance to read the file from the file path or URL specified and validate it as both well-formed XML and valid for the Xconf DTD and the parser mode (see com.ptc.windchill.structconf.xconf.XconfUtil#SITE and com.ptc.windchill.structconf.xconf.XconfUtil#DECLARATION).
 
Method Summary
(package private)  void execute()
           
 
Methods inherited from class com.ptc.windchill.structconf.StructConfManagerCommand
execute, getCollector, getDeclarativeUpdater, getManager, getSiteUpdater, getUpdater, getUpdater, requiresSaveImmediatelyAfter, setRequiresSaveImmediatelyAfter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xconfFileOrUrl_

private String xconfFileOrUrl_

xconfMode_

private int xconfMode_
Constructor Detail

ValidateXconfFile

public ValidateXconfFile(File xconf_file,
                         int xconf_mode)
Create instance to read the file and validate it as both well-formed XML and valid for the Xconf DTD and the parser mode (see com.ptc.windchill.structconf.xconf.XconfUtil#SITE and com.ptc.windchill.structconf.xconf.XconfUtil#DECLARATION).


ValidateXconfFile

public ValidateXconfFile(String xconf_file_or_url,
                         int xconf_mode)
Create instance to read the file from the file path or URL specified and validate it as both well-formed XML and valid for the Xconf DTD and the parser mode (see com.ptc.windchill.structconf.xconf.XconfUtil#SITE and com.ptc.windchill.structconf.xconf.XconfUtil#DECLARATION).

Method Detail

execute

void execute()
       throws StructConfManagerException
Specified by:
execute in class StructConfManagerCommand
Throws:
StructConfManagerException