Contents
Index
Org.Org.Semantic.HBase.Encoding.RDF
Synopsis
type
URI
=
String
toURI
::
XMLName
->
URI
data
RDFResource
=
URIRDFResource
URI
|
LocalRDFResource
String
|
AnonRDFResource
Integer
toRDFResource
::
XMLName
->
RDFResource
class
Show ex =>
RDFLiteral
ex a | a -> ex
where
encodeRDFLiteral
::
forall
m .
Monad
m => (
XMLName
-> m (Maybe
String
)) ->
String
->
ExceptionMonad
m ex a
encodeRDFLiteralPlain
::
forall
m .
Monad
m =>
String
->
ExceptionMonad
m ex a
mimeTypeXMLName
::
XMLName
mimeEncodingXMLName
::
XMLName
data
MIMEInterpretationError
=
DecodeMIMEInterpretationError
InASCIIDecodeError
|
MissingEncodingMIMEInterpretationError
|
TypeStringMIMEInterpretationError
(
ParseException
Char
)
textPlainUTF8MIMEType
::
MIMEType
data
RDFItem
a
=
LiteralRDFItem
a
|
ResourceRDFItem
RDFResource
data
RDFAssertion
a =
MkRDFAssertion
{
aPredicate
::
URI
aSubject
::
RDFResource
aObject
:: (
RDFItem
a)
}
data
RDFParseError
ex
=
MultipleElementsInPropertyError
|
TextInResourceElementError
|
TextInRootElementError
|
ParseLiteralError
ex
|
RootElementNotRDFError
XMLName
getRDFAssertionsFromElement
:: (
Monad
m,
RDFLiteral
ex a) =>
XMLElement
->
ExceptionMonad
m (
RDFParseError
ex) [
RDFAssertion
a]
rdfInterpretEvents
:: (
Monad
m,
RDFLiteral
ex a) => [
XMLEvent
] ->
ExceptionMonad
m (Either
XMLEventsError
(
RDFParseError
ex)) [
RDFAssertion
a]
rdfInterpretDocument
:: (
Monad
m,
RDFLiteral
ex a) => m (Maybe
Char
) ->
ExceptionMonad
m (Either
XMLParserError
(Either
XMLEventsError
(
RDFParseError
ex))) [
RDFAssertion
a]
Produced by
Haddock
version 0.6