public class LinkResolver extends Object implements Resolvable, Serializable
| Constructor and Description |
|---|
LinkResolver() |
LinkResolver(String id,
Area a)
Create a new link resolver.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDependent(Resolvable dependent)
Add dependent resolvable.
|
String[] |
getIDRefs()
Get the references for this link.
|
boolean |
isResolved()
Check if this area has been resolved.
|
void |
resolveIDRef(String id,
List<PageViewport> pages)
Resolve by adding an internal link to the first PageViewport in the list.
|
void |
resolveIDRef(String id,
PageViewport pv)
Resolve by adding an InternalLink trait to the area
|
public boolean isResolved()
ResolvableisResolved in interface Resolvablepublic String[] getIDRefs()
getIDRefs in interface Resolvablepublic void resolveIDRef(String id, List<PageViewport> pages)
resolveIDRef in interface Resolvableid - an ID matching one of the Resolvable object's
unresolved idref's.pages - the list of PageViewports with the given IDpublic void resolveIDRef(String id, PageViewport pv)
id - the target id (should be equal to the object's idRef)pv - the PageViewport containing the first area with the given idpublic void addDependent(Resolvable dependent)
dependent - resolvableCopyright © 2025 Apache Software Foundation. All rights reserved.