org.apache.pdfbox.pdmodel.interactive.action.type
public class: PDURIDictionary [javadoc |
source]
java.lang.Object
org.apache.pdfbox.pdmodel.interactive.action.type.PDURIDictionary
All Implemented Interfaces:
COSObjectable
This is the implementation of an URI dictionary.
- version:
$
- Revision: 1.0 $
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from org.apache.pdfbox.pdmodel.interactive.action.type.PDURIDictionary Detail: |
public String getBase() {
return this.getDictionary().getString("Base");
}
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. |
public COSBase getCOSObject() {
return this.uriDictionary;
}
|
public COSDictionary getDictionary() {
return this.uriDictionary;
}
Returns the corresponding dictionary. |
public void setBase(String base) {
this.getDictionary().setString("Base", 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. |