Oracle8i Application Developer's Guide - XML Release 3 (8.1.7) Part Number A86030-01 |
Library | Service | Contents | Index

XDK for Java: Specifications and Cheat Sheets, 2 of 15

## XML Parser for Java Cheat Sheets

Table C-1 lists XML Parser for Java top level classes with a brief description of each.

##### Table C-1 XML Parser for Java: oracle.xml.parser.v2 Classes

Class Summary | Description
--- | ---
Interfaces |
NSName | This interface provides Namespace support for Element and Attr names
NSResolver | This interface provides support for resolving Namespaces
XMLDocumentHandler | This interface extends the org.xml.sax.DocumentHandler interface.
XMLToken | Basic interface for XMLToken
Classes |
AttrDecl | Holds information about each attribute declared in an attribute list in the Document Type Definition.
Package Oracle.xml.parser.v2 | Implements the default behaviour for the XMLDocumentHandler interface.
DOMParser | Implements an eXtensible Markup Language (XML) 1.0 parser according to the World Wide Web Consortium (W3C) recommendation.
DTD | Implements the DOM DocumentType interface and holds the Document Type Definition information for an XML document.
ElementDecl | Represents an element declaration in a DTD.
NodeFactory | Specifies methods to create various nodes of the DOM tree built during parsing.
oraxsl | Provides a command-line interface to applying stylesheets on multiple XML documents.
SAXAttrList | Implements the SAX AttributeList interface and also provides Namespace support.
SAXParser | Implements an eXtensible Markup Language (XML) 1.0 SAX parser according to the World Wide Web Consortium (W3C) recommendation.
XMLAttr | Implements the DOM Attr interface and holds information on each attribute of an element.
XMLCDATA | Implements the DOM CDATASection interface.
XMLComment | Implements the DOM Comment interface.
XMLDocument | Implements the DOM Document interface, represents an entire XML document and serves the root of the Document Object Model tree.
XMLDocumentFragment | Implements the DOM DocumentFragment interface.
XMLElement | Implements the DOM Element interface.
XMLEntityReference |
XMLNode | Implements the DOM Node interface and serves as the primary datatype for the entire Document Object Model.
XMLParser | Serves as a base class for the DOMParser and SAXParser classes.
XMLPI | Implements the DOM Processing Instruction interface.
XMLText | Implements the DOM Text interface.
XMLTokenizer | Implements an eXtensible Markup Language (XML) 1.0 parser according to the World Wide Web Consortium (W3C) recommendation.
XSLProcessor | Provides methods to transform an input XML document using a previously constructed XSLStylesheet.
XSLStylesheet | Holds XSL stylesheet information such as templates, keys, variables, and attribute sets.
Exceptions |
XMLParseException | Indicates that a parsing exception occurred while processing an XML document
XSLException | Indicates that an exception occurred during XSL tranformation

##### Table C-2 XML Parser for Java: DOMParser() Methods

Method | Description
--- | ---
DOMParser() | Creates a new parser object.
Methods |
getDoctype() | Get the DTD
getDocument() | Gets the document
parseDTD(InputSource, String) | Parses the XML External DTD from given input source
parseDTD(InputStream, String) | Parses the XML External DTD from given input stream.
parseDTD(Reader, String) | Parses the XML External DTD from given input stream.
parseDTD(String, String) | Parses the XML External DTD from the URL indicated
parseDTD(URL, String) | Parses the XML External DTD document pointed to by the given URL and creates the corresponding XML document hierarchy.
setErrorStream(OutputStream) | Creates an output stream for the output of errors and warnings.
setErrorStream(OutputStream, String) | Creates an output stream for the output of errors and warnings.
setErrorStream(PrintWriter) | Creates an output stream for the output of errors and warnings.
setNodeFactory(NodeFactory) | Set the node factory.
showWarnings(boolean) | Switch to determine whether to print warnings

| Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
Library | Service | Contents | Index