classafAtom::Content
sys::Obj afAtom::Content
Contains, or links to, the content of an Atom Entry.
@see The atom:content Element
- makeFromBinary
- new makeFromBinary(InStream binaryContent, MimeType type)- The content is Base64 encoded. 
- makeFromSrc
- new makeFromSrc(Uri src, MimeType? type := null)- The given - srcrepresents the URI of where the content can be found.
- makeFromStr
- new makeFromStr(Str content, MimeType type)- Similar to text. If the given - typeends in- +xmlor- /xmlthen the XML is contained inline (like XHTML). If the given- typestarts with- textthe content is XML escaped (like HTML). Otherwise the content is Base64 encoded.
- makeFromText
- new makeFromText(Str content, TextType type := TextType.text)- The most common case, where the content is identical to a text construct. 
- toXml
- virtual XElem toXml()- Creates a - <content>element.
- xmlBase
- Uri? xmlBase- (Optional) Used to control how relative URIs are resolved. 
- xmlLang
- Str? xmlLang- (Optional) Used to identify the language of any human readable text.