|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfclown.objects.PdfObjectWrapper<PdfDictionary>
org.pdfclown.documents.multimedia.Rendition
@PDF(value=PDF15) public abstract class Rendition
Rendition [PDF:1.7:9.1.2].
Nested Class Summary | |
---|---|
static class |
Rendition.Viability
Rendition viability [PDF:1.7:9.1.2]. |
Constructor Summary | |
---|---|
protected |
Rendition(Document context,
PdfName subtype)
|
protected |
Rendition(PdfDirectObject baseObject)
|
Method Summary | |
---|---|
PdfString |
getName()
Gets the object name. |
PdfDirectObject |
getNamedBaseObject()
Gets the object name, if available; otherwise, behaves like getBaseObject() . |
Rendition.Viability |
getPreferences()
Gets the preferred options the renderer should attempt to honor without affecting its viability [PDF:1.7:9.1.1]. |
Rendition.Viability |
getRequirements()
Gets the minimum requirements the renderer must honor in order to be considered viable [PDF:1.7:9.1.1]. |
protected PdfString |
retrieveName()
Retrieves the name possibly associated to this object, walking through the document's name dictionary. |
void |
setPreferences(Rendition.Viability value)
|
void |
setRequirements(Rendition.Viability value)
|
static Rendition |
wrap(PdfDirectObject baseObject)
Wraps a rendition base object into a rendition object. |
Methods inherited from class org.pdfclown.objects.PdfObjectWrapper |
---|
checkCompatibility, clone, delete, equals, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveNamedBaseObject, setBaseObject, setMetadata |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.pdfclown.objects.IPdfObjectWrapper |
---|
getBaseObject |
Constructor Detail |
---|
protected Rendition(Document context, PdfName subtype)
protected Rendition(PdfDirectObject baseObject)
Method Detail |
---|
public static Rendition wrap(PdfDirectObject baseObject)
baseObject
- Rendition base object.
public Rendition.Viability getPreferences()
public Rendition.Viability getRequirements()
public void setPreferences(Rendition.Viability value)
getPreferences()
public void setRequirements(Rendition.Viability value)
getRequirements()
public PdfString getName()
IPdfNamedObjectWrapper
As names are tipically loosely-coupled with their corresponding PDF objects, name retrieval implies a costly reverse lookup into the document's name tree.
getName
in interface IPdfNamedObjectWrapper
public PdfDirectObject getNamedBaseObject()
IPdfNamedObjectWrapper
getBaseObject()
.
getNamedBaseObject
in interface IPdfNamedObjectWrapper
protected PdfString retrieveName()
PdfObjectWrapper
retrieveName
in class PdfObjectWrapper<PdfDictionary>
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |