COSObjectable
public class PDMarkedContentReference extends java.lang.Object implements COSObjectable
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
TYPE |
Constructor | Description |
---|---|
PDMarkedContentReference() |
Default constructor
|
PDMarkedContentReference(COSDictionary dictionary) |
Constructor for an existing marked content reference.
|
Modifier and Type | Method | Description |
---|---|---|
protected COSDictionary |
getCOSDictionary() |
|
COSBase |
getCOSObject() |
Convert this standard java object to a COS object.
|
int |
getMCID() |
Gets the marked content identifier.
|
PDPage |
getPage() |
Gets the page.
|
void |
setMCID(int mcid) |
Sets the marked content identifier.
|
void |
setPage(PDPage page) |
Sets the page.
|
java.lang.String |
toString() |
public static final java.lang.String TYPE
public PDMarkedContentReference()
public PDMarkedContentReference(COSDictionary dictionary)
dictionary
- the page dictionaryprotected COSDictionary getCOSDictionary()
public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public PDPage getPage()
public void setPage(PDPage page)
page
- the pagepublic int getMCID()
public void setMCID(int mcid)
mcid
- the marked content identifierpublic java.lang.String toString()
toString
in class java.lang.Object