public interface IFeedElement
| Modifier and Type | Method and Description |
|---|---|
com.helger.xml.microdom.IMicroElement |
getAsElement(String sElementName)
Convert this news feed element to an MicroElement with the given element
name.
|
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.
|
boolean |
isValid()
Check if this element matches the specification.
|
void |
setLanguage(Locale aContentLocale)
Set the language for this element.
|
void |
setLanguage(String sContentLanguage)
Set the language for this element.
|
@Nullable String getLanguage()
null or the current languagevoid setLanguage(@Nullable Locale aContentLocale)
aContentLocale - The language to set. May be null.void setLanguage(@Nullable String sContentLanguage)
sContentLanguage - The language to set. May be null.@Nonnull com.helger.xml.microdom.IMicroElement getAsElement(String sElementName)
isValid() it
should be safe anyway to create an element.sElementName - The element name to use. May neither be null nor empty.IMicroElement and never null.boolean isValid()
true if the element is valid, and false
otherwise.Copyright © 2014–2017 Philip Helger. All rights reserved.