Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 1.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.fop.render.intermediate.extensions
Class AbstractAction

    java.lang.Object
      org.apache.fop.render.intermediate.extensions.AbstractAction

All Implemented Interfaces:
  org.apache.xmlgraphics.util.XMLizable

Direct Known Subclasses:
  GoToXYAction, URIAction

public abstract class AbstractAction
extends java.lang.Object
implements org.apache.xmlgraphics.util.XMLizable

Abstract base class for document actions, like "go-to" actions with absolute page coordinates.

Constructor Summary
`AbstractAction()`

Method Summary
`java.lang.String` | `getID()` Returns an optional ID for this action.
`java.lang.String` | `getIDPrefix()` Returns a string that is used to prefix a generated ID to make it unique.
`java.lang.String` | `getStructurePointer()` Returns the structure element corresponding to this action.
`boolean` | `hasID()` Indicates whether the action has an ID and is therefore referencable.
`boolean` | `isComplete()` Indicates whether the action is complete, i.e has all the required information to be rendered in the target format.
`abstract boolean` | `isSame(AbstractAction other)` Indicates whether two action are equal.
`void` | `setID(java.lang.String id)` Sets an ID to make the action referencable.
`void` | `setStructurePointer(java.lang.String structurePointer)` Sets the structure element corresponding to this action.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface org.apache.xmlgraphics.util.XMLizable
`toSAX`

Constructor Detail

### AbstractAction

    public AbstractAction()

Method Detail

### setID

    public void setID(java.lang.String id)

  Sets an ID to make the action referencable.

  Parameters:
    `id` - the ID

### getID

    public java.lang.String getID()

  Returns an optional ID for this action.

  Returns:
    the ID or null

### setStructurePointer

    public void setStructurePointer(java.lang.String structurePointer)

  Sets the structure element corresponding to this action.

  Parameters:
    `structurePointer` - a reference to the structure element

### getStructurePointer

    public java.lang.String getStructurePointer()

  Returns the structure element corresponding to this action.

  Returns:
    the reference to the structure element

### hasID

    public boolean hasID()

  Indicates whether the action has an ID and is therefore referencable.

  Returns:
    true if the action has an ID

### isSame

    public abstract boolean isSame(AbstractAction other)

  Indicates whether two action are equal. Note: this is not the same as `Object.equals(Object)`!

  Parameters:
    `other` - the other action to compare to
  Returns:
    true if the actions are equal

### isComplete

    public boolean isComplete()

  Indicates whether the action is complete, i.e has all the required information to be rendered in the target format.

  Returns:
    true if the action is complete

### getIDPrefix

    public java.lang.String getIDPrefix()

  Returns a string that is used to prefix a generated ID to make it unique.

  Returns:
    the prefix string

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 1.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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