|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object yarfraw.generated.atom10.elements.LinkType
public class LinkType
The Atom link construct is defined in section 3.4 of the format spec.
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"> <attGroup ref="{http://www.w3.org/2005/Atom}commonAttributes"/> <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> <attribute name="rel" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="hreflang" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected String |
base
|
protected String |
content
|
protected String |
href
|
protected String |
hreflang
|
protected String |
lang
|
protected BigInteger |
length
|
protected String |
rel
|
protected String |
title
|
protected String |
type
|
Constructor Summary | |
---|---|
LinkType()
|
Method Summary | |
---|---|
String |
getBase()
Gets the value of the base property. |
String |
getContent()
The Atom link construct is defined in section 3.4 of the format spec. |
String |
getHref()
Gets the value of the href property. |
String |
getHreflang()
Gets the value of the hreflang property. |
String |
getLang()
Gets the value of the lang property. |
BigInteger |
getLength()
Gets the value of the length 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 |
setBase(String value)
Sets the value of the base property. |
void |
setContent(String value)
Sets the value of the content property. |
void |
setHref(String value)
Sets the value of the href property. |
void |
setHreflang(String value)
Sets the value of the hreflang property. |
void |
setLang(String value)
Sets the value of the lang property. |
void |
setLength(BigInteger value)
Sets the value of the length 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 content
protected String href
protected String rel
protected String type
protected String hreflang
protected String title
protected BigInteger length
protected String base
protected String lang
Constructor Detail |
---|
public LinkType()
Method Detail |
---|
public String getContent()
String
public void setContent(String value)
value
- allowed object is
String
public String getHref()
String
public void setHref(String value)
value
- allowed object is
String
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 getHreflang()
String
public void setHreflang(String value)
value
- allowed object is
String
public String getTitle()
String
public void setTitle(String value)
value
- allowed object is
String
public BigInteger getLength()
BigInteger
public void setLength(BigInteger value)
value
- allowed object is
BigInteger
public String getBase()
String
public void setBase(String value)
value
- allowed object is
String
public String getLang()
String
public void setLang(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 |