A C D E G H I M N O P S U X

A

attributeDecl(String, String, String, String, String) - Method in class org.brownell.xml.EchoHandler
SAX2: called on attribute declarations
attributeDecl(String, String, String, String, String) - Method in class org.brownell.xml.DefaultHandler
SAX2: called on attribute declarations

C

characters(char[], int, int) - Method in class org.brownell.xml.EchoHandler
SAX1: reports content characters
comment(char[], int, int) - Method in class org.brownell.xml.EchoHandler
SAX2: called when comments are parsed
comment(char[], int, int) - Method in class org.brownell.xml.DefaultHandler
SAX2: called when comments are parsed
createDocument(InputSource) - Static method in class org.brownell.xml.DomBuilder
Convenience routine, which uses the default DOM and parser (as described above) to parse the specified (XML) document into a DOM document tree.
createDocument(String) - Static method in class org.brownell.xml.DomBuilder
Convenience routine, which uses the default DOM and parser (as described above) to parse the specified (XML) document into a DOM document tree.

D

DefaultHandler - class org.brownell.xml.DefaultHandler.
This class provides extends the SAX base handler class to support the SAX 2 Lexical and Declaration handlers.
DefaultHandler() - Constructor for class org.brownell.xml.DefaultHandler
Constructs a handler which ignores all parsing events.
DomBuilder - class org.brownell.xml.DomBuilder.
Builds a DOM document from the output of a SAX 2.0 (or SAX 1.0) parser, using a defaulted or specified DOM implementation and parser.
DomBuilder() - Constructor for class org.brownell.xml.DomBuilder
Constructs a builder using the default DOM document class and the default SAX parser.
DomBuilder(Parser) - Constructor for class org.brownell.xml.DomBuilder
Constructs a builder using the default DOM document class and the specified SAX parser.
DomBuilder(String) - Constructor for class org.brownell.xml.DomBuilder
Constructs a builder using the specified DOM document class and the default SAX parser.
DomBuilder(String, Parser) - Constructor for class org.brownell.xml.DomBuilder
Constructs a builder using the specified DOM document class and the specified SAX (2.0 or 1.0) parser.
DomParser2 - class org.brownell.xml.DomParser2.
This parser emits SAX2 parsing events as it traverses a DOM tree, using any conformant implementation of DOM.
DomParser2() - Constructor for class org.brownell.xml.DomParser2
Constructs an unitialized SAX2 parser.
DoParse - class org.brownell.xml.DoParse.
This class provides a driver which may be invoked from the command line to make a SAX parser use a specified handler to process a document.
Driver - class org.brownell.xml.conformance.Driver.
Runs a SAX (preferably 2.0 alpha, but alternatively 1.0) parser through its paces by using a parser conformance test suite.

E

EchoHandler - class org.brownell.xml.EchoHandler.
This class is a SAX handler which echoes all its input as a well formed XML or XHTML document.
EchoHandler() - Constructor for class org.brownell.xml.EchoHandler
Constructs a handler which writes all input to System.out in the UTF-8 encoding, and closes System.out when endDocument is called.
EchoHandler(Writer) - Constructor for class org.brownell.xml.EchoHandler
Constructs a handler which writes all input to the writer, and then closes the writer when the document ends.
EchoHandler(Writer, String) - Constructor for class org.brownell.xml.EchoHandler
Constructs a handler which writes all input to the writer, and then closes the writer when the document ends.
elementDecl(String, String) - Method in class org.brownell.xml.EchoHandler
SAX2: called on element declarations
elementDecl(String, String) - Method in class org.brownell.xml.DefaultHandler
SAX2: called on element declarations
endCDATA() - Method in class org.brownell.xml.EchoHandler
SAX2: called after parsing CDATA characters
endCDATA() - Method in class org.brownell.xml.DefaultHandler
SAX2: called after parsing CDATA characters
endDocument() - Method in class org.brownell.xml.EchoHandler
SAX1: indicates the completion of a parse
endDTD() - Method in class org.brownell.xml.EchoHandler
SAX2: called after the doctype is parsed
endDTD() - Method in class org.brownell.xml.DefaultHandler
SAX2: called after the doctype is parsed
endElement(String) - Method in class org.brownell.xml.EchoHandler
SAX1: indicates the end of an element
endEntity(String) - Method in class org.brownell.xml.EchoHandler
SAX2: called after parsing an entity
endEntity(String) - Method in class org.brownell.xml.DefaultHandler
SAX2: called after parsing an entity
externalEntityDecl(String, String, String) - Method in class org.brownell.xml.EchoHandler
SAX2: called on external entity declarations
externalEntityDecl(String, String, String) - Method in class org.brownell.xml.DefaultHandler
SAX2: called on external entity declarations

G

getFeature(String) - Method in class org.brownell.xml.Parser2
SAX2: Tells whether this parser supports the specified feature.
getFeature(String) - Method in class org.brownell.xml.DomParser2
SAX2: Tells whether this parser supports the specified feature.
getFeature(String) - Method in class org.brownell.xml.HtmlParser
SAX2: Tells whether this parser supports the specified feature.
getFeature(String) - Method in class org.brownell.xml.OracleDriver
SAX2: Tells whether this parser supports the specified feature.
getProperty(String) - Method in class org.brownell.xml.Parser2
SAX2: Returns the specified property.
getProperty(String) - Method in class org.brownell.xml.DomParser2
SAX2: Returns the specified property.
getProperty(String) - Method in class org.brownell.xml.HtmlParser
SAX2: Returns the specified property.

H

HtmlParser - class org.brownell.xml.HtmlParser.
This is a wrapper around the javax.swing.text.html.parser.* HTML parser, implementing the 1-June-1999 draft SAX2 interfaces.
HtmlParser() - Constructor for class org.brownell.xml.HtmlParser
Constructs a new HTML parser.

I

ignorableWhitespace(char[], int, int) - Method in class org.brownell.xml.EchoHandler
SAX1: reports ignorable whitespace
internalEntityDecl(String, String) - Method in class org.brownell.xml.EchoHandler
SAX2: called on internal entity declarations
internalEntityDecl(String, String) - Method in class org.brownell.xml.DefaultHandler
SAX2: called on internal entity declarations
isExpandingEntities() - Method in class org.brownell.xml.EchoHandler
Returns true if the output will have no entity references; returns false (the default) otherwise.
isSavingExtraNodes() - Method in class org.brownell.xml.DomBuilder
Returns true if the builder is saving "extra" nodes, and false (the default) otherwise.
isXhtml() - Method in class org.brownell.xml.EchoHandler
Returns true if the output attempts to echo the input following "transitional" XHTML rules and matching the "HTML Compatibility Guidelines" so that an HTML version 3 browser can read the output as HTML; returns false (the default) othewise.

M

main(String[]) - Static method in class org.brownell.xml.DoParse
Command line invoker for this class; pass a filename or URL as the single argument.
main(String[]) - Static method in class org.brownell.xml.conformance.Driver
Generates a conformance report using a given test suite and report template, for a specified SAX parser.

N

notationDecl(String, String, String) - Method in class org.brownell.xml.EchoHandler
SAX1: called on notation declarations

O

OracleDriver - class org.brownell.xml.OracleDriver.
This is a wrapper around the oracle.xml.parser.v2.SAXParser SAX 1.0 parser, implementing 1-June-1999 draft SAX2 interfaces.
OracleDriver() - Constructor for class org.brownell.xml.OracleDriver
Constructs a parser which by default does not validate.
org.brownell.xml - package org.brownell.xml
This package contains XML utilities, including several parsers, which implement or take advantage of SAX2 (first public alpha) APIs.
org.brownell.xml.conformance - package org.brownell.xml.conformance
 

P

parse(InputSource) - Method in class org.brownell.xml.Parser2
SAX1: parse the XML text in the given input source.
parse(InputSource) - Method in class org.brownell.xml.DomParser2
SAX1: Parses the previously provided DOM document (the input parameter is ignored).
parse(InputSource) - Method in class org.brownell.xml.DomBuilder
Parses the document provided, returning its contents as a DOM document.
parse(InputSource) - Method in class org.brownell.xml.HtmlParser
SAX1: parse the HTML text in the given input source.
parse(String) - Method in class org.brownell.xml.Parser2
SAX1: Parse the XML text at the given input URI.
parse(String) - Method in class org.brownell.xml.DomParser2
SAX1: Parses the previously provided DOM document (the input parameter is ignored).
parse(String) - Method in class org.brownell.xml.DomBuilder
Parses the specified document, returning its contents as a DOM document.
parse(String) - Method in class org.brownell.xml.HtmlParser
SAX1: Parse the HTML text at the given input URI.
Parser2 - class org.brownell.xml.Parser2.
This is a wrapper around the com.sun.xml.parser.* SAX 1.0 parsers, implementing 1-June-1999 draft SAX2 interfaces.
Parser2() - Constructor for class org.brownell.xml.Parser2
Constructs an unitialized SAX2 parser.
processingInstruction(String, String) - Method in class org.brownell.xml.EchoHandler
SAX1: reports a PI

S

setDocumentHandler(DocumentHandler) - Method in class org.brownell.xml.Parser2
SAX1: Provides an object which receives callbacks for the most significant document information.
setDocumentHandler(DocumentHandler) - Method in class org.brownell.xml.DomParser2
SAX1: Provides an object which receives callbacks for the most significant document information.
setDocumentHandler(DocumentHandler) - Method in class org.brownell.xml.HtmlParser
SAX1: Provides an object which receives callbacks for the most significant document information.
setDocumentLocator(Locator) - Method in class org.brownell.xml.EchoHandler
SAX1: provides parser status information
setDTDHandler(DTDHandler) - Method in class org.brownell.xml.Parser2
SAX1: Provides an object which may be used to intercept declarations related to notations and unparsed entities.
setDTDHandler(DTDHandler) - Method in class org.brownell.xml.DomParser2
SAX1: Provides an object which may be used to intercept declarations related to notations and unparsed entities.
setDTDHandler(DTDHandler) - Method in class org.brownell.xml.HtmlParser
SAX1: Provides an object which may be used to intercept declarations related to notations and unparsed entities.
setEntityResolver(EntityResolver) - Method in class org.brownell.xml.Parser2
SAX1: Provides an object which may be used when resolving external entities during parsing (both general and parameter entities).
setEntityResolver(EntityResolver) - Method in class org.brownell.xml.DomParser2
SAX1: Provides an object which may be used when resolving external entities during parsing (both general and parameter entities).
setEntityResolver(EntityResolver) - Method in class org.brownell.xml.HtmlParser
SAX1: Provides an object which may be used when resolving external entities during parsing (both general and parameter entities).
setErrorHandler(ErrorHandler) - Method in class org.brownell.xml.Parser2
SAX1: Provides an object which receives callbacks for XML errors of all levels (fatal, nonfatal, warning).
setErrorHandler(ErrorHandler) - Method in class org.brownell.xml.DomParser2
SAX1: Provides an object which receives callbacks for XML errors of all levels (fatal, nonfatal, warning).
setErrorHandler(ErrorHandler) - Method in class org.brownell.xml.HtmlParser
SAX1: Provides an object which receives callbacks for HTML errors of all levels (fatal, nonfatal, warning).
setExpandingEntities(boolean) - Method in class org.brownell.xml.EchoHandler
Controls whether the output text contains references to entities (the default), or instead contains the expanded values of those entities.
setFeature(String, boolean) - Method in class org.brownell.xml.Parser2
SAX2: Sets the state of features supported in this parser.
setFeature(String, boolean) - Method in class org.brownell.xml.DomParser2
SAX2: Sets the state of features supported in this parser.
setFeature(String, boolean) - Method in class org.brownell.xml.HtmlParser
SAX2: Sets the state of features supported in this parser.
setFeature(String, boolean) - Method in class org.brownell.xml.OracleDriver
SAX2: Sets the state of features supported in this parser.
setLocale(Locale) - Method in class org.brownell.xml.Parser2
SAX1: Identifies the locale which the parser should use for the diagnostics it provides.
setLocale(Locale) - Method in class org.brownell.xml.DomParser2
SAX1: Identifies the locale which the parser should use for the diagnostics it provides.
setLocale(Locale) - Method in class org.brownell.xml.HtmlParser
SAX1: Identifies the locale which the parser should use for the diagnostics it provides.
setProperty(String, Object) - Method in class org.brownell.xml.Parser2
SAX2: Assigns the specified property.
setProperty(String, Object) - Method in class org.brownell.xml.DomParser2
SAX2: Assigns the specified property.
setProperty(String, Object) - Method in class org.brownell.xml.HtmlParser
SAX2: Assigns the specified property.
setSavingExtraNodes(boolean) - Method in class org.brownell.xml.DomBuilder
Controls whether the builder will save "extra" nodes.
setXhtml(boolean) - Method in class org.brownell.xml.EchoHandler
Controls whether the output should attempt to follow the "transitional" XHTML rules so that it meets the "HTML Compatibility Guidelines" appendix in the XHTML specification.
startCDATA() - Method in class org.brownell.xml.EchoHandler
SAX2: called before parsing CDATA characters
startCDATA() - Method in class org.brownell.xml.DefaultHandler
SAX2: called before parsing CDATA characters
startDocument() - Method in class org.brownell.xml.EchoHandler
SAX1: indicates the beginning of a parse
startDTD(String, String, String) - Method in class org.brownell.xml.EchoHandler
SAX2: called when the doctype is partially parsed
startDTD(String, String, String) - Method in class org.brownell.xml.DefaultHandler
SAX2: called when the doctype is partially parsed
startElement(String, AttributeList) - Method in class org.brownell.xml.EchoHandler
SAX1: indicates the start of an element
startEntity(String) - Method in class org.brownell.xml.EchoHandler
SAX2: called before parsing an entity
startEntity(String) - Method in class org.brownell.xml.DefaultHandler
SAX2: called before parsing an entity

U

unparsedEntityDecl(String, String, String, String) - Method in class org.brownell.xml.EchoHandler
SAX1: called on unparsed entity declarations

X

XhtmlEchoHandler - class org.brownell.xml.XhtmlEchoHandler.
This extends the EchoHandler to create a class which defaults to writing XHTML text, preferring the US-ASCII encoding.
XhtmlEchoHandler() - Constructor for class org.brownell.xml.XhtmlEchoHandler
Constructs this handler such System.out is used to write SAX events using the US-ASCII encoding, as XHTML.
XhtmlEchoHandler(OutputStream) - Constructor for class org.brownell.xml.XhtmlEchoHandler
Constructs this handler such that the specified output stream is used to write SAX events in the US-ASCII encoding, as XHTML.
XhtmlEchoHandler(Writer) - Constructor for class org.brownell.xml.XhtmlEchoHandler
Constructs this handler such that the specified output stream is used to write SAX events as XHTML.
XhtmlEchoHandler(Writer, String) - Constructor for class org.brownell.xml.XhtmlEchoHandler
Constructs this handler such that the specified output stream is used to write SAX events as XHTML, labeled with the specified encoding.

A C D E G H I M N O P S U X