NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Classes | Public Types | Public Member Functions | Properties | List of all members
NXOpen.Validate.XmlComparator Class Reference

Provides a generic comparator for finding differences between two XML format files. More...

Inheritance diagram for NXOpen.Validate.XmlComparator:
NXOpen.Utilities.NXRemotableObject IMessageSink

Classes

struct  _Options
 
 
struct  Options
  More...
 

Public Types

enum  Result { Identical, Different }
 Specifies result of the comparison More...
 

Public Member Functions

unsafe
NXOpen.Validate.XmlComparator.Result 
CompareXmlFiles (string workXmlFile, string masterXmlFile, NXOpen.Validate.XmlComparator.Options compareOptions)
 Compares two xml format files. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Properties

Tag Tag [get]
 Returns the tag of this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject
void initialize ()
 <exclude> More...
 

Detailed Description

Provides a generic comparator for finding differences between two XML format files.

The comparator takes NXOpen.Validate.XmlComparator.Options to further control the comparison process. It returns NXOpen.Validate.XmlComparator.Result , and generates report of detailed differences in HTML file which can be viewed via web browser.

To obtain an instance of this class, refer to NXOpen.Session

Created in NX6.0.2

Member Enumeration Documentation

Specifies result of the comparison

Enumerator
Identical 

Represents two xml files are identical

Different 

Represents two xml files are different

Member Function Documentation

unsafe NXOpen.Validate.XmlComparator.Result NXOpen.Validate.XmlComparator.CompareXmlFiles ( string  workXmlFile,
string  masterXmlFile,
NXOpen.Validate.XmlComparator.Options  compareOptions 
)
inline

Compares two xml format files.

You can use NXOpen.Validate.XmlComparator.Options to customize the comparison process.

Created in NX6.0.2

License requirements: None.

Parameters
workXmlFileThe first xml file to be compared
masterXmlFileThe second xml file to be compared against
compareOptionscomparison options
Returns
comparison result

Property Documentation

Tag NXOpen.Validate.XmlComparator.Tag
get

Returns the tag of this object.


The documentation for this class was generated from the following file:
Copyright 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.