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). | 
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–2016 The Apache Software Foundation. All rights reserved.