Package org.attoparser
Main parser and handler artifacts: basic interfaces and implementations.
The best place to start learning about attoparser by reading this docs is having a look at the
IMarkupParser
and especially the IMarkupHandler
interfaces.
-
Interface Summary Interface Description IAttributeSequenceHandler Interface to be implemented by all handlers capable of receiving events about attribute sequences.ICDATASectionHandler Interface to be implemented by all handlers capable of receiving events about CDATA Sections.ICommentHandler Interface to be implemented by all handlers capable of receiving events about Comments.IDocTypeHandler Interface to be implemented by all handlers capable of receiving events about DOCTYPE clauses.IDocumentHandler Interface to be implemented by all handlers capable of receiving events about document start/end.IElementHandler Interface to be implemented by all handlers capable of receiving events about elements.IMarkupHandler Interface to be implemented by all Markup Handlers.IMarkupParser Interface to be implemented by all Markup Parsers.IProcessingInstructionHandler Interface to be implemented by all handlers capable of receiving events about Processing Instructions.ITextHandler Interface to be implemented by all handlers capable of receiving events about Text events.IXMLDeclarationHandler Interface to be implemented by all handlers capable of receiving events about XML Declarations. -
Class Summary Class Description AbstractChainedMarkupHandler Base abstract implementation ofIMarkupHandler
that implements all of its event handlers by delegating these events to anotherIMarkupHandler
object passed during construction.AbstractMarkupHandler Base abstract implementation ofIMarkupHandler
that implements all of its methods as no-ops.AttoParser Class meant to keep some constants related to the version of the AttoParser library being used, build date, etc.ClassLoaderUtils Utility class for obtaining a correct classloader on which to operate from a specific class.HtmlAutoCloseElement HtmlAutoOpenCDATAContentElement HtmlAutoOpenCloseElement HtmlAutoOpenElement HtmlBodyAutoCloseElement HtmlBodyBlockElement HtmlBodyElement HtmlCDATAContentElement HtmlElement HtmlElements HtmlElements.HtmlElementRepository HtmlElements.HtmlElementRepository.ElementComparator HtmlHeadCDATAContentElement HtmlHeadElement HtmlMarkupHandler HtmlNames HtmlVoidAutoCloseElement HtmlVoidAutoOpenCloseElement HtmlVoidAutoOpenElement HtmlVoidBodyBlockElement HtmlVoidBodyElement HtmlVoidElement HtmlVoidHeadElement MarkupEventProcessorHandler MarkupEventProcessorHandler.StandardNamesRepository MarkupEventProcessorHandler.StructureNamesRepository MarkupParser Default implementation of theIMarkupParser
interface.MarkupParser.BufferPool ParseStatus Class used for reporting the status of current parsing operations to handlers.ParsingAttributeSequenceUtil Class containing utility methods for parsing attribute sequences, like those in open/standalone elements.ParsingCDATASectionMarkupUtil Class containing utility methods for parsing CDATA sections.ParsingCommentMarkupUtil Class containing utility methods for parsing comments.ParsingDocTypeMarkupUtil Class containing utility methods for parsing DOCTYPE clauses.ParsingElementMarkupUtil Class containing utility methods for parsing elements (tags).ParsingLocatorUtil ParsingMarkupUtil ParsingProcessingInstructionUtil Class containing utility methods for parsing processing instructions.ParsingXmlDeclarationMarkupUtil Class containing utility methods for parsing XML Declarations.ParsingXmlDeclarationMarkupUtil.XmlDeclarationAttributeProcessor -
Exception Summary Exception Description ParseException General exception for parsing errors, thrown primarily by event handlers.