|
fop-pdf-images 2.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.fop.render.pdf.pdfbox.Interceptors
public class Interceptors
Handles interceptors (hooks) that can operate on PDF documents.
| Constructor Summary | |
|---|---|
Interceptors()
|
|
| Method Summary | |
|---|---|
static Interceptors |
getInstance()
|
org.apache.pdfbox.pdmodel.PDDocument |
interceptOnLoad(org.apache.pdfbox.pdmodel.PDDocument doc,
java.net.URI uri)
Intercepts the given PDF document on load. |
void |
setOnLoad(OnLoadInterceptor interceptor)
Set the on-load interceptor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Interceptors()
| Method Detail |
|---|
public static Interceptors getInstance()
public org.apache.pdfbox.pdmodel.PDDocument interceptOnLoad(org.apache.pdfbox.pdmodel.PDDocument doc,
java.net.URI uri)
throws java.io.IOException
doc - the PDF documenturi - the URI it has been loaded from (may be null)
java.io.IOException - if an I/O occursOnLoadInterceptor.intercept(PDDocument, URI)public void setOnLoad(OnLoadInterceptor interceptor)
interceptor - the interceptor instance
|
fop-pdf-images 2.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||