Microsoft SDK for Java

Parser Class

The Parser class of the com.ms.xml.parser package implements an eXtensible Markup Language (XML) parser according to the World Wide Web Consortium (W3C) working draft of the XML specification available at the time that Microsoft® Internet Explorer 4 was released. This Parser class is used internally by the XML document load method, so you shouldn't need to use it directly.

public class Parser
{
  // Constructors
  public Parser();

  // Methods
  public final XMLOutputStream createOutputStream(OutputStream out);
  public final void loadDTD(String urlStr, Atom nameSpace) 
    throws ParseException;
  public final void parse(URL url, ElementFactory factory, 
    DTD dtd, Element root, boolean caseInsensitive, boolean loadExt)
        throws ParseException;
  public final void parse(InputStream in, ElementFactory factory,
    DTD dtd, Element root, boolean caseInsensitive, boolean loadExt)
        throws ParseException;
  public final void report(ParseException e, OutputStream out);
  public void setShortEndTags(boolean shortendtags);
}

© 1999 Microsoft Corporation. All rights reserved. Terms of use.