public class PDOptionalContentGroup extends Object implements COSObjectable
| Constructor and Description |
|---|
PDOptionalContentGroup(COSDictionary dict)
Creates a new instance based on a given
COSDictionary. |
PDOptionalContentGroup(String name)
Creates a new optional content group (OCG).
|
| Modifier and Type | Method and Description |
|---|---|
COSBase |
getCOSObject()
Convert this standard java object to a COS object.
|
String |
getName()
Returns the name of the optional content group.
|
void |
setName(String name)
Sets the name of the optional content group.
|
String |
toString() |
public PDOptionalContentGroup(String name)
name - the name of the content grouppublic PDOptionalContentGroup(COSDictionary dict)
COSDictionary.dict - the dictionarypublic COSBase getCOSObject()
getCOSObject in interface COSObjectablepublic String getName()
public void setName(String name)
name - the nameCopyright © 2002–2019 The Apache Software Foundation. All rights reserved.