Safe Haskell | None |
---|---|
Language | Haskell2010 |
Text.XML.DublinCore.Conduit.Parse
Description
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 :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text)
- elementCoverage :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text)
- elementCreator :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text)
- elementDate :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe UTCTime)
- elementDescription :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text)
- elementFormat :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text)
- elementIdentifier :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text)
- elementLanguage :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text)
- elementPublisher :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text)
- elementRelation :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text)
- elementRights :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text)
- elementSource :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text)
- elementSubject :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text)
- elementTitle :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text)
- elementType :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text)
- newtype ParsingException = InvalidTime Text
Elements
elementContributor :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:contributor>
element.
elementCoverage :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:coverage>
element.
elementCreator :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:creator>
element.
elementDate :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe UTCTime) Source #
Parse a <dc:date>
element.
Throws InvalidTime
in case date is malformatted.
elementDescription :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:description>
element.
elementFormat :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:format>
element.
elementIdentifier :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:identifier>
element.
elementLanguage :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:language>
element.
elementPublisher :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:publisher>
element.
elementRelation :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:relation>
element.
elementRights :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:rights>
element.
elementSource :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:source>
element.
elementSubject :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:subject>
element.
elementTitle :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:title>
element.
elementType :: forall (m :: Type -> Type) o. MonadThrow m => ConduitM Event o m (Maybe Text) Source #
Parse a <dc:type>
element.
Misc
newtype ParsingException Source #
Constructors
InvalidTime Text |