Css.AttributeMatch Class Reference

Detailed Description

Describes if an element has an attribute which matches.

Inheritance diagram for Css.AttributeMatch:
Css.LocalMatcher Css.SelectorMatcher

Public Member Functions

override void AddToDocument (ReflowDocument document, StyleSheet sheet)
 
override void RemoveFromDocument (ReflowDocument document, StyleSheet sheet)
 
void Load (ValueSet set)
 Loads this attribute match from the given value. More...
 
override bool TryMatch (Dom.Node context)
 Checks if the given node matches this root/local. More...
 
override bool Equals (LocalMatcher match)
 True if two local matchers are equal. More...
 
override string ToString ()
 
- Public Member Functions inherited from Css.LocalMatcher
virtual void RemoveFromDocument (ReflowDocument document, Css.StyleSheet sheet)
 Removes this matcher from any document caches. More...
 
virtual void AddToDocument (ReflowDocument document, Css.StyleSheet sheet)
 Adds this matcher to its parent documents caches. This is used by the default style sheet when the document gets cleared. More...
 

Public Attributes

string Value
 
int MatchMode
 
string Attribute
 
bool CaseInsensitive
 

Member Function Documentation

override void Css.AttributeMatch.AddToDocument ( ReflowDocument  document,
StyleSheet  sheet 
)
inline
override bool Css.AttributeMatch.Equals ( LocalMatcher  match)
inlinevirtual

True if two local matchers are equal.

Reimplemented from Css.LocalMatcher.

void Css.AttributeMatch.Load ( ValueSet  set)
inline

Loads this attribute match from the given value.

override void Css.AttributeMatch.RemoveFromDocument ( ReflowDocument  document,
StyleSheet  sheet 
)
inline
override string Css.AttributeMatch.ToString ( )
inline
override bool Css.AttributeMatch.TryMatch ( Dom.Node  context)
inlinevirtual

Checks if the given node matches this root/local.

Reimplemented from Css.SelectorMatcher.

Member Data Documentation

string Css.AttributeMatch.Attribute
bool Css.AttributeMatch.CaseInsensitive
int Css.AttributeMatch.MatchMode
string Css.AttributeMatch.Value