|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.pdf.cos.COSBasedObject
de.intarsys.pdf.pd.PDObject
de.intarsys.pdf.pd.PDXObject
public abstract class PDXObject
The representation of a XObject. A XObject defines a strokable object. The content is defined in the underlying content stream.
Nested Class Summary | |
---|---|
static class |
PDXObject.MetaClass
The meta class implementation |
Field Summary | |
---|---|
static COSName |
CN_Type_XObject
|
static COSName |
DK_Resources
|
static PDXObject.MetaClass |
META
The meta class instance |
Fields inherited from class de.intarsys.pdf.pd.PDObject |
---|
DK_Subtype, DK_Type |
Method Summary | |
---|---|
COSDictionary |
cosGetDict()
Get the base object as a COSDictionary . |
byte[] |
getBytes()
The data representing the XObject |
boolean |
isForm()
true if this is a form. |
boolean |
isImage()
true if this is an image. |
boolean |
isPostscript()
true if this is a postscript object. |
void |
setBytes(byte[] bytes)
Set the data representing the XObject |
Methods inherited from class de.intarsys.pdf.pd.PDObject |
---|
cosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, getGenericChildren, getGenericParent, setGenericParent, toString |
Methods inherited from class de.intarsys.pdf.cos.COSBasedObject |
---|
changed, cosGetArray, cosGetDoc, cosGetField, cosGetObject, cosGetStream, cosHasField, cosRemoveField, cosSetField, getAttribute, getFieldBoolean, getFieldDate, getFieldFixed, getFieldFixedArray, getFieldInt, getFieldMLString, getFieldString, invalidateCaches, removeAttribute, setAttribute, setFieldBoolean, setFieldFixed, setFieldInt, setFieldMLString, setFieldName, setFieldObject, setFieldString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final PDXObject.MetaClass META
public static final COSName DK_Resources
public static final COSName CN_Type_XObject
Method Detail |
---|
public COSDictionary cosGetDict()
COSBasedObject
COSDictionary
.
This will throw a ClassCastException
if the base type is not
appropriate!
cosGetDict
in class COSBasedObject
COSDictionary
.public byte[] getBytes()
public boolean isForm()
true
if this is a form.
true
if this is a form.public boolean isImage()
true
if this is an image.
true
if this is an image.public boolean isPostscript()
true
if this is a postscript object.
true
if this is a postscript object.public void setBytes(byte[] bytes)
bytes
- The data representing the XObject
|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |