org.icepdf.core.pobjects.actions
Class URIAction

java.lang.Object
  extended by org.icepdf.core.pobjects.Dictionary
      extended by org.icepdf.core.pobjects.actions.Action
          extended by org.icepdf.core.pobjects.actions.URIAction

public class URIAction
extends Action

The uniform resource identifier (URI) action represents destination that is a hypertext link

The URI can be extracted from this object so that the content can be loaded in a web browser. ICEpdf does not currently support image map URI's.

Since:
2.6
Author:
ICEsoft Technologies, Inc.

Field Summary
static Name URI_KEY
           
 
Fields inherited from class org.icepdf.core.pobjects.actions.Action
ACTION_TYPE, ACTION_TYPE_GOTO, ACTION_TYPE_GOTO_REMOTE, ACTION_TYPE_KEY, ACTION_TYPE_LAUNCH, ACTION_TYPE_URI, NEXT_KEY
 
Fields inherited from class org.icepdf.core.pobjects.Dictionary
entries, FORM_TYPE_KEY, inited, isDeleted, isNew, LENGTH_KEY, library, SUBTYPE_KEY, TYPE_KEY
 
Constructor Summary
URIAction(Library l, java.util.HashMap h)
          Creates a new instance of a Action.
 
Method Summary
 java.lang.String getURI()
          Gets the Uniform resource identifier to resolve, encoded in 7-bit ASCII.
 boolean isMap()
          Gets a flag specifying whether to track thee mouse poisition when the URI is resolved.
 void setURI(java.lang.String URI)
          Sets the URI string associated witht this action.
 
Methods inherited from class org.icepdf.core.pobjects.actions.Action
buildAction, getType, similar
 
Methods inherited from class org.icepdf.core.pobjects.Dictionary
getEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, init, isDeleted, isNew, setDeleted, setNew, setPObjectReference, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

URI_KEY

public static final Name URI_KEY
Constructor Detail

URIAction

public URIAction(Library l,
                 java.util.HashMap h)
Creates a new instance of a Action.

Parameters:
l - document library.
h - Action dictionary entries.
Method Detail

setURI

public void setURI(java.lang.String URI)
Sets the URI string associated witht this action.

Parameters:
URI - an string value except null.

getURI

public java.lang.String getURI()
Gets the Uniform resource identifier to resolve, encoded in 7-bit ASCII.

Returns:
uniform resouce.

isMap

public boolean isMap()
Gets a flag specifying whether to track thee mouse poisition when the URI is resolved. Default value is false.

Returns:
true if tmouse poiiin is to be called.