yarfraw.generated.atom10.elements
Class CategoryType

java.lang.Object
  extended by yarfraw.generated.atom10.elements.CategoryType

public class CategoryType
extends Object

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

term

protected String term

scheme

protected String scheme

label

protected String label

base

protected String base

lang

protected String lang
Constructor Detail

CategoryType

public CategoryType()
Method Detail

getTerm

public String getTerm()
Gets the value of the term property.

Returns:
possible object is String

setTerm

public void setTerm(String value)
Sets the value of the term property.

Parameters:
value - allowed object is String

getScheme

public String getScheme()
Gets the value of the scheme property.

Returns:
possible object is String

setScheme

public void setScheme(String value)
Sets the value of the scheme property.

Parameters:
value - allowed object is String

getLabel

public String getLabel()
Gets the value of the label property.

Returns:
possible object is String

setLabel

public void setLabel(String value)
Sets the value of the label property.

Parameters:
value - allowed object is String

getBase

public String getBase()
Gets the value of the base property.

Returns:
possible object is String

setBase

public void setBase(String value)
Sets the value of the base property.

Parameters:
value - allowed object is String

getLang

public String getLang()
Gets the value of the lang property.

Returns:
possible object is String

setLang

public void setLang(String value)
Sets the value of the lang property.

Parameters:
value - allowed object is String

getOtherAttributes

public Map<QName,String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

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.

Returns:
always non-null


Copyright © 2008. All Rights Reserved.