public abstract class PDXObject extends PDObject
| Modifier and Type | Class and Description |
|---|---|
static class |
PDXObject.MetaClass
The meta class implementation
|
| Modifier and Type | Field and Description |
|---|---|
static COSName |
CN_Type_XObject |
static COSName |
DK_Resources |
static PDXObject.MetaClass |
META
The meta class instance
|
DK_Subtype, DK_Type| Modifier and Type | Method and Description |
|---|---|
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
|
cosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, getGenericChildren, getGenericParent, setGenericParent, toStringchanged, 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, setFieldStringpublic static final PDXObject.MetaClass META
public static final COSName DK_Resources
public static final COSName CN_Type_XObject
public COSDictionary cosGetDict()
COSBasedObjectCOSDictionary.
This will throw a ClassCastException if the base type is not
appropriate!
cosGetDict in class COSBasedObjectCOSDictionary.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 XObjectCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.