public class FeedOutOfLineContent extends AbstractFeedElement implements IFeedContent
| Constructor and Description |
|---|
FeedOutOfLineContent(String sType,
String sSrc) |
| 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 |
getSrc() |
String |
getType() |
boolean |
isValid()
Check if this element matches the specification.
|
getLanguage, setLanguage, setLanguageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLanguage, setLanguage, setLanguage@Nonnull @Nonempty public String getType()
getType in interface IFeedContentpublic com.helger.xml.microdom.IMicroElement getAsElement(String sElementName)
IFeedElementIFeedElement.isValid() it
should be safe anyway to create an element.getAsElement in interface IFeedElementsElementName - The element name to use. May neither be null nor empty.IMicroElement and never null.public boolean isValid()
IFeedElementisValid in interface IFeedElementtrue if the element is valid, and false
otherwise.Copyright © 2014–2017 Philip Helger. All rights reserved.