|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pdfbox.pdmodel.markedcontent.PDPropertyList
public class PDPropertyList
This class represents a property list used for the marked content feature to map a resource name to a dictionary.
Constructor Summary | |
---|---|
PDPropertyList()
Creates a new property list. |
|
PDPropertyList(COSDictionary dict)
Creates a new instance based on a given COSDictionary . |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDPropertyList()
public PDPropertyList(COSDictionary dict)
COSDictionary
.
dict
- the dictionaryMethod Detail |
---|
public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public PDOptionalContentGroup getOptionalContentGroup(COSName name)
name
- the resource name
public void putMapping(COSName name, PDOptionalContentGroup ocg)
name
- the resource nameocg
- the optional content group
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |