|
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.documents.contents.entities.Entity
org.pdfclown.documents.contents.entities.Barcode
org.pdfclown.documents.contents.entities.EAN13Barcode
public final class EAN13Barcode
EAN-13 Bar Code object [GS1:7.1:5.1.1.3.1].
The EAN-13 Bar Code Symbol shall be made up as follows, reading from left to right:
The rightmost symbol character shall encode the Check Digit.
Field Summary |
---|
Fields inherited from class org.pdfclown.documents.contents.entities.Barcode |
---|
code |
Constructor Summary | |
---|---|
EAN13Barcode(String code)
|
Method Summary | |
---|---|
ContentObject |
toInlineObject(PrimitiveComposer composer)
Converts this entity to its equivalent inline (dependent) object representation [PDF:1.6:4.8.6]. |
XObject |
toXObject(Document context)
Converts this entity to its equivalent external (independent) object representation [PDF:1.6:4.7]. |
Methods inherited from class org.pdfclown.documents.contents.entities.Barcode |
---|
getCode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EAN13Barcode(String code)
Method Detail |
---|
public ContentObject toInlineObject(PrimitiveComposer composer)
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
toInlineObject
in class Entity
composer
- Target content composer.
public 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
PrimitiveComposer
object).
toXObject
in interface IContentEntity
toXObject
in class Entity
context
- Target document.
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |