Module org.tquadrat.foundation.xml
Package org.tquadrat.foundation.xml.parse
package org.tquadrat.foundation.xml.parse
Tools and helper classes for XML parsing.
-
ClassDescriptionThis class is an abstract base implementation for a XMLReader.This class implements the interface
ContentHandler
as a base class for more advanced versions of theDefaultHandler class
or for stand-alone use.This class serves a container for the name, the data and the attributes of an XML element.The functional interface describing a method that processes an XML element.An attribute.The attribute types.This implementation for a XML Error handler will write the error messages toSystem.err
.This implementation for a XML Error handler swallows the error messages.StAXParser<T>Parses an XML stream to an object of typeT
; that object is either provided with the constructorStAXParser(Object)
or will be created by an instance ofXMLParseEventHandler
.
To start the parsing process, callStAXParserBase.parse(XMLEventReader)
on the instance ofStAXParser
.The interface for an implementation of a parse event handler to be used with StAX parsing of XML files.
This is a functional interface whose functional method isprocess(XMLEventReader, XMLEvent, Object, HandlerProvider)
.