|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.stefanochizzolini.clown.documents.contents.entities.Entity
public abstract class Entity
Abstract specialized graphic object.
Constructor Summary | |
---|---|
Entity()
|
Method Summary | |
---|---|
abstract ContentObject |
toInlineObject(PrimitiveFilter context)
Converts the entity to its equivalent inline (dependent) object representation [PDF:1.6:4.8.6]. |
abstract XObject |
toXObject(Document context)
Converts the entity to its equivalent external (independent) object representation [PDF:1.6:4.7]. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Entity()
Method Detail |
---|
public abstract ContentObject toInlineObject(PrimitiveFilter context)
IContentEntity
This method creates and shows an inline object within the target content context, returning it.
Due to its direct-content nature (opposite to the indirect-content nature of
external objects (see IContentEntity.toXObject(Document)
)), the resulting object should be shown
only one time in order not to wastefully duplicate its data.
toInlineObject
in interface IContentEntity
context
- Target content context.
public abstract XObject toXObject(Document context)
IContentEntity
This method creates an external object within the target document, returning it. To show it
in a content context (for example: a page), then it must be applied in an appropriate manner (see
PrimitiveFilter
object).
toXObject
in interface IContentEntity
context
- Target document.
|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |