COSObjectable
public class PDPropertyList extends java.lang.Object implements COSObjectable
Constructor | Description |
---|---|
PDPropertyList() |
Creates a new property list.
|
PDPropertyList(COSDictionary dict) |
Creates a new instance based on a given
COSDictionary . |
Modifier and Type | Method | Description |
---|---|---|
COSBase |
getCOSObject() |
Convert this standard java object to a COS object.
|
PDOptionalContentGroup |
getOptionalContentGroup(COSName name) |
Returns the optional content group belonging to the given resource name.
|
void |
putMapping(COSName name,
PDOptionalContentGroup ocg) |
Puts a mapping from a resource name to an optional content group.
|
public PDPropertyList()
public PDPropertyList(COSDictionary dict)
COSDictionary
.dict
- the dictionarypublic COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public PDOptionalContentGroup getOptionalContentGroup(COSName name)
name
- the resource namepublic void putMapping(COSName name, PDOptionalContentGroup ocg)
name
- the resource nameocg
- the optional content group