public abstract class AbstractFeedElement extends Object implements IFeedElement
IFeedElement with a common language
handling.| Constructor and Description |
|---|
AbstractFeedElement() |
| Modifier and Type | Method and Description |
|---|---|
String |
getLanguage()
Any element defined by this specification MAY have an xml:lang attribute,
whose content indicates the natural language for the element and its
descendants.
|
void |
setLanguage(Locale aContentLocale)
Set the language for this element.
|
void |
setLanguage(String sContentLanguage)
Set the language for this element.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsElement, isValid@Nullable public final String getLanguage()
IFeedElementgetLanguage in interface IFeedElementnull or the current languagepublic final void setLanguage(@Nullable Locale aContentLocale)
IFeedElementsetLanguage in interface IFeedElementaContentLocale - The language to set. May be null.public final void setLanguage(@Nullable String sContentLanguage)
IFeedElementsetLanguage in interface IFeedElementsContentLanguage - The language to set. May be null.Copyright © 2014–2017 Philip Helger. All rights reserved.