|
||||||||||
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(java.lang.String label,
Reference scheme,
java.lang.String term)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getLabel()
Returns the label. |
Reference |
getScheme()
Returns the scheme. |
java.lang.String |
getTerm()
Returns the term. |
void |
setLabel(java.lang.String label)
Sets the label. |
void |
setScheme(Reference scheme)
Sets the scheme. |
void |
setTerm(java.lang.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(java.lang.String label, Reference scheme, java.lang.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 java.lang.String getLabel()
public Reference getScheme()
public java.lang.String getTerm()
public void setLabel(java.lang.String label)
label
- The label.public void setScheme(Reference scheme)
scheme
- The scheme.public void setTerm(java.lang.String term)
term
- The term.public void writeElement(XmlWriter writer) throws org.xml.sax.SAXException
writer
- The SAX writer.
org.xml.sax.SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |