Package org.apache.juneau.dto.atom
Class Generator
java.lang.Object
org.apache.juneau.dto.atom.Common
org.apache.juneau.dto.atom.Generator
Represents an atomGenerator construct in the RFC4287 specification.
Schema
atomGenerator = element atom:generator { atomCommonAttributes, attribute uri { atomUri }?, attribute version { text }?, text }
See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetText()
Bean property getter:text .getUri()
Bean property getter:uri .Bean property getter:version .Bean property setter:term .Bean property setter:lang .Bean property setter:text .Bean property setter:uri .setVersion
(String value) Bean property setter:version .
-
Constructor Details
-
Generator
Normal constructor.- Parameters:
text
- The generator statement content.
-
Generator
public Generator()Bean constructor.
-
-
Method Details
-
getUri
Bean property getter:uri .The URI of this generator statement.
- Returns:
- The property value, or
null if it is not set.
-
setUri
Bean property setter:uri .The URI of this generator statement.
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
-
getVersion
Bean property getter:version .The version of this generator statement.
- Returns:
- The property value, or
null if it is not set.
-
setVersion
Bean property setter:version .The version of this generator statement.
- 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 generator statement.
- Returns:
- The property value, or
null if it is not set.
-
setText
Bean property setter:text .The content of this generator statement.
- 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.
-