Classes

DocumentBuilder

The DocumentBuilder class is the main interface into a DOM parser. You create instances of DocumentBuilder with the DocumentBuilderFactory class.

isNamespaceAware
public boolean isNamespaceAware()

Returns true if the parser understands namespaces.

isValidating
public boolean isValidating()

Returns true if the parser validates XML documents.

newDocument
public Document newDocument()

Creates new DOM document. Use this method for creating a document from scratch rather than parsing a text file.

 parse public Document parse(File f) throws SAXException, IOException public Document parse(InputSource source) throws SAXException, IOException public Document parse(InputStream stream) throws SAXException, IOException public ...

Get Special Edition Using Java™ 2 Enterprise Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.