|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.stefanochizzolini.clown.objects.PdfObjectWrapper<TDataObject>
it.stefanochizzolini.clown.objects.PdfNamedObjectWrapper<TDataObject>
public abstract class PdfNamedObjectWrapper<TDataObject extends PdfDataObject>
High-level representation of a strongly-typed PDF object that can be referenced also through a name. When such a name exists, the object is called 'named object', otherwise 'unnamed object'.
Some categories of objects in a PDF file can be also referred to by name rather than by object reference. The correspondence between names and objects is established by the document's name dictionary [PDF:1.6:3.6.3].
The name's purpose is to provide a further level of referential abstraction especially for references across diverse PDF documents.
Constructor Summary | |
---|---|
protected |
PdfNamedObjectWrapper(File context,
TDataObject baseDataObject)
|
protected |
PdfNamedObjectWrapper(PdfDirectObject baseObject,
PdfIndirectObject container,
PdfString name)
|
Method Summary | |
---|---|
PdfString |
getName()
Gets the object name. |
PdfDirectObject |
getNamedBaseObject()
Gets the object name, if available; otherwise, behaves like getBaseObject() . |
Methods inherited from class it.stefanochizzolini.clown.objects.PdfObjectWrapper |
---|
clone, delete, getBaseDataObject, getBaseObject, getContainer, getDocument, getFile, setBaseObject, setContainer, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected PdfNamedObjectWrapper(File context, TDataObject baseDataObject)
protected PdfNamedObjectWrapper(PdfDirectObject baseObject, PdfIndirectObject container, PdfString name)
baseObject
- Base PDF object. MUST be a PdfReference
everytime available.container
- Indirect object containing the base object.name
- Object name.Method Detail |
---|
public PdfString getName()
public PdfDirectObject getNamedBaseObject()
getBaseObject()
.
|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |