| Classes in this File | Line Coverage | Branch Coverage | Complexity | |||||||
| IconType |
|
| 0.0;0 |
| 1 | // |
|
| 2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs |
|
| 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
|
| 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
|
| 5 | // Generated on: 2008.06.11 at 12:15:37 AM EDT |
|
| 6 | // |
|
| 7 | ||
| 8 | ||
| 9 | package yarfraw.generated.atom10.elements; |
|
| 10 | ||
| 11 | import java.util.HashMap; |
|
| 12 | import java.util.Map; |
|
| 13 | import javax.xml.bind.annotation.XmlAccessType; |
|
| 14 | import javax.xml.bind.annotation.XmlAccessorType; |
|
| 15 | import javax.xml.bind.annotation.XmlAnyAttribute; |
|
| 16 | import javax.xml.bind.annotation.XmlAttribute; |
|
| 17 | import javax.xml.bind.annotation.XmlSchemaType; |
|
| 18 | import javax.xml.bind.annotation.XmlType; |
|
| 19 | import javax.xml.bind.annotation.XmlValue; |
|
| 20 | import javax.xml.namespace.QName; |
|
| 21 | ||
| 22 | ||
| 23 | /** |
|
| 24 | * |
|
| 25 | * |
|
| 26 | * The Atom icon construct is defined in section 4.2.5 of the format spec. |
|
| 27 | * |
|
| 28 | * |
|
| 29 | * <p>Java class for iconType complex type. |
|
| 30 | * |
|
| 31 | * <p>The following schema fragment specifies the expected content contained within this class. |
|
| 32 | * |
|
| 33 | * <pre> |
|
| 34 | * <complexType name="iconType"> |
|
| 35 | * <simpleContent> |
|
| 36 | * <extension base="<http://www.w3.org/2001/XMLSchema>anyURI"> |
|
| 37 | * <attGroup ref="{http://www.w3.org/2005/Atom}commonAttributes"/> |
|
| 38 | * </extension> |
|
| 39 | * </simpleContent> |
|
| 40 | * </complexType> |
|
| 41 | * </pre> |
|
| 42 | * |
|
| 43 | * |
|
| 44 | */ |
|
| 45 | @XmlAccessorType(XmlAccessType.FIELD) |
|
| 46 | @XmlType(name = "iconType", propOrder = { |
|
| 47 | "value" |
|
| 48 | }) |
|
| 49 | 9 | public class IconType { |
| 50 | ||
| 51 | @XmlValue |
|
| 52 | @XmlSchemaType(name = "anyURI") |
|
| 53 | protected String value; |
|
| 54 | @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") |
|
| 55 | @XmlSchemaType(name = "anyURI") |
|
| 56 | protected String base; |
|
| 57 | @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") |
|
| 58 | protected String lang; |
|
| 59 | 9 | @XmlAnyAttribute |
| 60 | private Map<QName, String> otherAttributes = new HashMap<QName, String>(); |
|
| 61 | ||
| 62 | /** |
|
| 63 | * Gets the value of the value property. |
|
| 64 | * |
|
| 65 | * @return |
|
| 66 | * possible object is |
|
| 67 | * {@link String } |
|
| 68 | * |
|
| 69 | */ |
|
| 70 | public String getValue() { |
|
| 71 | 6 | return value; |
| 72 | } |
|
| 73 | ||
| 74 | /** |
|
| 75 | * Sets the value of the value property. |
|
| 76 | * |
|
| 77 | * @param value |
|
| 78 | * allowed object is |
|
| 79 | * {@link String } |
|
| 80 | * |
|
| 81 | */ |
|
| 82 | public void setValue(String value) { |
|
| 83 | 3 | this.value = value; |
| 84 | 3 | } |
| 85 | ||
| 86 | /** |
|
| 87 | * Gets the value of the base property. |
|
| 88 | * |
|
| 89 | * @return |
|
| 90 | * possible object is |
|
| 91 | * {@link String } |
|
| 92 | * |
|
| 93 | */ |
|
| 94 | public String getBase() { |
|
| 95 | 6 | return base; |
| 96 | } |
|
| 97 | ||
| 98 | /** |
|
| 99 | * Sets the value of the base property. |
|
| 100 | * |
|
| 101 | * @param value |
|
| 102 | * allowed object is |
|
| 103 | * {@link String } |
|
| 104 | * |
|
| 105 | */ |
|
| 106 | public void setBase(String value) { |
|
| 107 | 3 | this.base = value; |
| 108 | 3 | } |
| 109 | ||
| 110 | /** |
|
| 111 | * Gets the value of the lang property. |
|
| 112 | * |
|
| 113 | * @return |
|
| 114 | * possible object is |
|
| 115 | * {@link String } |
|
| 116 | * |
|
| 117 | */ |
|
| 118 | public String getLang() { |
|
| 119 | 6 | return lang; |
| 120 | } |
|
| 121 | ||
| 122 | /** |
|
| 123 | * Sets the value of the lang property. |
|
| 124 | * |
|
| 125 | * @param value |
|
| 126 | * allowed object is |
|
| 127 | * {@link String } |
|
| 128 | * |
|
| 129 | */ |
|
| 130 | public void setLang(String value) { |
|
| 131 | 3 | this.lang = value; |
| 132 | 3 | } |
| 133 | ||
| 134 | /** |
|
| 135 | * Gets a map that contains attributes that aren't bound to any typed property on this class. |
|
| 136 | * |
|
| 137 | * <p> |
|
| 138 | * the map is keyed by the name of the attribute and |
|
| 139 | * the value is the string value of the attribute. |
|
| 140 | * |
|
| 141 | * the map returned by this method is live, and you can add new attribute |
|
| 142 | * by updating the map directly. Because of this design, there's no setter. |
|
| 143 | * |
|
| 144 | * |
|
| 145 | * @return |
|
| 146 | * always non-null |
|
| 147 | */ |
|
| 148 | public Map<QName, String> getOtherAttributes() { |
|
| 149 | 15 | return otherAttributes; |
| 150 | } |
|
| 151 | ||
| 152 | } |