Creates a
DOMKeyInfo
.
Parameters:
-
content - a list of one or more {@link XMLStructure}s representing
key information types. The list is defensively copied to protect
against subsequent modification.
-
id - an ID attribute
Throws:
-
NullPointerException - if
content
is
null
-
IllegalArgumentException - if
content
is empty
-
ClassCastException - if
content
contains any entries
that are not of type {@link XMLStructure}