|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.fop.area.IDTracker
Used by the AreaTreeHandler to keep track of ID reference usage on a PageViewport level.
| Constructor Summary | |
IDTracker()
|
|
| Method Summary | |
void |
addUnresolvedIDRef(java.lang.String idref,
Resolvable res)
Add an Resolvable object with an unresolved idref |
boolean |
alreadyResolvedID(java.lang.String id)
Check if an ID has already been resolved |
void |
associateIDWithPageViewport(java.lang.String id,
PageViewport pv)
Tie a PageViewport with an ID found on a child area of the PV. |
java.util.List |
getPageViewportsContainingID(java.lang.String id)
Get the list of page viewports that have an area with a given id. |
void |
signalIDProcessed(java.lang.String id)
Signals that all areas for the formatting object with the given ID have been generated. |
void |
signalPendingID(java.lang.String id)
This method tie an ID to the areaTreeHandler until this one is ready to be processed. |
void |
tryIDResolution(PageViewport pv)
Tries to resolve all unresolved ID references on the given page. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IDTracker()
| Method Detail |
public void associateIDWithPageViewport(java.lang.String id,
PageViewport pv)
id - the property ID of the areapv - a page viewport that contains the area with this IDpublic void signalPendingID(java.lang.String id)
id - the id of the object being processedpublic void signalIDProcessed(java.lang.String id)
id - the id of the formatting object which was just finishedpublic boolean alreadyResolvedID(java.lang.String id)
id - the id to check
public void tryIDResolution(PageViewport pv)
pv - page viewport whose ID refs to resolvepublic java.util.List getPageViewportsContainingID(java.lang.String id)
id - the id to lookup
public void addUnresolvedIDRef(java.lang.String idref,
Resolvable res)
idref - the idref whose target id has not yet been locatedres - the Resolvable object needing the idref to be resolved
|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||