Objective-C API Library Reference  4.3.0-42-g45f162a
 All Classes Functions Typedefs Properties Pages
Public Functions | Properties | List of all members
PWXmlChangedEventArgs Class Reference

The PWXmlChangedEventArgs class provides arguments for events related to changes to an XML document.

Constructors

(id) - initWithEventArgs:path:newValue:changeType:
 

Public Functions

(NSString *) - description
 

Properties

enum PWXmlChangeType changeType
 
PWXmlElementelement
 
NSString * newText
 
NSString * path
 

Methods Descriptions

- (NSString *) description

Returns the description of the change.

- (id) initWithEventArgs: (PWXmlElement *)  element
path: (NSString *)  path
newValue: (NSString *)  newValue
changeType: (enum PWXmlChangeType)  changeType 

Initializes a new instance of the XmlChangedEventArgs class.

Parameters
elementThe XML element or attribute that changed.
pathThe path to the element or attribute in the application state tree.
newValueThe new value of the element or attribute.
changeTypeThe type of the change that occurred.

Properties Descriptions

- (enum PWXmlChangeType) changeType
readnonatomicassign

An enumerated value indicating the type of change that occurred.

- (PWXmlElement*) element
readnonatomicstrong

The element whose change triggered the event.

- (NSString*) newText
readnonatomicstrong

The new text of the element or attribute; may be null if the element attribute was removed.

- (NSString*) path
readwritenonatomicstrong

A free-form description of the change.