|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.ext.atom.Category
public class Category
Conveys information about a category associated with an entry or feed.
| Constructor Summary | |
|---|---|
Category()
Constructor. |
|
Category(String label,
Reference scheme,
String term)
Constructor. |
|
| Method Summary | |
|---|---|
String |
getLabel()
Returns the label. |
Reference |
getScheme()
Returns the scheme. |
String |
getTerm()
Returns the term. |
void |
setLabel(String label)
Sets the label. |
void |
setScheme(Reference scheme)
Sets the scheme. |
void |
setTerm(String term)
Sets the term. |
void |
writeElement(XmlWriter writer)
Writes the current object as an XML element using the given SAX writer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Category()
public Category(String label,
Reference scheme,
String term)
label - The identifier term.scheme - The IRI that identifies a categorization scheme.term - The human-readable label for display in end-user applications.| Method Detail |
|---|
public String getLabel()
public Reference getScheme()
public String getTerm()
public void setLabel(String label)
label - The label.public void setScheme(Reference scheme)
scheme - The scheme.public void setTerm(String term)
term - The term.
public void writeElement(XmlWriter writer)
throws SAXException
writer - The SAX writer.
SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||