PXTypeSelector Class Reference
| Inherits from | NSObject |
| Conforms to | PXSelector |
| Declared in | PXTypeSelector.h |
Tasks
-
namespaceURIThe element/type namespace URI to match. This value may be nil
property -
typeNameThe element/type namespace prefix to match. This value may be nil
property -
hasUniversalNamespaceThe selector uses a universal namespace
property -
hasUniversalTypeThe selector uses a universal type
property -
attributeExpressionsA unmutable list of attribute expressions associated with this selector
property -
hasPseudoClassesDetermine if this selector contains any pseudo-classes
property -
pseudoElementThe pseudo-element associated with this selector. This value may be nil
property -
styleIdThe style ID associated with this selector. This value may be nil
property -
styleClassesThe 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 *attributeExpressionsDiscussion
A unmutable list of attribute expressions associated with this selector
Declared In
PXTypeSelector.hhasPseudoClasses
Determine if this selector contains any pseudo-classes
@property (readonly, nonatomic) BOOL hasPseudoClassesDiscussion
Determine if this selector contains any pseudo-classes
Declared In
PXTypeSelector.hhasUniversalNamespace
The selector uses a universal namespace
@property (readonly, nonatomic) BOOL hasUniversalNamespaceDiscussion
The selector uses a universal namespace
Declared In
PXTypeSelector.hhasUniversalType
The selector uses a universal type
@property (readonly, nonatomic) BOOL hasUniversalTypeDiscussion
The selector uses a universal type
Declared In
PXTypeSelector.hnamespaceURI
The element/type namespace URI to match. This value may be nil
@property (readonly, nonatomic, strong) NSString *namespaceURIDiscussion
The element/type namespace URI to match. This value may be nil
Declared In
PXTypeSelector.hpseudoElement
The pseudo-element associated with this selector. This value may be nil
@property (nonatomic, strong) NSString *pseudoElementDiscussion
The pseudo-element associated with this selector. This value may be nil
Declared In
PXTypeSelector.hstyleClasses
The style classes associated with this selector. This may be nil
@property (readonly, nonatomic) NSArray *styleClassesDiscussion
The style classes associated with this selector. This may be nil
Declared In
PXTypeSelector.hInstance 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>)expressionParameters
- 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.hhasPseudoClass:
Determine if this selector contains a pseudo-class for the given type
- (BOOL)hasPseudoClass:(NSString *)classNameParameters
- className
The pseudo-class name
Discussion
Determine if this selector contains a pseudo-class for the given type
Declared In
PXTypeSelector.hinitWithNamespaceURI:typeName:
Initializer a new instance with the specified element namespace and name
- (id)initWithNamespaceURI:(NSString *)uri typeName:(NSString *)typeParameters
- 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