fop 0.90alpha1

org.apache.fop.area
Class LinkResolver

java.lang.Object
  |
  +--org.apache.fop.area.LinkResolver
All Implemented Interfaces:
Resolvable, java.io.Serializable

public class LinkResolver
extends java.lang.Object
implements Resolvable, java.io.Serializable

Link resolving for resolving internal links.

See Also:
Serialized Form

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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkResolver

public LinkResolver(java.lang.String id,
                    Area a)
Create a new link resolver.
Parameters:
id - the id to resolve
a - the area that will have the link attribute
Method Detail

isResolved

public boolean isResolved()
Description copied from interface: Resolvable
Check if this area has been resolved.
Specified by:
isResolved in interface Resolvable
Returns:
true if this link is resolved

getIDRefs

public java.lang.String[] getIDRefs()
Get the references for this link.
Specified by:
getIDRefs in interface Resolvable
Returns:
the String array of references.

resolveIDRef

public void resolveIDRef(java.lang.String id,
                         java.util.List pages)
Resolve by adding an internal link.
Specified by:
resolveIDRef in interface Resolvable
See Also:
Resolvable.resolveIDRef(String, List)

fop 0.90alpha1

Copyright 1999-2005 The Apache Software Foundation. All Rights Reserved.