Index

A C E G I O P S T X 
All Classes and Interfaces|All Packages|Serialized Form

A

addCharacterDataListener(String, Consumer<String>) - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.CallbackContentHandler
Add a listener for elements with string content.
addElementListener(String, Consumer<TreeElement>) - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.CallbackContentHandler
Adds a start element listener for elements with a given name.
addElementListener(String, Consumer<TreeElement>, Consumer<TreeElement>) - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.CallbackContentHandler
Adds start and end element listener for elements with a given name.
addIntDataListener(String, IntConsumer) - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.CallbackContentHandler
Add a listener for elements with integer content.
addSubTreeHandler(String, Supplier<TreeContentHandler>) - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.CallbackContentHandler
Adds a TreeContentHandler that will process the elements in the sub tree.
Attribute - Class in org.itsallcode.openfasttrace.importer.xmlparser.event
A simplified wrapper for SAX Attributes.

C

CallbackContentHandler - Class in org.itsallcode.openfasttrace.importer.xmlparser.tree
A convenient TreeContentHandler that allows registering listeners for specific elements.
CallbackContentHandler() - Constructor for class org.itsallcode.openfasttrace.importer.xmlparser.tree.CallbackContentHandler
characters(String) - Method in interface org.itsallcode.openfasttrace.importer.xmlparser.EventContentHandler
Called when character data content is found.
characters(String) - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.TreeBuildingContentHandler
 
ContentHandlerAdapterController - Interface in org.itsallcode.openfasttrace.importer.xmlparser
A controller that allows finishing the parsing.
create(String, String, String, Location) - Static method in class org.itsallcode.openfasttrace.importer.xmlparser.event.EndElementEvent
Creates a new end element event.
create(String, String, String, Attributes, Location) - Static method in class org.itsallcode.openfasttrace.importer.xmlparser.event.StartElementEvent
Creates a new start element event.
createParser() - Method in class org.itsallcode.openfasttrace.importer.xmlparser.XmlParserFactory
Create a new XmlParser.

E

endElement(EndElementEvent) - Method in interface org.itsallcode.openfasttrace.importer.xmlparser.EventContentHandler
Called when an XML element ends.
endElement(EndElementEvent) - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.TreeBuildingContentHandler
 
endElement(TreeElement) - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.CallbackContentHandler
 
endElement(TreeElement) - Method in interface org.itsallcode.openfasttrace.importer.xmlparser.tree.TreeContentHandler
Called when a XML element is closed.
EndElementEvent - Class in org.itsallcode.openfasttrace.importer.xmlparser.event
A model for a SAX end element event.
EventContentHandler - Interface in org.itsallcode.openfasttrace.importer.xmlparser
An event handler for XML parsing events.

G

getAttributeValueByName(String) - Method in class org.itsallcode.openfasttrace.importer.xmlparser.event.StartElementEvent
The value of the attribute with the given name.
getAttributeValueByName(String) - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.TreeElement
Get an Attribute by it's name.
getCharacterData() - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.TreeElement
Get the character data content of the element.
getCurrentElement() - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.TreeBuildingContentHandler
 
getCurrentElement() - Method in interface org.itsallcode.openfasttrace.importer.xmlparser.tree.TreeParsingController
Get the currently parsed element node.
getElement() - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.TreeElement
getLocation() - Method in class org.itsallcode.openfasttrace.importer.xmlparser.event.EndElementEvent
Get the Location of the element.
getLocation() - Method in class org.itsallcode.openfasttrace.importer.xmlparser.event.StartElementEvent
Get the Location of the element.
getLocation() - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.TreeElement
Get the Location of the start element.
getName() - Method in class org.itsallcode.openfasttrace.importer.xmlparser.event.EndElementEvent
Get the QName of the element.
getName() - Method in class org.itsallcode.openfasttrace.importer.xmlparser.event.StartElementEvent
Get the QName of the element.
getQname() - Method in class org.itsallcode.openfasttrace.importer.xmlparser.event.Attribute
Get the qualified name of this attribute.
getValue() - Method in class org.itsallcode.openfasttrace.importer.xmlparser.event.Attribute
Get the attribute value.

I

init(ContentHandlerAdapterController) - Method in interface org.itsallcode.openfasttrace.importer.xmlparser.EventContentHandler
Called before parsing begins.
init(ContentHandlerAdapterController) - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.TreeBuildingContentHandler
 
init(TreeParsingController) - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.CallbackContentHandler
 
init(TreeParsingController) - Method in interface org.itsallcode.openfasttrace.importer.xmlparser.tree.TreeContentHandler
Called before the parsing is started.
invokeEndElementListeners() - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.TreeElement
Invokes the registered end element listeners.
isRootElement() - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.TreeElement
Check if this is the root element.

O

org.itsallcode.openfasttrace.importer.xmlparser - module org.itsallcode.openfasttrace.importer.xmlparser
This provides a simple XML parser based on element handlers.
org.itsallcode.openfasttrace.importer.xmlparser - package org.itsallcode.openfasttrace.importer.xmlparser
 
org.itsallcode.openfasttrace.importer.xmlparser.event - package org.itsallcode.openfasttrace.importer.xmlparser.event
 
org.itsallcode.openfasttrace.importer.xmlparser.tree - package org.itsallcode.openfasttrace.importer.xmlparser.tree
 

P

parse(String, Reader, TreeContentHandler) - Method in class org.itsallcode.openfasttrace.importer.xmlparser.XmlParser
Parse the content from the given Reader, invoking the callback methods of the given TreeContentHandler.
parsingFinished() - Method in interface org.itsallcode.openfasttrace.importer.xmlparser.ContentHandlerAdapterController
Tell the controller that this handler is finished with parsing the XML sub tree.
pushDelegate(TreeContentHandler) - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.CallbackContentHandler
Pushes the given TreeContentHandler as a delegate.

S

setDefaultStartElementListener(Consumer<TreeElement>) - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.CallbackContentHandler
Sets the default start element listener that is called when no other listener matches.
setDelegate(TreeContentHandler) - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.TreeBuildingContentHandler
 
setDelegate(TreeContentHandler) - Method in interface org.itsallcode.openfasttrace.importer.xmlparser.tree.TreeParsingController
Set a new handler delegate.
startElement(StartElementEvent) - Method in interface org.itsallcode.openfasttrace.importer.xmlparser.EventContentHandler
Called when an XML element starts.
startElement(StartElementEvent) - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.TreeBuildingContentHandler
 
startElement(TreeElement) - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.CallbackContentHandler
 
startElement(TreeElement) - Method in interface org.itsallcode.openfasttrace.importer.xmlparser.tree.TreeContentHandler
Called when a new XML element starts.
StartElementEvent - Class in org.itsallcode.openfasttrace.importer.xmlparser.event
A model for a SAX start element event.
stopParsing() - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.CallbackContentHandler
Stop parsing, e.g.
stopParsing() - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.TreeBuildingContentHandler
 
stopParsing() - Method in interface org.itsallcode.openfasttrace.importer.xmlparser.tree.TreeParsingController
Tell the controller to stop parsing, e.g.

T

toString() - Method in class org.itsallcode.openfasttrace.importer.xmlparser.event.Attribute
 
toString() - Method in class org.itsallcode.openfasttrace.importer.xmlparser.event.EndElementEvent
 
toString() - Method in class org.itsallcode.openfasttrace.importer.xmlparser.event.StartElementEvent
 
toString() - Method in class org.itsallcode.openfasttrace.importer.xmlparser.tree.TreeElement
 
TreeBuildingContentHandler - Class in org.itsallcode.openfasttrace.importer.xmlparser.tree
A EventContentHandler that builds an XML element tree.
TreeBuildingContentHandler(TreeContentHandler) - Constructor for class org.itsallcode.openfasttrace.importer.xmlparser.tree.TreeBuildingContentHandler
Create a new instance of a TreeBuildingContentHandler.
TreeContentHandler - Interface in org.itsallcode.openfasttrace.importer.xmlparser.tree
A callback interface for handling XML parsing events.
TreeElement - Class in org.itsallcode.openfasttrace.importer.xmlparser.tree
An element node in a parsed XML tree.
TreeParsingController - Interface in org.itsallcode.openfasttrace.importer.xmlparser.tree
This interface allows TreeContentHandlers to control the parsing process, e.g.

X

XmlParser - Class in org.itsallcode.openfasttrace.importer.xmlparser
This XML parser reads input from a Reader and invokes a TreeContentHandler for the read XML events.
XmlParserException - Exception in org.itsallcode.openfasttrace.importer.xmlparser
The XML parser throws this exception when there is an error while parsing XML.
XmlParserException(String) - Constructor for exception org.itsallcode.openfasttrace.importer.xmlparser.XmlParserException
Creates a new XmlParserException.
XmlParserException(String, Throwable) - Constructor for exception org.itsallcode.openfasttrace.importer.xmlparser.XmlParserException
Creates a new XmlParserException.
XmlParserFactory - Class in org.itsallcode.openfasttrace.importer.xmlparser
This factory creates new XmlParsers.
XmlParserFactory() - Constructor for class org.itsallcode.openfasttrace.importer.xmlparser.XmlParserFactory
Create a new instance of a XmlParserFactory.
A C E G I O P S T X 
All Classes and Interfaces|All Packages|Serialized Form