Class UriAction

  • All Implemented Interfaces:

    
    public final class UriAction
    extends Action
                        

    PDF Action representing a link to an external URI.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final String uri
    • Constructor Summary

      Constructors 
      Constructor Description
      UriAction(String uri) Creates an instance of URI action from provided URI.
      UriAction(String uri, List<Action> subActions) Creates an instance of URI action from provided URI.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getUri() Target URI.
      ActionType getType() Returns type of action to make down-casting easier.
      int hashCode()
      boolean equals(Object o)
      String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UriAction

        UriAction(String uri)
        Creates an instance of URI action from provided URI.
        Parameters:
        uri - Uri describing the action's target.
      • UriAction

        UriAction(String uri, List<Action> subActions)
        Creates an instance of URI action from provided URI.
        Parameters:
        uri - Uri describing the action's target.
        subActions - List of sub-actions of this action.