org.apache.fop.pdf
Class PDFNumsArray
- PDFWritable
public class PDFNumsArray
Class representing an "Nums" array object (for Number Trees).
protected SortedMap | map - Sorted Map holding the values of this array.
|
Object | get(int key) - Gets an entry.
|
int | length() - Returns the length of the array
|
protected int | output(OutputStream stream) -
|
void | put(int key, Object obj) - Sets an entry.
|
encode , encodeBinaryToHexString , encodeString , encodeText , formatDateTime , formatDateTime , formatObject , getDocument , getDocumentSafely , getGeneration , getObjectID , getObjectNumber , getParent , hasObjectNumber , makeReference , output , outputInline , referencePDF , setDocument , setObjectNumber , setParent , toPDF , toPDFString |
map
protected SortedMap map
Sorted Map holding the values of this array.
PDFNumsArray
public PDFNumsArray(PDFObject parent)
Create a new, empty array object.
parent
- the object's parent if any
get
public Object get(int key)
Gets an entry.
key
- the key of requested value
length
public int length()
Returns the length of the array
output
protected int output(OutputStream stream)
throws IOException
- output in interface PDFObject
put
public void put(int key,
Object obj)
Sets an entry.
key
- the key of the value to setobj
- the new value
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.