Package org.apache.juneau.dto.atom
Class Text
java.lang.Object
org.apache.juneau.dto.atom.Common
org.apache.juneau.dto.atom.Text
- Direct Known Subclasses:
Content
Represents an atomTextConstruct construct in the RFC4287 specification.
Schema
atomTextConstruct = atomPlainTextConstruct | atomXHTMLTextConstruct atomPlainTextConstruct = atomCommonAttributes, attribute type { "text" | "html" }?, text atomXHTMLTextConstruct = atomCommonAttributes, attribute type { "xhtml" }, xhtmlDiv xhtmlDiv = element xhtml:div { (attribute * { text } | text | anyXHTML)* }
See Also:
-
Constructor Details
-
Text
Normal content.- Parameters:
type
- The content type of this content.
-
Text
public Text()Bean constructor.
-
-
Method Details
-
getType
Bean property getter:type .The content type of this content.
- Returns:
- The property value, or
null if it is not set.
-
setType
Bean property setter:type .The content type of this content.
Must be one of the following:
"text" "html" "xhtml" null (defaults to"text" )
- Parameters:
value
- The new value for this property.
Can benull to unset the property.- Returns:
- This object
-
getText
Bean property getter:text .The content of this content.
- Returns:
- The property value, or
null if it is not set.
-
setText
Bean property setter:text .The content of this content.
- Parameters:
value
- The new value for this property.
Can benull to unset the property.- Returns:
- This object
-
setBase
Description copied from class:Common
-
setLang
Description copied from class:Common
Bean property setter:lang .The language of this object.
-