public class ContentPart extends java.lang.Object implements IAutoCloseable
ContentPackage| Modifier and Type | Method and Description | 
|---|---|
| void | close()Deletes native counterpart of this auto closable object | 
| java.lang.String | getId()Returns the identifier of this part. | 
| ParameterSet | getMetadata() | 
| ContentPackage | getPackage()Returns the package that contains this part. | 
| java.lang.String | getType()Returns the type of this part. | 
| Rectangle | getViewBox()Returns the view box, the smallest axis align rectangle containing this
 part content. | 
| boolean | isClosed()Tells whether the  close()method has been called. | 
| void | setMetadata(ParameterSet parameters) | 
public final void close()
IAutoCloseableclose in interface IAutoCloseablepublic final boolean isClosed()
close() method has been called. Once an object
 is closed any method will throw IllegalStateException.true if this object is closed.public final ContentPackage getPackage()
public final java.lang.String getId()
public final java.lang.String getType()
public Rectangle getViewBox()
public final ParameterSet getMetadata()
public final void setMetadata(ParameterSet parameters)