PDF4Java Reference Documentation
com.o2sol.pdf4java.core.cos Package / PDFCosArray Class
Fields Methods Collapse All Expand All Members Options: Show All Members Options: Filtered
Include Inherited Members
Include Protected Members
In This Topic

PDFCosArray Class Members
In This Topic

The following tables list the members exposed by PDFCosArray.

Public Constructors

| Name | Description
--- | --- | ---
| PDFCosArray Constructor | Overloaded.

Top
Protected Fields

| Name | Description
--- | --- | ---
| EndObjLength | (Inherited from com.o2sol.pdf4java.core.cos.PDFCosObject)
| EndObjTag | (Inherited from com.o2sol.pdf4java.core.cos.PDFCosObject)
| EndStreamLength | (Inherited from com.o2sol.pdf4java.core.cos.PDFCosObject)
| EndStreamTag | (Inherited from com.o2sol.pdf4java.core.cos.PDFCosObject)
| objectType | (Inherited from com.o2sol.pdf4java.core.cos.PDFCosObject)
| StartObjLength | (Inherited from com.o2sol.pdf4java.core.cos.PDFCosObject)
| StartObjTag | (Inherited from com.o2sol.pdf4java.core.cos.PDFCosObject)
| StreamLength | (Inherited from com.o2sol.pdf4java.core.cos.PDFCosObject)
| StreamTag | (Inherited from com.o2sol.pdf4java.core.cos.PDFCosObject)

Top
Public Methods

| Name | Description
--- | --- | ---
| add | Adds an object to the end of the array.
| addRange | Adds the elements of the specified array to the end of this array.
| clear | Removes all elements from the array.
| clearObject | This method supports the internal library infrastructure and should not be used by external client code.
| forceModifiedReset | This method supports the internal library infrastructure and should not be used by external client code.
| get | Gets the element at the specified index.
| getAsBoolean | Gets the element at the specified index as a booleanean.
| getAsCosArray | Gets the element at the specified index as a COS array.
| getAsCosContainer | Gets the element at the specified index as a COS dictionary container.
| getAsCosDictionary | Gets the element at the specified index as a COS dictionary.
| getAsCosIndirectReference | Gets the element at the specified index as a COS indirect reference.
| getAsCosName | Gets the element at the specified index as a COS name.
| getAsCosNumber | Gets the element at the specified index as a COS number.
| getAsCosStream | Gets the element at the specified index as a CO stream.
| getAsCosString | Gets the element at the specified index as a COS string.
| getAsInt | This method supports the internal library infrastructure and should not be used by external client code.
| getAsNumber | Gets the element at the specified index as a double.
| getAsString | Gets the element at the specified index as a string.
| getModified | This method supports the internal library infrastructure and should not be used by external client code.
| getType | Gets the object type. (Inherited from com.o2sol.pdf4java.core.cos.PDFCosObject)
| indexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire array.
| insert | Inserts an element into the array at the specified index.
| isLoadRequired | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.cos.PDFCosObject)
| isLogicalMatch | This method supports the internal library infrastructure and should not be used by external client code.
| length | Gets the number of elements actually contained in the array.
| onValueChanged | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.cos.PDFCosObject)
| remove | Removes the first occurrence of a specific object from the array.
| removeAt | Removes the element at the specified index of the array.
| save | This method supports the internal library infrastructure and should not be used by external client code.
| set | Sets the element at the specified index.
| setIsLoadRequired | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.cos.PDFCosObject)
| setModified | This method supports the internal library infrastructure and should not be used by external client code.
| shallowClone | This method supports the internal library infrastructure and should not be used by external client code.
| toDoubleArray | This method supports the internal library infrastructure and should not be used by external client code.
| toIntArray | This method supports the internal library infrastructure and should not be used by external client code.
| toString | Returns a string that represents the current object.

Top
See Also

#### Reference

PDFCosArray Class
com.o2sol.pdf4java.core.cos Package

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.