Package com.pd4ml.pdf.cos
Interface ICOSVisitor<T>
-
- Type Parameters:
T- return type produced by a visit
- All Known Implementing Classes:
COSWriter
public interface ICOSVisitor<T>Visitor over the COS object graph, e.g. for serializing a document back out to PDF syntax, or for walking the tree for diagnostics.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TvisitFromArray(COSArray array)TvisitFromBoolean(COSBoolean bool)TvisitFromDictionary(COSDictionary dict)TvisitFromFloat(COSFloat number)TvisitFromInteger(COSInteger number)TvisitFromName(COSName name)TvisitFromNull(COSNull nul)TvisitFromObject(COSObject object)TvisitFromStream(COSStream stream)TvisitFromString(COSString string)
-
-
-
Method Detail
-
visitFromArray
T visitFromArray(COSArray array) throws COSException
- Throws:
COSException
-
visitFromBoolean
T visitFromBoolean(COSBoolean bool) throws COSException
- Throws:
COSException
-
visitFromDictionary
T visitFromDictionary(COSDictionary dict) throws COSException
- Throws:
COSException
-
visitFromFloat
T visitFromFloat(COSFloat number) throws COSException
- Throws:
COSException
-
visitFromInteger
T visitFromInteger(COSInteger number) throws COSException
- Throws:
COSException
-
visitFromName
T visitFromName(COSName name) throws COSException
- Throws:
COSException
-
visitFromNull
T visitFromNull(COSNull nul) throws COSException
- Throws:
COSException
-
visitFromStream
T visitFromStream(COSStream stream) throws COSException
- Throws:
COSException
-
visitFromString
T visitFromString(COSString string) throws COSException
- Throws:
COSException
-
visitFromObject
T visitFromObject(COSObject object) throws COSException
- Throws:
COSException
-
-