Unknown() public method

public Unknown ( ) : XMLParser
return XMLParser
Esempio n. 1
0
 /**
  * Constructs a XMLParser.
  *
  * @param isHtml false if this parser is not going to parse HTML and
  *            whitespace should be submitted as text too.
  * @param charset charset
  */
 public XMLParser(bool isHtml, Encoding charset) {
     this.charset = charset;
     this.controller = new StateController(this, isHtml);
     controller.Unknown();
     memory = new XMLParserMemory();
     listeners = new List<IXMLParserListener>();
 }
Esempio n. 2
0
 /**
  * Constructs a XMLParser.
  *
  * @param isHtml false if this parser is not going to parse HTML and
  *            whitespace should be submitted as text too.
  * @param charset charset
  */
 public XMLParser(bool isHtml, Encoding charset)
 {
     this.charset    = charset;
     this.controller = new StateController(this, isHtml);
     controller.Unknown();
     memory    = new XMLParserMemory(isHtml);
     listeners = new List <IXMLParserListener>();
 }