|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.area.LinkResolver
public class LinkResolver
Link resolving for resolving internal links.
Constructor Summary | |
---|---|
LinkResolver(java.lang.String id,
Area a)
Create a new link resolver. |
Method Summary | |
---|---|
java.lang.String[] |
getIDRefs()
Get the references for this link. |
boolean |
isResolved()
Check if this area has been resolved. |
void |
resolveIDRef(java.lang.String id,
java.util.List pages)
Resolve by adding an internal link to the first PageViewport in the list. |
void |
resolveIDRef(java.lang.String id,
PageViewport pv)
Resolve by adding an InternalLink trait to the area |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinkResolver(java.lang.String id, Area a)
id
- the id to resolvea
- the area that will have the link attributeMethod Detail |
---|
public boolean isResolved()
Resolvable
isResolved
in interface Resolvable
public java.lang.String[] getIDRefs()
getIDRefs
in interface Resolvable
public void resolveIDRef(java.lang.String id, java.util.List pages)
resolveIDRef
in interface Resolvable
id
- an ID matching one of the Resolvable object's
unresolved idref's.pages
- the list of PageViewports with the given IDpublic void resolveIDRef(java.lang.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 id
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |