org.pdfbox.cos
Interface ICOSVisitor
- COSWriter
public interface ICOSVisitor
An interface for visiting a PDF document at the type (COS) level.
visitFromArray
public Object visitFromArray(COSArray obj)
throws COSVisitorException
Notification of visit to Array object.
obj
- The Object that is being visited.
- any Object depending on the visitor implementation, or null
visitFromBoolean
public Object visitFromBoolean(COSBoolean obj)
throws COSVisitorException
Notification of visit to boolean object.
obj
- The Object that is being visited.
- any Object depending on the visitor implementation, or null
visitFromDictionary
public Object visitFromDictionary(COSDictionary obj)
throws COSVisitorException
Notification of visit to dictionary object.
obj
- The Object that is being visited.
- any Object depending on the visitor implementation, or null
visitFromDocument
public Object visitFromDocument(COSDocument obj)
throws COSVisitorException
Notification of visit to document object.
obj
- The Object that is being visited.
- any Object depending on the visitor implementation, or null
visitFromFloat
public Object visitFromFloat(COSFloat obj)
throws COSVisitorException
Notification of visit to float object.
obj
- The Object that is being visited.
- any Object depending on the visitor implementation, or null
visitFromInt
public Object visitFromInt(COSInteger obj)
throws COSVisitorException
Notification of visit to integer object.
obj
- The Object that is being visited.
- any Object depending on the visitor implementation, or null
visitFromName
public Object visitFromName(COSName obj)
throws COSVisitorException
Notification of visit to name object.
obj
- The Object that is being visited.
- any Object depending on the visitor implementation, or null
visitFromNull
public Object visitFromNull(COSNull obj)
throws COSVisitorException
Notification of visit to null object.
obj
- The Object that is being visited.
- any Object depending on the visitor implementation, or null
visitFromStream
public Object visitFromStream(COSStream obj)
throws COSVisitorException
Notification of visit to stream object.
obj
- The Object that is being visited.
- any Object depending on the visitor implementation, or null
visitFromString
public Object visitFromString(COSString obj)
throws COSVisitorException
Notification of visit to string object.
obj
- The Object that is being visited.
- any Object depending on the visitor implementation, or null