Class PDURIDictionary
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.interactive.action.PDURIDictionary
-
- All Implemented Interfaces:
COSObjectable
public class PDURIDictionary extends java.lang.Object implements COSObjectable
This is the implementation of an URI dictionary.
-
-
Field Summary
Fields Modifier and Type Field Description private COSDictionary
uriDictionary
-
Constructor Summary
Constructors Constructor Description PDURIDictionary()
Constructor.PDURIDictionary(COSDictionary dictionary)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBase()
This will get the base URI to be used in resolving relative URI references.COSDictionary
getCOSObject()
Returns the corresponding dictionary.void
setBase(java.lang.String base)
This will set the base URI to be used in resolving relative URI references.
-
-
-
Field Detail
-
uriDictionary
private final COSDictionary uriDictionary
-
-
Constructor Detail
-
PDURIDictionary
public PDURIDictionary()
Constructor.
-
PDURIDictionary
public PDURIDictionary(COSDictionary dictionary)
Constructor.- Parameters:
dictionary
- the corresponding dictionary
-
-
Method Detail
-
getCOSObject
public COSDictionary getCOSObject()
Returns the corresponding dictionary.- Specified by:
getCOSObject
in interfaceCOSObjectable
- Returns:
- the dictionary
-
getBase
public java.lang.String getBase()
This will get the base URI to be used in resolving relative URI references. URI actions within the document may specify URIs in partial form, to be interpreted relative to this base address. If no base URI is specified, such partial URIs will be interpreted relative to the location of the document itself. The use of this entry is parallel to that of the body element <BASE>, as described in the HTML 4.01 Specification.- Returns:
- The URI entry of the specific URI dictionary.
-
setBase
public void setBase(java.lang.String base)
This will set the base URI to be used in resolving relative URI references. URI actions within the document may specify URIs in partial form, to be interpreted relative to this base address. If no base URI is specified, such partial URIs will be interpreted relative to the location of the document itself. The use of this entry is parallel to that of the body element <BASE>, as described in the HTML 4.01 Specification.- Parameters:
base
- The base URI to be used.
-
-