public interface DetachPolicy
| Modifier and Type | Field and Description |
|---|---|
static DetachPolicy |
NEW_DOCUMENT |
static DetachPolicy |
SAME_DOCUMENT |
| Modifier and Type | Method and Description |
|---|---|
CoreDocument |
getNewOwnerDocument(CoreParentNode owner)
Get the new owner document for the node (or group of child nodes) to be detached.
|
static final DetachPolicy NEW_DOCUMENT
static final DetachPolicy SAME_DOCUMENT
CoreDocument getNewOwnerDocument(CoreParentNode owner)
owner - The owner of the node (or group of child nodes) to be detached. For child nodes,
this is the parent node. For attributes, this is the owner element.null to (lazily) create a new owner document
for the node(s)Copyright © The Apache Software Foundation. All Rights Reserved.