public class PDPropertyList extends Object implements COSObjectable
Constructor and Description |
---|
PDPropertyList()
Creates a new property list.
|
PDPropertyList(COSDictionary dict)
Creates a new instance based on a given
COSDictionary . |
Modifier and Type | Method and 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 groupCopyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.