public override bool Matches(AttribDetails ad)
        {
            object oName = ad.localName;
            object oThisName = this.m_attrName;

            if (!string.IsNullOrEmpty(m_attrName) && oName != oThisName)
            {
                return false;
            }

            if (!string.IsNullOrEmpty(m_attrValue) && string.Compare(ad.value, m_attrValue, true) != 0)
                return false;

            return true;
        }
 public void CreateNewAttribute(string prefix, string localName, string namespaceURI, string value)
 {
     AttribDetails ad = new AttribDetails(prefix, localName, namespaceURI, value);
     if (ad.localName == "val")
         valueAttribute = ad;
     listOfAttribDetails.Add(ad);
 }
 private void RememberCurrentAttribute()
 {
     AttribDetails ad = new AttribDetails(m_reader.Prefix, m_reader.LocalName, m_reader.NamespaceURI, m_reader.Value);
     if (ad.localName == "val")
         valueAttribute = ad;
     listOfAttribDetails.Add(ad);
 }
 public override bool Matches(AttribDetails attrib)
 {
     throw new Exception("The method or operation is not implemented.");
 }
 public override bool Matches(AttribDetails attrib)
 {
     return true;
 }
        public override bool Matches(AttribDetails ad)
        {
            if (!string.IsNullOrEmpty(m_attrName) && string.Compare(ad.localName, m_attrName, true) != 0)
                return false;

            int iValue = Int32.Parse(ad.value);

            return iValue > m_maxValue;


        }
        public override bool Matches(AttribDetails ad)
        {
            if (!string.IsNullOrEmpty(m_attrName) && string.Compare(ad.localName, m_attrName, true) != 0)
                return false;

            if (string.IsNullOrEmpty(ad.value))
                return false;

            return ad.value.IndexOf(m_valuePattern) != -1;
        }
        public override bool Matches(AttribDetails ad)
        {
            object oName = ad.localName;
            object oThisName = this.m_attrName;

            if (!string.IsNullOrEmpty(m_attrName) && oName != oThisName)
                return false;

            string sThisName = ad.value;
            if (string.IsNullOrEmpty(sThisName) && m_iLength != 0)
                return false;

            if(sThisName.Length < m_iLength)
                return false;

            if(sThisName.StartsWith(m_attrStartValue))
                return true;

            return false;
        }
 public abstract bool Matches(AttribDetails attrib);