|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.pdf.object.PDFObject
org.foray.pdf.object.PDFEncoding
public class PDFEncoding
Class representing an /Encoding object. Encodings are specified on page 213 and onwards of the PDF 1.3 spec.
Field Summary |
---|
Fields inherited from class org.foray.pdf.object.PDFObject |
---|
EOL, MSG_EOL, XREF_EOL |
Constructor Summary | |
---|---|
PDFEncoding(PDFDocument doc,
org.axsl.ps.Encoding encoding)
Constructor. |
Method Summary | |
---|---|
org.axsl.ps.Encoding |
getEncoding()
Returns the underlying encoding. |
String |
getName()
Return the name of the underlying encoding. |
String |
pdfReference()
The String used to reference this object within the PDF. |
String |
toPDF()
Generates the PDF text necessary to represent the object, returning it as a String. |
Methods inherited from class org.foray.pdf.object.PDFObject |
---|
bufferToByteArray, byteArrayToStream, getCharsPerLine, getGeneration, getLogger, getNumber, getPDFDocument, output, pdfID, setNumber, stringToByteArray |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDFEncoding(PDFDocument doc, org.axsl.ps.Encoding encoding)
doc
- The parent PDF document.encoding
- The encoding instance that is being wrapped.Method Detail |
---|
public org.axsl.ps.Encoding getEncoding()
public String getName()
public String pdfReference()
PDFObject
pdfReference
in class PDFObject
public String toPDF()
PDFObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |