public class FollowLink extends Object
| Modifier and Type | Field and Description |
|---|---|
Map<String,String> |
attributes
Атрибуты
|
URL |
from
откуда ссылка - базовая ссылка
|
String |
href
атрибут href
|
boolean |
isChildPath
Ссылка (путь) является дочерней по отношению к базовой
|
URL |
link
ссылка - целевая ссылка
|
boolean |
linkStartAsFrom
Целевая ссылка начинается также как базовая
|
boolean |
sameHost
Ссылка на этот же хост
|
boolean |
samePort
Ссылка на этот же порт
|
String |
text
текст ссылки
|
| Constructor and Description |
|---|
FollowLink(URL from,
URL link,
String href) |
FollowLink(URL from,
URL link,
String href,
String text) |
FollowLink(URL from,
URL link,
String text,
String href,
Map<String,String> attrs) |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
isChildPath(URL parent,
URL child) |
protected static boolean |
isSiblingPath(URL parent,
URL child) |
public final URL from
public final URL link
public final String href
public final String text
public final boolean linkStartAsFrom
public final boolean sameHost
public final boolean samePort
public final boolean isChildPath
Copyright © 2017. All rights reserved.