public class FeedCategory extends AbstractFeedElement
| Constructor and Description |
|---|
FeedCategory(String sTerm) |
| 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 |
getLabel()
The "label" attribute provides a human-readable label for display in
end-user applications.
|
String |
getScheme()
The "scheme" attribute is an IRI that identifies a categorization scheme.
|
String |
getTerm()
The "term" attribute is a string that identifies the category to which the
entry or feed belongs.
|
boolean |
isValid()
Check if this element matches the specification.
|
void |
setLabel(String sLabel) |
void |
setScheme(String sScheme) |
void |
setTerm(String sTerm) |
getLanguage, setLanguage, setLanguage@Nullable public String getTerm()
@Nullable public String getScheme()
@Nullable public String getLabel()
public com.helger.commons.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–2015 Philip Helger. All rights reserved.