A C D G I N O R S T V X

A

advance() - Method in interface org.greybird.xmliter.XmlIterator
Moves to the next element at the current level and returns true, or returns false if there are no more elements.
advance() - Method in class org.greybird.xmliter.SaxIterator
 
advance() - Method in class org.greybird.xmliter.DomIterator
 
advance() - Method in interface org.greybird.xmliter.XmlAttributes
Moves to the next attribute and returns true, or returns false if there are no more attributes.
advanceMixed() - Method in interface org.greybird.xmliter.XmlIterator
Moves to the next element or text item at the current level and returns true, or returns false if there are no more items.
advanceMixed() - Method in class org.greybird.xmliter.SaxIterator
 
advanceMixed() - Method in class org.greybird.xmliter.DomIterator
 
attribute(String, String) - Method in interface org.greybird.xmliter.XmlIterator
Returns the value of the attribute with the given name belonging to the current element, or null if no such attribute exists, or null if positioned on a mixed text item.
attribute(String, String) - Method in class org.greybird.xmliter.SaxIterator
 
attribute(String, String) - Method in class org.greybird.xmliter.DomIterator
 
attributes() - Method in interface org.greybird.xmliter.XmlIterator
Returns an iterator over the attributes belonging to the current element, or null if positioned on a mixed text item.
attributes() - Method in class org.greybird.xmliter.SaxIterator
 
attributes() - Method in class org.greybird.xmliter.DomIterator
 

C

children() - Method in interface org.greybird.xmliter.XmlIterator
Returns an iterator positioned before the first child of the current element, or null if the current element does not contain any element children, or null if positioned on a mixed text item.
children() - Method in class org.greybird.xmliter.SaxIterator
 
children() - Method in class org.greybird.xmliter.DomIterator
 
close(boolean) - Method in class org.greybird.xmliter.ThreadedSaxEventSource
 
close(boolean) - Method in class org.greybird.xmliter.XercesSaxEventSource
 
close(boolean) - Method in interface org.greybird.xmliter.SaxEventSource
Closes the event source to free up resources and stops generating events.

D

DEFAULT_EVENT_THRESHOLD - Static variable in class org.greybird.xmliter.ThreadedSaxEventSource
The default number of SAX events to generate between thread activations is 50.
DomIterator - class org.greybird.xmliter.DomIterator.
An XmlIterator that obtains its data from a DOM tree.
DomIterator(Node) - Constructor for class org.greybird.xmliter.DomIterator
Creates a DOM iterator using a given parent node.

G

generateEvents() - Method in class org.greybird.xmliter.ThreadedSaxEventSource
 
generateEvents() - Method in class org.greybird.xmliter.XercesSaxEventSource
 
generateEvents() - Method in interface org.greybird.xmliter.SaxEventSource
Generates a subset of SAX events and returns true if more events are still available.
getCause() - Method in class org.greybird.xmliter.XmlIteratorException
Returns the exception that caused this exception or null.

I

isAvailable() - Static method in class org.greybird.xmliter.XercesSaxEventSource
Returns whether the standard configuration implementation of the Xerces Native Interface pull-parser is available.

N

name() - Method in interface org.greybird.xmliter.XmlIterator
Returns the local name of the current element, or null if positioned on a mixed text item.
name() - Method in class org.greybird.xmliter.SaxIterator
 
name() - Method in class org.greybird.xmliter.DomIterator
 
name() - Method in interface org.greybird.xmliter.XmlAttributes
Returns the local name of the attribute.
namespace() - Method in interface org.greybird.xmliter.XmlIterator
Returns the namespace URI of the current element, or an empty string if the current element has no namespace, or null if positioned on a mixed text item.
namespace() - Method in class org.greybird.xmliter.SaxIterator
 
namespace() - Method in class org.greybird.xmliter.DomIterator
 
namespace() - Method in interface org.greybird.xmliter.XmlAttributes
Returns the namespace URI of the attribute, or an empty string if the attribute has no namespace.
NAMESPACES_FEATURE - Static variable in interface org.greybird.xmliter.SaxEventSource
The SAX feature: http://xml.org/sax/features/namespaces This feature must be set for SAX parsers used to generate events, or namespace information will not be correctly reported.

O

org.greybird.xmliter - package org.greybird.xmliter
The xmliter package provides an API for processing XML data that is easier to use than SAX or DOM, performs almost as well as SAX, and works with large documents that won't fit into memory using DOM

R

run() - Method in class org.greybird.xmliter.ThreadedSaxEventSource
Run the parser operation from the parser thread.

S

SaxEventSource - interface org.greybird.xmliter.SaxEventSource.
An incremental generator of SAX events.
SaxIterator - class org.greybird.xmliter.SaxIterator.
An XmlIterator that obtains its data from a SaxEventSource.
SaxIterator(InputSource) - Constructor for class org.greybird.xmliter.SaxIterator
Creates a SAX iterator for parsing a given input source using a default SAX parser.
SaxIterator(SaxEventSource) - Constructor for class org.greybird.xmliter.SaxIterator
Creates a SAX iterator from a given SAX event source.
setContentHandler(ContentHandler) - Method in class org.greybird.xmliter.ThreadedSaxEventSource
 
setContentHandler(ContentHandler) - Method in class org.greybird.xmliter.XercesSaxEventSource
 
setContentHandler(ContentHandler) - Method in interface org.greybird.xmliter.SaxEventSource
Sets the content handler to receive SAX events.
setEventThreshold(int) - Method in class org.greybird.xmliter.ThreadedSaxEventSource
Changes the number of SAX events to generate between thread activations.

T

ThreadedSaxEventSource - class org.greybird.xmliter.ThreadedSaxEventSource.
A SaxEventSource that uses a separate thread to run a SAX parser.
ThreadedSaxEventSource(InputSource) - Constructor for class org.greybird.xmliter.ThreadedSaxEventSource
Creates a threaded SAX event source, using a default parser.
ThreadedSaxEventSource(InputSource, XMLReader) - Constructor for class org.greybird.xmliter.ThreadedSaxEventSource
Creates a threaded SAX event source, optionally specifying a parser.
ThreadedSaxEventSource(InputSource, XMLReader, Object) - Constructor for class org.greybird.xmliter.ThreadedSaxEventSource
Creates a threaded SAX event source, optionally specifying a parser and a lock object for coordination of a caller-supplied parser thread.
toString() - Method in interface org.greybird.xmliter.XmlIterator
Returns a string for error reporting that identifies the current element.
toString() - Method in class org.greybird.xmliter.SaxIterator
 
toString() - Method in class org.greybird.xmliter.DomIterator
 

V

value() - Method in interface org.greybird.xmliter.XmlIterator
Returns the text contained by the current element or text item, or null if positioned on an element that contains one or more element children.
value() - Method in class org.greybird.xmliter.SaxIterator
 
value() - Method in class org.greybird.xmliter.DomIterator
 
value() - Method in interface org.greybird.xmliter.XmlAttributes
Returns the value of the attribute, which may be an empty string.

X

XercesSaxEventSource - class org.greybird.xmliter.XercesSaxEventSource.
A SaxEventSource for incremental parsers using the Xerces Native Interface.
XercesSaxEventSource(InputSource) - Constructor for class org.greybird.xmliter.XercesSaxEventSource
Creates a Xerces SAX event source using the standard parser configuration class.
XercesSaxEventSource(InputSource, XMLPullParserConfiguration) - Constructor for class org.greybird.xmliter.XercesSaxEventSource
Creates a Xerces SAX event source using the a given parser configuration class.
XmlAttributes - interface org.greybird.xmliter.XmlAttributes.
An iterator over the attributes of an XML element.
XmlIterator - interface org.greybird.xmliter.XmlIterator.
An iterator for traversing the elements and text of an XML document.
XmlIteratorException - exception org.greybird.xmliter.XmlIteratorException.
A input data processing problem that occured during XML iteration and is not an IOException or an Error.
XmlIteratorException(String) - Constructor for class org.greybird.xmliter.XmlIteratorException
Creates an XML iterator exception with a given message.
XmlIteratorException(Throwable) - Constructor for class org.greybird.xmliter.XmlIteratorException
Creates an XML iterator exception wrapping another exception.

A C D G I N O R S T V X
Copyright (c) 2003 Mark T. Hayes; All Rights Reserved