org.apache.fop.pdf
public class PDFNumsArray extends PDFObject
| Modifier and Type | Field and Description |
|---|---|
protected java.util.SortedMap |
map
Sorted Map holding the values of this array.
|
DATE_FORMAT, log| Constructor and Description |
|---|
PDFNumsArray(PDFObject parent)
Create a new, empty array object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(int key)
Gets an entry.
|
int |
length()
Returns the length of the array
|
protected int |
output(java.io.OutputStream stream)
Write the PDF represention of this object
|
void |
put(int key,
java.lang.Object obj)
Sets an entry.
|
encode, encodeBinaryToHexString, encodeString, encodeText, formatDateTime, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setDocument, setObjectNumber, setParent, toPDF, toPDFStringpublic PDFNumsArray(PDFObject parent)
parent - the object's parent if anypublic int length()
public void put(int key,
java.lang.Object obj)
key - the key of the value to setobj - the new valuepublic java.lang.Object get(int key)
key - the key of requested valueprotected int output(java.io.OutputStream stream)
throws java.io.IOException
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.