|
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.objects.PdfObject
org.pdfclown.objects.PdfDataObject
org.pdfclown.objects.PdfDirectObject
org.pdfclown.objects.PdfSimpleObject<TValue>
public abstract class PdfSimpleObject<TValue>
Abstract PDF simple object.
| Constructor Summary | |
|---|---|
PdfSimpleObject()
|
|
| Method Summary | |
|---|---|
PdfSimpleObject<TValue> |
clone(File context)
Creates a deep copy of this object within the specified file context. |
boolean |
equals(Object object)
|
static PdfSimpleObject<?> |
get(Object value)
Gets the object equivalent to the given value. |
PdfObject |
getParent()
Gets the parent of this object. |
TValue |
getRawValue()
Gets the low-level representation of the value. |
Object |
getValue()
Gets the high-level representation of the value. |
static Object |
getValue(PdfObject object)
Gets the value corresponding to the given object. |
static Object |
getValue(PdfObject object,
Object defaultValue)
Gets the value corresponding to the given object. |
int |
hashCode()
|
boolean |
isUpdateable()
Gets whether the detection of object state changes is enabled. |
boolean |
isUpdated()
Gets whether the initial state of this object has been modified. |
protected boolean |
isVirtual()
Gets whether this object acts like a null-object placeholder. |
protected void |
setRawValue(TValue value)
|
void |
setUpdateable(boolean value)
|
protected void |
setUpdated(boolean value)
|
protected void |
setValue(Object value)
|
protected void |
setVirtual(boolean value)
|
PdfSimpleObject<TValue> |
swap(PdfObject other)
Swaps contents between this object and the other one. |
String |
toString()
|
| Methods inherited from class org.pdfclown.objects.PdfDirectObject |
|---|
compareTo |
| Methods inherited from class org.pdfclown.objects.PdfObject |
|---|
clone, clone, getContainer, getDataContainer, getFile, getIndirectObject, getReference, resolve, resolve, unresolve, unresolve, update, writeTo |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.pdfclown.objects.IVisitable |
|---|
accept |
| Constructor Detail |
|---|
public PdfSimpleObject()
| Method Detail |
|---|
public static PdfSimpleObject<?> get(Object value)
public static Object getValue(PdfObject object)
object - Object to extract the value from.
public static Object getValue(PdfObject object,
Object defaultValue)
object - Object to extract the value from.defaultValue - Value returned in case the object's one is undefined.public final PdfSimpleObject<TValue> clone(File context)
PdfObject
clone in class PdfObjectpublic boolean equals(Object object)
equals in class Objectpublic final PdfObject getParent()
PdfObject
getParent in class PdfObjectPdfObject.getContainer()public TValue getRawValue()
public Object getValue()
public int hashCode()
hashCode in class Objectpublic final boolean isUpdated()
PdfObject
isUpdated in class PdfObjectpublic final boolean isUpdateable()
PdfObject
isUpdateable in class PdfObjectpublic final void setUpdateable(boolean value)
setUpdateable in class PdfObjectPdfObject.isUpdateable()public PdfSimpleObject<TValue> swap(PdfObject other)
PdfObject
swap in class PdfObjectother - Object whose contents have to be swapped with this one's.
public String toString()
toString in class Objectprotected boolean isVirtual()
PdfObject
isVirtual in class PdfObjectprotected void setRawValue(TValue value)
getRawValue()protected final void setUpdated(boolean value)
setUpdated in class PdfObjectPdfObject.isUpdated()protected void setValue(Object value)
getValue()protected void setVirtual(boolean value)
setVirtual in class PdfObjectPdfObject.isVirtual()
|
PDF Clown 0.1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||