Inherits from NSObject
Conforms to PXSelector
Declared in PXAttributeSelector.h

Overview

A PXAttributeSelector is used to determine if a given element has a specific attribute defined on it.

Tasks

Properties

attributeName

The attribute name to match. This value may be nil

@property (readonly, nonatomic, strong) NSString *attributeName

Discussion

The attribute name to match. This value may be nil

Declared In

PXAttributeSelector.h

namespaceURI

The attribute namespace URI to match. This value may be nil

@property (readonly, nonatomic, strong) NSString *namespaceURI

Discussion

The attribute namespace URI to match. This value may be nil

Declared In

PXAttributeSelector.h

Instance Methods

initWithAttributeName:

Initialize a new instance using the specified type name

- (id)initWithAttributeName:(NSString *)name

Parameters

name

The attribute name to match

Discussion

Initialize a new instance using the specified type name

Declared In

PXAttributeSelector.h

initWithNamespaceURI:attributeName:

Initialize a new instance using the specified namespace and name

- (id)initWithNamespaceURI:(NSString *)uri attributeName:(NSString *)name

Parameters

uri

The attribute namespace URI to match

name

The attribute name to match

Discussion

Initialize a new instance using the specified namespace and name

Declared In

PXAttributeSelector.h