Class Content
Schema
atomContent = atomInlineTextContent | atomInlineXHTMLContent | atomInlineOtherContent | atomOutOfLineContent atomInlineTextContent = element atom:content { atomCommonAttributes, attribute type { "text" | "html" }?, (text)* } atomInlineXHTMLContent = element atom:content { atomCommonAttributes, attribute type { "xhtml" }, xhtmlDiv } atomInlineOtherContent = element atom:content { atomCommonAttributes, attribute type { atomMediaType }?, (text|anyElement)* } atomOutOfLineContent = element atom:content { atomCommonAttributes, attribute type { atomMediaType }?, attribute src { atomUri }, empty }
See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetSrc()
Bean property getter:src .Bean property setter:term .Bean property setter:lang .Bean property setter:src .Bean property setter:text .Bean property setter:type .
-
Constructor Details
-
Content
Normal content.- Parameters:
type
- The content type of this content.
-
Content
public Content()Normal content.
-
-
Method Details
-
getSrc
Bean property getter:src .The source URI.
- Returns:
- The property value, or
null if it is not set.
-
setSrc
Bean property setter:src .The source URI.
The value can be of any of the following types:
URI
,URL
,String
. Strings must be valid URIs.- Parameters:
value
- The new value for this property.
Can benull to unset the property.- Returns:
- This object
-
setText
Description copied from class:Text
Bean property setter:text .The content of this content.
-
setType
Description copied from class:Text
Bean property setter:type .The content type of this content.
Must be one of the following:
"text" "html" "xhtml" null (defaults to"text" )
-
setBase
Description copied from class:Common
-
setLang
Description copied from class:Common
Bean property setter:lang .The language of this object.
-