|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.mylyn.wikitext.core.parser.Attributes
org.eclipse.mylyn.wikitext.core.parser.LinkAttributes
public class LinkAttributes
Attributes for links (hyperlinks)
Constructor Summary | |
---|---|
LinkAttributes()
|
Method Summary | |
---|---|
String |
getHref()
The target of the link. |
String |
getRel()
The 'rel' of a link, as defined by the HTML spec. |
String |
getTarget()
The target of a link, as defined by the HTML spec. |
void |
setHref(String href)
The target of the link. |
void |
setRel(String rel)
The 'rel' of a link, as defined by the HTML spec. |
void |
setTarget(String target)
The target of a link, as defined by the HTML spec. |
Methods inherited from class org.eclipse.mylyn.wikitext.core.parser.Attributes |
---|
appendCssClass, appendCssStyle, getCssClass, getCssStyle, getId, getLanguage, getTitle, setCssClass, setCssStyle, setId, setLanguage, setTitle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinkAttributes()
Method Detail |
---|
public void setTarget(String target)
target
- the target or null if there should be nonepublic String getTarget()
public String getRel()
HtmlDocumentBuilder.getLinkRel()
public void setRel(String rel)
rel
- the rel or null if there should be noneHtmlDocumentBuilder.setLinkRel(String)
public String getHref()
DocumentBuilder.SpanType.LINK
.
public void setHref(String href)
DocumentBuilder.SpanType.LINK
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |