org.apache.tools.ant
Class ApacheParser

java.lang.Object
  |
  +--org.apache.tools.ant.Parser
        |
        +--org.apache.tools.ant.ApacheParser

public class ApacheParser
extends Parser

Implementation of Parser using Apache Xerces-J.

Author:
pier@apache.org

Constructor Summary
ApacheParser()
           
 
Method Summary
 org.w3c.dom.Document parse(java.io.File buildFile)
          Parse the specified file and return a DOM Document.
 
Methods inherited from class org.apache.tools.ant.Parser
getParser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApacheParser

public ApacheParser()
Method Detail

parse

public org.w3c.dom.Document parse(java.io.File buildFile)
                           throws org.xml.sax.SAXException,
                                  java.io.IOException
Parse the specified file and return a DOM Document.
Overrides:
parse in class Parser


Copyright © 2000 Apache Software Foundation. All Rights Reserved.