|
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 PdfObject
public boolean equals(Object object)
equals
in class Object
public final PdfObject getParent()
PdfObject
getParent
in class PdfObject
PdfObject.getContainer()
public TValue getRawValue()
public Object getValue()
public int hashCode()
hashCode
in class Object
public final boolean isUpdated()
PdfObject
isUpdated
in class PdfObject
public final boolean isUpdateable()
PdfObject
isUpdateable
in class PdfObject
public final void setUpdateable(boolean value)
setUpdateable
in class PdfObject
PdfObject.isUpdateable()
public PdfSimpleObject<TValue> swap(PdfObject other)
PdfObject
swap
in class PdfObject
other
- Object whose contents have to be swapped with this one's.
public String toString()
toString
in class Object
protected boolean isVirtual()
PdfObject
isVirtual
in class PdfObject
protected void setRawValue(TValue value)
getRawValue()
protected final void setUpdated(boolean value)
setUpdated
in class PdfObject
PdfObject.isUpdated()
protected void setValue(Object value)
getValue()
protected void setVirtual(boolean value)
setVirtual
in class PdfObject
PdfObject.isVirtual()
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |