Package org.apache.pdfbox.cos
Interface ICOSVisitor
- All Known Implementing Classes:
COSWriter
public interface ICOSVisitor
An interface for visiting a PDF document at the type (COS) level.
-
Method Summary
Modifier and TypeMethodDescriptionvoidvisitFromArray(COSArray obj) Notification of visit to Array object.voidNotification of visit to boolean object.voidNotification of visit to dictionary object.voidNotification of visit to document object.voidvisitFromFloat(COSFloat obj) Notification of visit to float object.voidvisitFromInt(COSInteger obj) Notification of visit to integer object.voidvisitFromName(COSName obj) Notification of visit to name object.voidvisitFromNull(COSNull obj) Notification of visit to null object.default voidvisitFromObject(COSObject obj) Notification of visit to object.voidvisitFromStream(COSStream obj) Notification of visit to stream object.voidvisitFromString(COSString obj) Notification of visit to string object.
-
Method Details
-
visitFromArray
Notification of visit to Array object.- Parameters:
obj- The Object that is being visited.- Throws:
IOException- If there is an error while visiting this object.
-
visitFromBoolean
Notification of visit to boolean object.- Parameters:
obj- The Object that is being visited.- Throws:
IOException- If there is an error while visiting this object.
-
visitFromDictionary
Notification of visit to dictionary object.- Parameters:
obj- The Object that is being visited.- Throws:
IOException- If there is an error while visiting this object.
-
visitFromDocument
Notification of visit to document object.- Parameters:
obj- The Object that is being visited.- Throws:
IOException- If there is an error while visiting this object.
-
visitFromFloat
Notification of visit to float object.- Parameters:
obj- The Object that is being visited.- Throws:
IOException- If there is an error while visiting this object.
-
visitFromInt
Notification of visit to integer object.- Parameters:
obj- The Object that is being visited.- Throws:
IOException- If there is an error while visiting this object.
-
visitFromName
Notification of visit to name object.- Parameters:
obj- The Object that is being visited.- Throws:
IOException- If there is an error while visiting this object.
-
visitFromNull
Notification of visit to null object.- Parameters:
obj- The Object that is being visited.- Throws:
IOException- If there is an error while visiting this object.
-
visitFromStream
Notification of visit to stream object.- Parameters:
obj- The Object that is being visited.- Throws:
IOException- If there is an error while visiting this object.
-
visitFromString
Notification of visit to string object.- Parameters:
obj- The Object that is being visited.- Throws:
IOException- If there is an error while visiting this object.
-
visitFromObject
Notification of visit to object.- Parameters:
obj- The Object that is being visited.- Throws:
IOException- If there is an error while visiting this object.
-