API Overview API Index Package Overview Direct link to this page
Apache Ant 1.7.1
  org.apache.tools.ant.util. JAXPUtils View Source
Author(s)
Since
Ant 1.5
Version
Serial
Hierarchy
 Object
      JAXPUtils
Implements
Subclasses
Description
public class JAXPUtils
  Collection of helper methods that retrieve a ParserFactory or Parsers and Readers.
See also:   
Constructors
public JAXPUtils ()
Methods
Hide/Show inherited methods
publicstatic javax.xml.parsers.DocumentBuilder getDocumentBuilder () throws BuildException
  Returns a newly created DocumentBuilder.
publicstatic org.xml.sax.XMLReader getNamespaceXMLReader () throws BuildException
  Returns a newly created SAX 2 XMLReader, which is namespace aware
publicstaticsynchronized javax.xml.parsers.SAXParserFactory getNSParserFactory () throws BuildException
  Returns the parser factory to use to create namespace aware parsers.
publicstatic org.xml.sax.Parser getParser () throws BuildException
  Returns a newly created SAX 1 Parser, using the default parser factory.
publicstaticsynchronized javax.xml.parsers.SAXParserFactory getParserFactory () throws BuildException
  Returns the parser factory to use.
publicstatic java.lang.String getSystemId (java.io.File file)
  This is a best attempt to provide a URL.toExternalForm() from a file URL.
publicstatic org.xml.sax.XMLReader getXMLReader () throws BuildException
  Returns a newly created SAX 2 XMLReader, using the default parser factory.
publicstatic javax.xml.parsers.SAXParserFactory newParserFactory () throws BuildException
  Returns a new parser factory instance.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar