org.apache.fop.pdf
Class PDFArray
- PDFWritable
Class representing an array object.
protected List | values - List holding the values of this array
|
PDFArray() - Create a new, empty array object
|
PDFArray(Collection values) - Create the array object
|
PDFArray(Object[] values) - Create the array object
|
PDFArray(int[] values) - Create the array object
|
void | add(Object obj) - Adds a new value to the array.
|
Object | get(int index) - Gets an entry at a given location.
|
int | length() - Returns the length of the array
|
void | set(int index, Object obj) - Sets an entry at a given location.
|
String | toPDFString()
|
encode , encodeString , encodeText , formatDateTime , formatObject , getDocument , getDocumentSafely , getGeneration , getObjectID , getObjectNumber , hasObjectNumber , makeReference , output , referencePDF , setDocument , setObjectNumber , toInlinePDFString , toPDF , toPDFString |
values
protected List values
List holding the values of this array
PDFArray
public PDFArray()
Create a new, empty array object
PDFArray
public PDFArray(Collection values)
Create the array object
values
- the actual values wrapped by this object
PDFArray
public PDFArray(Object[] values)
Create the array object
values
- the actual array wrapped by this object
PDFArray
public PDFArray(int[] values)
Create the array object
values
- the actual array wrapped by this object
add
public void add(Object obj)
Adds a new value to the array.
get
public Object get(int index)
Gets an entry at a given location.
index
- the index of the value to set
length
public int length()
Returns the length of the array
set
public void set(int index,
Object obj)
Sets an entry at a given location.
index
- the index of the value to setobj
- the new value
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.