|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectyarfraw.generated.atom10.elements.CategoryType
public class CategoryType
The Atom cagegory construct is defined in section 4.2.2 of the format spec.
Java class for categoryType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="categoryType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attGroup ref="{http://www.w3.org/2005/Atom}commonAttributes"/>
<attribute name="term" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="scheme" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected String |
base
|
protected String |
label
|
protected String |
lang
|
protected String |
scheme
|
protected String |
term
|
| Constructor Summary | |
|---|---|
CategoryType()
|
|
| Method Summary | |
|---|---|
String |
getBase()
Gets the value of the base property. |
String |
getLabel()
Gets the value of the label property. |
String |
getLang()
Gets the value of the lang property. |
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class. |
String |
getScheme()
Gets the value of the scheme property. |
String |
getTerm()
Gets the value of the term property. |
void |
setBase(String value)
Sets the value of the base property. |
void |
setLabel(String value)
Sets the value of the label property. |
void |
setLang(String value)
Sets the value of the lang property. |
void |
setScheme(String value)
Sets the value of the scheme property. |
void |
setTerm(String value)
Sets the value of the term property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String term
protected String scheme
protected String label
protected String base
protected String lang
| Constructor Detail |
|---|
public CategoryType()
| Method Detail |
|---|
public String getTerm()
Stringpublic void setTerm(String value)
value - allowed object is
Stringpublic String getScheme()
Stringpublic void setScheme(String value)
value - allowed object is
Stringpublic String getLabel()
Stringpublic void setLabel(String value)
value - allowed object is
Stringpublic String getBase()
Stringpublic void setBase(String value)
value - allowed object is
Stringpublic String getLang()
Stringpublic void setLang(String value)
value - allowed object is
Stringpublic Map<QName,String> getOtherAttributes()
the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||