Class DOMKeyName
- java.lang.Object
-
- org.apache.jcp.xml.dsig.internal.dom.BaseStructure
-
- org.apache.jcp.xml.dsig.internal.dom.DOMKeyName
-
- All Implemented Interfaces:
KeyName
,XMLStructure
public final class DOMKeyName extends BaseStructure implements KeyName
DOM-based implementation of KeyName.- Author:
- Sean Mullan
-
-
Constructor Summary
Constructors Constructor Description DOMKeyName(String name)
Creates aDOMKeyName
.DOMKeyName(Element knElem)
Creates aDOMKeyName
from a KeyName element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getName()
int
hashCode()
-
Methods inherited from class org.apache.jcp.xml.dsig.internal.dom.BaseStructure
isFeatureSupported, textOfNode
-
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
-
-
-
-
Constructor Detail
-
DOMKeyName
public DOMKeyName(String name)
Creates aDOMKeyName
.- Parameters:
name
- the name of the key identifier- Throws:
NullPointerException
- ifname
is null
-
DOMKeyName
public DOMKeyName(Element knElem)
Creates aDOMKeyName
from a KeyName element.- Parameters:
knElem
- a KeyName element
-
-