public abstract class AbstractFeedText extends AbstractFeedElement
| Modifier and Type | Field and Description |
|---|---|
static EFeedTextType |
DEFAULT_TYPE |
| Constructor and Description |
|---|
AbstractFeedText(EFeedTextType eType,
String sText) |
| 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 |
getText() |
String |
getType() |
boolean |
isValid()
Check if this element matches the specification.
|
getLanguage, setLanguage, setLanguagepublic static final EFeedTextType DEFAULT_TYPE
public AbstractFeedText(@Nullable EFeedTextType eType, @Nullable String sText)
public final com.helger.xml.microdom.IMicroElement getAsElement(String sElementName)
IFeedElementIFeedElement.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.public final boolean isValid()
IFeedElementtrue if the element is valid, and false
otherwise.Copyright © 2014–2017 Philip Helger. All rights reserved.