expat-enumerator-0.1: Enumerator-based API for ExpatSource codeContentsIndex
Text.XML.Expat.Enumerator
Portabilityportable
Maintainerjmillikin@gmail.com
Description
Synopsis
data Encoding
= ASCII
| UTF8
| UTF16
| ISO88591
data ParseError = ParseError {
parseErrorMessage :: Text
parseErrorLocation :: XMLParseLocation
}
parseBytesIO :: MonadIO m => Maybe Encoding -> Enumeratee ByteString Event m b
parseTextIO :: MonadIO m => Enumeratee Text Event m b
Documentation
data Encoding Source
Encoding types available for the document encoding.
Constructors
ASCII
UTF8
UTF16
ISO88591
data ParseError Source
A replacement for XMLParseError, defined so it can be given a non-orphan Exception instance.
Constructors
ParseError
parseErrorMessage :: Text
parseErrorLocation :: XMLParseLocation
show/hide Instances
parseBytesIOSource
:: MonadIO m
=> Maybe EncodingIf present, will override Expat's encoding detection.
-> Enumeratee ByteString Event m b
parseTextIO :: MonadIO m => Enumeratee Text Event m bSource
Produced by Haddock version 2.6.1