|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.pdf.PDFObject
org.apache.fop.pdf.PDFNumsArray
public class PDFNumsArray
Class representing an "Nums" array object (for Number Trees).
Field Summary | |
---|---|
protected java.util.SortedMap |
map
Sorted Map holding the values of this array. |
Fields inherited from class org.apache.fop.pdf.PDFObject |
---|
DATE_FORMAT, log |
Constructor Summary | |
---|---|
PDFNumsArray(PDFObject parent)
Create a new, empty array object. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.fop.pdf.PDFObject |
---|
encode, encodeBinaryToHexString, encodeString, encodeText, formatDateTime, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setDocument, setObjectNumber, setParent, toPDF, toPDFString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.SortedMap map
Constructor Detail |
---|
public PDFNumsArray(PDFObject parent)
parent
- the object's parent if anyMethod Detail |
---|
public 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 value
protected int output(java.io.OutputStream stream) throws java.io.IOException
output
in class PDFObject
stream
- the stream to write the PDF to
java.io.IOException
- if there is an error writing to the stream
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |