public class LinkAttributes extends Attributes
Constructor and Description |
---|
LinkAttributes() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHref()
The target of the link.
|
java.lang.String |
getRel()
The 'rel' of a link, as defined by the HTML spec.
|
java.lang.String |
getTarget()
The target of a link, as defined by the HTML spec.
|
void |
setHref(java.lang.String href)
The target of the link.
|
void |
setRel(java.lang.String rel)
The 'rel' of a link, as defined by the HTML spec.
|
void |
setTarget(java.lang.String target)
The target of a link, as defined by the HTML spec.
|
appendCssClass, appendCssStyle, clone, getCssClass, getCssStyle, getId, getLanguage, getTitle, setCssClass, setCssStyle, setId, setLanguage, setTitle
public void setTarget(java.lang.String target)
target
- the target or null if there should be nonepublic java.lang.String getTarget()
public java.lang.String getRel()
HtmlDocumentBuilder.getLinkRel()
public void setRel(java.lang.String rel)
rel
- the rel or null if there should be noneHtmlDocumentBuilder.setLinkRel(String)
public java.lang.String getHref()
DocumentBuilder.SpanType.LINK
.public void setHref(java.lang.String href)
DocumentBuilder.SpanType.LINK
.Copyright © 2007, 2013 David Green and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html