/** * Removes a Listener from the list of listeners. * @param pl the {@link XMLParserListener} to remove * @return the parser */ public XMLParser RemoveListener(IXMLParserListener pl) { listeners.Remove(pl); return this; }
/** * Construct a XMLParser with the given XMLParserConfig. * * @param isHtml false if this parser is not going to parse HTML and * whitespace should be submitted as text too. * @param listener the listener * @param charset the Charset to use */ public XMLParser(bool isHtml, IXMLParserListener listener, Encoding charset) : this(isHtml, charset) { listeners.Add(listener); }
/** * If no <code>ParserListener</code> is added, parsing with the parser seems useless no? * * @param pl the {@link XMLParserListener} * @return the parser */ public XMLParser AddListener(IXMLParserListener pl) { listeners.Add(pl); return this; }
/** * Constructs a new Parser with the default jvm charset. * @param b true if HTML is being parsed * @param listener the XMLParserListener */ public XMLParser(bool b, IXMLParserListener listener) : this(b, Encoding.Default) { listeners.Add(listener); }
/** * Constructs a new Parser with HTML parsing set to true and the default jvm charset. * @param listener the XMLParserListener */ public XMLParser(IXMLParserListener listener) : this(true, Encoding.Default) { listeners.Add(listener); }
/** * Construct an XMLParser with the given XMLParserConfig ready for * HTML/XHTML processing.. * * @param listener the listener * @param charset the Charset */ public XMLParser(IXMLParserListener listener, Encoding charset) : this(true, charset) { listeners.Add(listener); }
/** * Construct an XMLParser with the given XMLParserConfig ready for * HTML/XHTML processing.. * * @param listener the listener * @param charset the Charset */ public XMLParser(IXMLParserListener listener, Encoding charset) : this(true, charset) { listeners.Add(listener); }
/** * Removes a Listener from the list of listeners. * @param pl the {@link XMLParserListener} to remove * @return the parser */ virtual public XMLParser RemoveListener(IXMLParserListener pl) { listeners.Remove(pl); return(this); }
/** * If no <code>ParserListener</code> is added, parsing with the parser seems useless no? * * @param pl the {@link XMLParserListener} * @return the parser */ virtual public XMLParser AddListener(IXMLParserListener pl) { listeners.Add(pl); return(this); }
/** * Construct a XMLParser with the given XMLParserConfig. * * @param isHtml false if this parser is not going to parse HTML and * whitespace should be submitted as text too. * @param listener the listener * @param charset the Charset to use */ public XMLParser(bool isHtml, IXMLParserListener listener, Encoding charset) : this(isHtml, charset) { listeners.Add(listener); }
/** * Constructs a new Parser with HTML parsing set to true and the default jvm charset. * @param listener the XMLParserListener */ public XMLParser(IXMLParserListener listener) : this(true, Encoding.Default) { listeners.Add(listener); }
/** * Constructs a new Parser with the default jvm charset. * @param b true if HTML is being parsed * @param listener the XMLParserListener */ public XMLParser(bool b, IXMLParserListener listener) : this(b, Encoding.Default) { listeners.Add(listener); }