com.icesoft.pdf.pobjects.actions
Class URIAction

java.lang.Object
  extended bycom.icesoft.pdf.pobjects.Dictionary
      extended bycom.icesoft.pdf.pobjects.actions.Action
          extended bycom.icesoft.pdf.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
 
Fields inherited from class com.icesoft.pdf.pobjects.actions.Action
ACTION_TYPE_GOTO, ACTION_TYPE_GOTO_REMOTE, ACTION_TYPE_LAUNCH, ACTION_TYPE_URI
 
Fields inherited from class com.icesoft.pdf.pobjects.Dictionary
entries, inited, library
 
Constructor Summary
URIAction(Library l, Hashtable h)
          Creates a new instance of a Action.
 
Method Summary
 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.
 
Methods inherited from class com.icesoft.pdf.pobjects.actions.Action
getType
 
Methods inherited from class com.icesoft.pdf.pobjects.Dictionary
getEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, init, setPObjectReference, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

URIAction

public URIAction(Library l,
                 Hashtable h)
Creates a new instance of a Action.

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

getURI

public 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.