public void EndElement(HtmlNode node)
        {
            TagAction ta = tagActions.Get(node.Name);

            if (ta != null)
            {
                flush = ta.End(this, node.Name) | flush;
            }
            else
            {
                flush = true;
            }
            if (ta == null || ta.ChangesTagLevel())
            {
                tagLevel--;
            }
            if (flush)
            {
                FlushBlock();
            }
            lastEvent  = NBoilerpipeContentHandler.Event.END_TAG;
            lastEndTag = node.Name;
            labelStacks.RemoveLast();
        }
Пример #2
0
 /// <exception cref="Sharpen.SAXException"></exception>
 public bool End(NBoilerpipeContentHandler instance, string localName)
 {
     return(t1.End(instance, localName) | t2.End(instance, localName));
 }