public class FeedPerson extends AbstractFeedElement
| Constructor and Description |
|---|
FeedPerson(String sName) |
| 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 |
getEmail()
The "atom:email" element's content conveys an e-mail address associated
with the person.
|
String |
getName()
The "atom:name" element's content conveys a human-readable name for the
person.
|
String |
getURI()
The "atom:uri" element's content conveys an IRI associated with the person.
|
boolean |
isValid()
Check if this element matches the specification.
|
void |
setEmail(String sEmail) |
void |
setName(String sName) |
void |
setURI(String sURI) |
getLanguage, setLanguage, setLanguage@Nullable public String getName()
@Nullable public String getURI()
@Nullable public String getEmail()
public 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 boolean isValid()
IFeedElementtrue if the element is valid, and false
otherwise.Copyright © 2014–2017 Philip Helger. All rights reserved.