|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImportStrategy
An ImportStrategy embeds the methods used for importing a node from a fragment to a target document fragment.
Field Summary | |
---|---|
static ImportStrategy |
STANDARD_IMPORT_STRATEGY
The standard import strategy : a new element is created if the target document is not the same as the source one. |
static ImportStrategy |
XINCLUDE_IMPORT_STRATEGY
The XInclude import strategy : fixup namespace URIs, xml:lang, xml:base, IDs/IDrefs. |
Method Summary | |
---|---|
Element |
importElement(Element element,
DOMFragment ancestor,
Node node,
DOMFragment root)
Import an element. |
Field Detail |
---|
static final ImportStrategy STANDARD_IMPORT_STRATEGY
static final ImportStrategy XINCLUDE_IMPORT_STRATEGY
Method Detail |
---|
Element importElement(Element element, DOMFragment ancestor, Node node, DOMFragment root)
element
- The element to import.ancestor
- The ancestor of the element to import.node
- The target node that belong to the target document.root
- The target root node.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |