public class FeedGenerator extends AbstractFeedElement implements com.helger.commons.name.IHasDescription
| Constructor and Description |
|---|
FeedGenerator() |
FeedGenerator(String sURI) |
| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.microdom.IMicroElement |
getAsElement(String sElementName)
Convert this news feed element to an MicroElement with the given element
name.
|
String |
getDescription() |
String |
getURI()
The atom:generator element MAY have a "uri" attribute whose value MUST be
an IRI reference [RFC3987].
|
String |
getVersion()
The atom:generator element MAY have a "version" attribute that indicates
the version of the generating agent.
|
boolean |
isValid()
Check if this element matches the specification.
|
void |
setDescription(String sDescription) |
void |
setURI(String sURI) |
void |
setVersion(String sVersion) |
getLanguage, setLanguage, setLanguage@Nullable public String getURI()
@Nullable public String getVersion()
@Nullable public String getDescription()
getDescription in interface com.helger.commons.name.IHasDescription@Nonnull public com.helger.commons.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–2015 Philip Helger. All rights reserved.