Class CosContainer
- java.lang.Object
-
- com.adobe.internal.pdftoolkit.core.cos.CosObject
-
- com.adobe.internal.pdftoolkit.core.cos.CosContainer
-
- Direct Known Subclasses:
CosArray,CosDictionary
public abstract class CosContainer extends CosObject
Base class for all COS container object (e.g. COSDictionary, CosArray).
-
-
Field Summary
-
Fields inherited from class com.adobe.internal.pdftoolkit.core.cos.CosObject
DIRECT, INDIRECT, t_Array, t_Boolean, t_Dictionary, t_KeyAbsent, t_Name, t_Null, t_Numeric, t_ObjectRef, t_Stream, t_String
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.util.MapfindObjPos(java.util.Map keys)Get the position of specific keys in container objects.abstract CosContainerValuesIteratorgetValuesIterator()booleanmarkNotDirty()Mark object as not dirty if it was dirty.-
Methods inherited from class com.adobe.internal.pdftoolkit.core.cos.CosObject
booleanValue, doubleValue, equals, equals, getDocument, getObjEOF, getObjGen, getObjNum, getObjPos, getObjRevision, getStreamManager, getType, getValue, hexStringValue, intValue, isCompressed, isDirty, isIndirect, longValue, nameValue, numberValue, stringValue, textValue, toString
-
-
-
-
Method Detail
-
markNotDirty
public boolean markNotDirty()
Mark object as not dirty if it was dirty. Returns false if not dirty.
-
findObjPos
public java.util.Map findObjPos(java.util.Map keys) throws PDFIOExceptionGet the position of specific keys in container objects.- Throws:
PDFIOException
-
getValuesIterator
public abstract CosContainerValuesIterator getValuesIterator()
-
-