public class PDFName extends PDFObject
A PDFName represents a single indivisible name token, and may be inserted into any collection object. It may also be used as a key in a PDFDictionary.
| Constructor and Description |
|---|
PDFName(java.lang.String value,
Document doc,
boolean indirect)
General constructor
|
PDFName(java.lang.String value,
PDFObject docFromObj,
boolean indirect)
General constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
java.lang.String |
getValue()
String value of this object.
|
java.lang.String |
toString() |
clone, clone, clone, clone, clone, compareTo, destroy, enumPDFObjects, equals, getDocument, getGeneration, getID, getIndirect, getPDFHashValuepublic PDFName(java.lang.String value,
Document doc,
boolean indirect)
value - String value representing this PDFNamedoc - Document object containing this PDFNameindirect - flag marking this as an indirect PDFObjectpublic PDFName(java.lang.String value,
PDFObject docFromObj,
boolean indirect)
value - String value representing this PDFNamedocFromObj - The new PDFArray will be created in the same document as this object.indirect - flag marking this as an indirect PDFObject