PXTypeSelector Class Reference
Inherits from | NSObject |
Conforms to | PXSelector |
Declared in | PXTypeSelector.h |
Tasks
-
namespaceURI
The element/type namespace URI to match. This value may be nil
property -
typeName
The element/type namespace prefix to match. This value may be nil
property -
hasUniversalNamespace
The selector uses a universal namespace
property -
hasUniversalType
The selector uses a universal type
property -
attributeExpressions
A unmutable list of attribute expressions associated with this selector
property -
hasPseudoClasses
Determine if this selector contains any pseudo-classes
property -
pseudoElement
The pseudo-element associated with this selector. This value may be nil
property -
styleId
The style ID associated with this selector. This value may be nil
property -
styleClasses
The style classes associated with this selector. This may be nil
property -
– initWithTypeName:
Initialize a new instance with the specified element name
-
– initWithNamespaceURI:typeName:
Initializer a new instance with the specified element namespace and name
-
– addAttributeExpression:
Add an attribute expression to this selector. This selector matches only if it and it’s attribute expressions all match
-
– hasPseudoClass:
Determine if this selector contains a pseudo-class for the given type
Properties
attributeExpressions
A unmutable list of attribute expressions associated with this selector
@property (readonly, nonatomic, strong) NSArray *attributeExpressions
Discussion
A unmutable list of attribute expressions associated with this selector
Declared In
PXTypeSelector.h
hasPseudoClasses
Determine if this selector contains any pseudo-classes
@property (readonly, nonatomic) BOOL hasPseudoClasses
Discussion
Determine if this selector contains any pseudo-classes
Declared In
PXTypeSelector.h
hasUniversalNamespace
The selector uses a universal namespace
@property (readonly, nonatomic) BOOL hasUniversalNamespace
Discussion
The selector uses a universal namespace
Declared In
PXTypeSelector.h
hasUniversalType
The selector uses a universal type
@property (readonly, nonatomic) BOOL hasUniversalType
Discussion
The selector uses a universal type
Declared In
PXTypeSelector.h
namespaceURI
The element/type namespace URI to match. This value may be nil
@property (readonly, nonatomic, strong) NSString *namespaceURI
Discussion
The element/type namespace URI to match. This value may be nil
Declared In
PXTypeSelector.h
pseudoElement
The pseudo-element associated with this selector. This value may be nil
@property (nonatomic, strong) NSString *pseudoElement
Discussion
The pseudo-element associated with this selector. This value may be nil
Declared In
PXTypeSelector.h
styleClasses
The style classes associated with this selector. This may be nil
@property (readonly, nonatomic) NSArray *styleClasses
Discussion
The style classes associated with this selector. This may be nil
Declared In
PXTypeSelector.h
Instance Methods
addAttributeExpression:
Add an attribute expression to this selector. This selector matches only if it and it’s attribute expressions all match
- (void)addAttributeExpression:(id<PXSelector>)expression
Parameters
- expression
The expression to add to this selector
Discussion
Add an attribute expression to this selector. This selector matches only if it and it’s attribute expressions all match
Declared In
PXTypeSelector.h
hasPseudoClass:
Determine if this selector contains a pseudo-class for the given type
- (BOOL)hasPseudoClass:(NSString *)className
Parameters
- className
The pseudo-class name
Discussion
Determine if this selector contains a pseudo-class for the given type
Declared In
PXTypeSelector.h
initWithNamespaceURI:typeName:
Initializer a new instance with the specified element namespace and name
- (id)initWithNamespaceURI:(NSString *)uri typeName:(NSString *)type
Parameters
- uri
The element namespace URI to match
- type
The element name to match
Discussion
Initializer a new instance with the specified element namespace and name
Declared In
PXTypeSelector.h