Class DOMKeyName
java.lang.Object
org.apache.jcp.xml.dsig.internal.dom.DOMStructure
org.apache.jcp.xml.dsig.internal.dom.DOMKeyName
- All Implemented Interfaces:
KeyName
,XMLStructure
DOM-based implementation of KeyName.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDOMKeyName
(String name) Creates aDOMKeyName
.DOMKeyName
(Element knElem) Creates aDOMKeyName
from a KeyName element. -
Method Summary
Methods inherited from class org.apache.jcp.xml.dsig.internal.dom.DOMStructure
isFeatureSupported
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.xml.crypto.XMLStructure
isFeatureSupported
-
Field Details
-
name
-
-
Constructor Details
-
DOMKeyName
Creates aDOMKeyName
.- Parameters:
name
- the name of the key identifier- Throws:
NullPointerException
- ifname
is null
-
DOMKeyName
Creates aDOMKeyName
from a KeyName element.- Parameters:
knElem
- a KeyName element
-
-
Method Details
-
getName
-
marshal
- Specified by:
marshal
in classDOMStructure
- Throws:
MarshalException
-
equals
-
hashCode
public int hashCode()
-