Class Link
Schema
atomLink = element atom:link { atomCommonAttributes, attribute href { atomUri }, attribute rel { atomNCName | atomUri }?, attribute type { atomMediaType }?, attribute hreflang { atomLanguageTag }?, attribute title { text }?, attribute length { text }?, undefinedContent }
See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetHref()
Bean property getter:href .Bean property getter:hreflang .Bean property getter:length .getRel()
Bean property getter:rel .getTitle()
Bean property getter:title .getType()
Bean property getter:type .Bean property setter:term .Bean property setter:href .setHreflang
(String value) Bean property setter:hreflang .Bean property setter:lang .Bean property setter:length .Bean property setter:rel .Bean property setter:title .Bean property setter:type .
-
Constructor Details
-
Link
Normal constructor.- Parameters:
rel
- The rel of the link.type
- The type of the link.href
- The URI of the link.
-
Link
public Link()Bean constructor.
-
-
Method Details
-
getHref
Bean property getter:href .The href of the target of this link.
- Returns:
- The property value, or
null if it is not set.
-
setHref
Bean property setter:href .The href of the target of this link.
- Parameters:
value
- The new value for this property.
Can benull to unset the property.- Returns:
- This object
-
getRel
Bean property getter:rel .The rel of this link.
- Returns:
- The property value, or
null if it is not set.
-
setRel
Bean property setter:rel .The rel of this link.
- Parameters:
value
- The new value for this property.
Can benull to unset the property.- Returns:
- This object
-
getType
Bean property getter:type .The content type of the target of this link.
- Returns:
- The property value, or
null if it is not set.
-
setType
Bean property setter:type .The content type of the target of this link.
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
-
getHreflang
Bean property getter:hreflang .The language of the target of this link.
- Returns:
- The property value, or
null if it is not set.
-
setHreflang
Bean property setter:hreflang .The language of the target of this link.
- Parameters:
value
- The new value for this property.
Can benull to unset the property.- Returns:
- This object
-
getTitle
Bean property getter:title .The title of the target of this link.
- Returns:
- The property value, or
null if it is not set.
-
setTitle
Bean property setter:title .The title of the target of this link.
- Parameters:
value
- The new value for this property.
Can benull to unset the property.- Returns:
- This object
-
getLength
Bean property getter:length .The length of the contents of the target of this link.
- Returns:
- The property value, or
null if it is not set.
-
setLength
Bean property setter:length .The length of the contents of the target of this link.
- 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.
-