Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
XML streaming parsers for the Dublin Core Metadata Element Set.
This module is meant to be imported qualified, like this:
import qualified Text.XML.DublinCore.Conduit.Parse as DC
Synopsis
- elementContributor :: MonadThrow m => ConduitM Event o m (Maybe Text)
- elementCoverage :: MonadThrow m => ConduitM Event o m (Maybe Text)
- elementCreator :: MonadThrow m => ConduitM Event o m (Maybe Text)
- elementDate :: MonadThrow m => ConduitM Event o m (Maybe UTCTime)
- elementDescription :: MonadThrow m => ConduitM Event o m (Maybe Text)
- elementFormat :: MonadThrow m => ConduitM Event o m (Maybe Text)
- elementIdentifier :: MonadThrow m => ConduitM Event o m (Maybe Text)
- elementLanguage :: MonadThrow m => ConduitM Event o m (Maybe Text)
- elementPublisher :: MonadThrow m => ConduitM Event o m (Maybe Text)
- elementRelation :: MonadThrow m => ConduitM Event o m (Maybe Text)
- elementRights :: MonadThrow m => ConduitM Event o m (Maybe Text)
- elementSource :: MonadThrow m => ConduitM Event o m (Maybe Text)
- elementSubject :: MonadThrow m => ConduitM Event o m (Maybe Text)
- elementTitle :: MonadThrow m => ConduitM Event o m (Maybe Text)
- elementType :: MonadThrow m => ConduitM Event o m (Maybe Text)
- newtype ParsingException = InvalidTime Text
Elements
elementContributor :: MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:contributor>
element.
elementCoverage :: MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:coverage>
element.
elementCreator :: MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:creator>
element.
elementDate :: MonadThrow m => ConduitM Event o m (Maybe UTCTime) Source #
Parse a <dc:date>
element.
Throws InvalidTime
in case date is malformatted.
elementDescription :: MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:description>
element.
elementFormat :: MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:format>
element.
elementIdentifier :: MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:identifier>
element.
elementLanguage :: MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:language>
element.
elementPublisher :: MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:publisher>
element.
elementRelation :: MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:relation>
element.
elementRights :: MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:rights>
element.
elementSource :: MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:source>
element.
elementSubject :: MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:subject>
element.
elementTitle :: MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:title>
element.
elementType :: MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:type>
element.
Misc
newtype ParsingException Source #