|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object yarfraw.generated.atom03.elements.LinkType
public class LinkType
Java class for linkType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="linkType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="rel" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="alternate"/> <enumeration value="start"/> <enumeration value="next"/> <enumeration value="prev"/> <enumeration value="service.edit"/> <enumeration value="service.post"/> <enumeration value="service.feed"/> </restriction> </simpleType> </attribute> <attribute name="type" use="required" type="{http://purl.org/atom/ns#}mediaType" /> <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected String |
href
|
protected String |
rel
|
protected String |
title
|
protected String |
type
|
Constructor Summary | |
---|---|
LinkType()
|
Method Summary | |
---|---|
String |
getHref()
Gets the value of the href property. |
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class. |
String |
getRel()
Gets the value of the rel property. |
String |
getTitle()
Gets the value of the title property. |
String |
getType()
Gets the value of the type property. |
void |
setHref(String value)
Sets the value of the href property. |
void |
setRel(String value)
Sets the value of the rel property. |
void |
setTitle(String value)
Sets the value of the title property. |
void |
setType(String value)
Sets the value of the type property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String rel
protected String type
protected String href
protected String title
Constructor Detail |
---|
public LinkType()
Method Detail |
---|
public String getRel()
String
public void setRel(String value)
value
- allowed object is
String
public String getType()
String
public void setType(String value)
value
- allowed object is
String
public String getHref()
String
public void setHref(String value)
value
- allowed object is
String
public String getTitle()
String
public void setTitle(String value)
value
- allowed object is
String
public 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 |