yarfraw.generated.atom10.elements
Class GeneratorType

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

public class GeneratorType
extends Object

The Atom generator element is defined in section 4.2.4 of the format spec.

Java class for generatorType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="generatorType">
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>string">
       <attGroup ref="{http://www.w3.org/2005/Atom}commonAttributes"/>
       <attribute name="uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </simpleContent>
 </complexType>
 


Field Summary
protected  String base
           
protected  String lang
           
protected  String uri
           
protected  String value
           
protected  String version
           
 
Constructor Summary
GeneratorType()
           
 
Method Summary
 String getBase()
          Gets the value of the base 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 getUri()
          Gets the value of the uri property.
 String getValue()
          Gets the value of the value property.
 String getVersion()
          Gets the value of the version property.
 void setBase(String value)
          Sets the value of the base property.
 void setLang(String value)
          Sets the value of the lang property.
 void setUri(String value)
          Sets the value of the uri property.
 void setValue(String value)
          Sets the value of the value property.
 void setVersion(String value)
          Sets the value of the version property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected String value

uri

protected String uri

version

protected String version

base

protected String base

lang

protected String lang
Constructor Detail

GeneratorType

public GeneratorType()
Method Detail

getValue

public String getValue()
Gets the value of the value property.

Returns:
possible object is String

setValue

public void setValue(String value)
Sets the value of the value property.

Parameters:
value - allowed object is String

getUri

public String getUri()
Gets the value of the uri property.

Returns:
possible object is String

setUri

public void setUri(String value)
Sets the value of the uri property.

Parameters:
value - allowed object is String

getVersion

public String getVersion()
Gets the value of the version property.

Returns:
possible object is String

setVersion

public void setVersion(String value)
Sets the value of the version 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.