Copyright | (c) Felix Gabriel Mance |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | f.mance@jacobs-university.de |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
Conversion from Manchester Syntax to XML Syntax
- showIRI :: IRI -> String
- nullQN :: QName
- nullElem :: Element
- makeQN :: String -> QName
- setContent :: [Element] -> Element -> Element
- setText :: String -> Element -> Element
- setQNPrefix :: String -> QName -> QName
- setName :: String -> Element -> Element
- setIRI :: IRI -> Element -> Element
- mwIRI :: IRI -> Element
- mwNameIRI :: String -> IRI -> Element
- mwString :: String -> Element
- makeElementWith1 :: String -> Element -> Element
- makeElement :: String -> [Element] -> Element
- mwText :: String -> Element
- mwSimpleIRI :: IRI -> Element
- make1 :: Bool -> String -> String -> (String -> IRI -> Element) -> IRI -> [([Element], Element)] -> [Element]
- make2 :: Bool -> String -> (a -> Element) -> a -> [([Element], Element)] -> [Element]
- setInt :: Int -> Element -> Element
- correctFacet :: ConstrainingFacet -> ConstrainingFacet
- setDt :: Bool -> IRI -> Element -> Element
- setLangTag :: Maybe LanguageTag -> Element -> Element
- xmlEntity :: Entity -> Element
- xmlLiteral :: Literal -> Element
- xmlIndividual :: IRI -> Element
- xmlFVPair :: (ConstrainingFacet, RestrictionValue) -> Element
- xmlObjProp :: ObjectPropertyExpression -> Element
- xmlDataRange :: DataRange -> Element
- xmlClassExpression :: ClassExpression -> Element
- xmlAnnotation :: Annotation -> Element
- xmlSubject :: IRI -> Element
- xmlAnnotations :: Annotations -> [Element]
- xmlAL :: (a -> Element) -> AnnotatedList a -> [([Element], Element)]
- xmlLFB :: Extended -> Maybe Relation -> ListFrameBit -> [Element]
- xmlAssertion :: IRI -> Annotations -> [Element]
- xmlAFB :: Extended -> Annotations -> AnnFrameBit -> [Element]
- xmlFrameBit :: Extended -> FrameBit -> [Element]
- xmlAxioms :: Axiom -> [Element]
- xmlFrames :: Frame -> [Element]
- mkElemeDecl :: Sign -> String -> (Sign -> Set IRI) -> [Element]
- signToDec :: Sign -> [Element]
- xmlImport :: ImportIRI -> Element
- setPref :: String -> Element -> Element
- set1Map :: (String, String) -> Element
- xmlPrefixes :: PrefixMap -> [Element]
- setOntIRI :: OntologyIRI -> Element -> Element
- setBase :: String -> Element -> Element
- setXMLNS :: Element -> Element
- xmlOntologyDoc :: Sign -> OntologyDocument -> Element
- mkODoc :: Sign -> [Named Axiom] -> String
Documentation
setContent :: [Element] -> Element -> Element
sets the content of an element to a list of given elements
setQNPrefix :: String -> QName -> QName
setName :: String -> Element -> Element
sets the name of an element to a given string and the namespace to http://www.w3.org/2002/07/owl#
setIRI :: IRI -> Element -> Element
sets the attribute key to one of IRI, abbreviatedIRI or nodeID and the attribute value to the actual content of the IRI
mwNameIRI :: String -> IRI -> Element
makes an element with the string as name and the IRI as content
makeElementWith1 :: String -> Element -> Element
makes a new element with the string as name and an element as content
makeElement :: String -> [Element] -> Element
makes a new element with the string as name and the list of elements as content
mwSimpleIRI :: IRI -> Element
makes a new element with the IRI as the text content
make1 :: Bool -> String -> String -> (String -> IRI -> Element) -> IRI -> [([Element], Element)] -> [Element]
generates a list of elements, all with the first string as name, and each with the content in this order: first, the list of elements in the given pair (usually annotations) and second, the result of the application of the function (given as fourth argument) on the second string and the given IRI
correctFacet :: ConstrainingFacet -> ConstrainingFacet
the reverse of properFacet
in OWL2.XML
setLangTag :: Maybe LanguageTag -> Element -> Element
xmlLiteral :: Literal -> Element
xmlIndividual :: IRI -> Element
xmlDataRange :: DataRange -> Element
xmlAnnotation :: Annotation -> Element
xmlSubject :: IRI -> Element
xmlAnnotations :: Annotations -> [Element]
xmlAL :: (a -> Element) -> AnnotatedList a -> [([Element], Element)]
xmlAssertion :: IRI -> Annotations -> [Element]
xmlAFB :: Extended -> Annotations -> AnnFrameBit -> [Element]
xmlFrameBit :: Extended -> FrameBit -> [Element]
xmlPrefixes :: PrefixMap -> [Element]
setOntIRI :: OntologyIRI -> Element -> Element
xmlOntologyDoc :: Sign -> OntologyDocument -> Element