public class GroupElement extends ContentElement
Modifier and Type | Method and Description |
---|---|
static GroupElement |
copyWithoutContent(Document targetDocument,
GroupElement groupElement)
Copy a group element without copying its content
|
static GroupElement |
createDynamicObject(long handle) |
Group |
getGroup()
This group element's group object.
|
copy, getBoundingBox, getTransform, setTransform
equals, hashCode
public static GroupElement createDynamicObject(long handle)
public static GroupElement copyWithoutContent(Document targetDocument, GroupElement groupElement) throws java.io.IOException, ConformanceException
targetDocument
- the output document with which the returned object is associatedgroupElement
- a group element of a different documentjava.io.IOException
- Error reading from the source document or writing to the target documentConformanceException
- The conformance level of the source document is not compatible
with the conformance level of the target document.java.lang.IllegalArgumentException
- if the targetDocument
argument is null
java.lang.IllegalArgumentException
- if the targetDocument
argument has already been closedjava.lang.IllegalArgumentException
- if the targetDocument
argument is read-onlyjava.lang.IllegalArgumentException
- the groupElement
object is not associated with an input documentjava.lang.IllegalArgumentException
- the groupElement
argument is null
java.lang.IllegalArgumentException
- the groupElement
object has already been closedpublic Group getGroup()
java.lang.IllegalStateException
- the object has already been closed