Class NamedDestination
- java.lang.Object
-
- org.apache.fop.render.intermediate.extensions.NamedDestination
-
public class NamedDestination extends java.lang.ObjectThis class is a named destination element for use in the intermediate format.
-
-
Constructor Summary
Constructors Constructor Description NamedDestination(java.lang.String name, AbstractAction action)Creates a new named destination.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractActiongetAction()Returns the action performed when the destination is selected.java.lang.StringgetName()Returns the destination's name.voidsetAction(AbstractAction action)Sets the action performed when the destination is selected.
-
-
-
Constructor Detail
-
NamedDestination
public NamedDestination(java.lang.String name, AbstractAction action)Creates a new named destination.- Parameters:
name- the destination's nameaction- the action performed when the destination is selected
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the destination's name.- Returns:
- the name
-
getAction
public AbstractAction getAction()
Returns the action performed when the destination is selected.- Returns:
- the action
-
setAction
public void setAction(AbstractAction action)
Sets the action performed when the destination is selected.- Parameters:
action- the action
-
-