public static enum XMLObjectSupport.CloneOutputOption extends Enum<XMLObjectSupport.CloneOutputOption>
Enum Constant and Description |
---|
DropDOM
Completely and recursively drop the DOM from the cloned object and its children.
|
RootDOMInNewDocument
The cloned XMLObject's DOM will be the root document element of a new
Document ,
that is it will be the Element returned by Document.getDocumentElement() . |
UnrootedDOM
The cloned XMLObject's DOM will be owned by the same
Document as the input object
(the latter possibly newly created by marshalling internally), but will not be connected
to the node tree associated with the Document.getDocumentElement() . |
Modifier and Type | Method and Description |
---|---|
static XMLObjectSupport.CloneOutputOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XMLObjectSupport.CloneOutputOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XMLObjectSupport.CloneOutputOption DropDOM
public static final XMLObjectSupport.CloneOutputOption RootDOMInNewDocument
Document
,
that is it will be the Element
returned by Document.getDocumentElement()
.public static final XMLObjectSupport.CloneOutputOption UnrootedDOM
Document
as the input object
(the latter possibly newly created by marshalling internally), but will not be connected
to the node tree associated with the Document.getDocumentElement()
.public static XMLObjectSupport.CloneOutputOption[] values()
for (XMLObjectSupport.CloneOutputOption c : XMLObjectSupport.CloneOutputOption.values()) System.out.println(c);
public static XMLObjectSupport.CloneOutputOption valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.