Class KeyValueImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.signature.impl.KeyValueImpl
public class KeyValueImpl extends AbstractXMLObject implements KeyValue
Concrete implementation of
KeyValue
.-
Field Summary
Fields Modifier and Type Field Description private DHKeyValue
dhKeyValue
DHKeyValue child element.private DSAKeyValue
dsaKeyValue
DSAKeyValue child element.private ECKeyValue
ecKeyValue
ECKeyValue child element.private RSAKeyValue
rsaKeyValue
RSAKeyValue child element.private XMLObject
unknownXMLObject
Wildcard <any> XMLObject child element.Fields inherited from interface org.opensaml.xmlsec.signature.KeyValue
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
KeyValueImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
Constructor. -
Method Summary
Modifier and Type Method Description DHKeyValue
getDHKeyValue()
Get the DHKeyValue child element.DSAKeyValue
getDSAKeyValue()
Get the DSAKeyValue child element.ECKeyValue
getECKeyValue()
Get the ECKeyValue child element.List<XMLObject>
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.RSAKeyValue
getRSAKeyValue()
Get the RSAKeyValue child element.XMLObject
getUnknownXMLObject()
Get the wildcard <any> XMLObject child element.void
setDHKeyValue(DHKeyValue newDHKeyValue)
Set the DHKeyValue child element.void
setDSAKeyValue(DSAKeyValue newDSAKeyValue)
Set the DSAKeyValue child element.void
setECKeyValue(ECKeyValue newECKeyValue)
Set the ECKeyValue child element.void
setRSAKeyValue(RSAKeyValue newRSAKeyValue)
Set the RSAKeyValue child element.void
setUnknownXMLObject(XMLObject newXMLObject)
Set the wildcard <any> XMLObject child element.Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
dhKeyValue
DHKeyValue child element. -
dsaKeyValue
DSAKeyValue child element. -
rsaKeyValue
RSAKeyValue child element. -
ecKeyValue
ECKeyValue child element. -
unknownXMLObject
Wildcard <any> XMLObject child element.
-
-
Constructor Details
-
KeyValueImpl
Constructor.- Parameters:
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespace
-
-
Method Details
-
getDHKeyValue
Get the DHKeyValue child element.- Specified by:
getDHKeyValue
in interfaceKeyValue
- Returns:
- DHKeyValue child element
-
setDHKeyValue
Set the DHKeyValue child element.- Specified by:
setDHKeyValue
in interfaceKeyValue
- Parameters:
newDHKeyValue
- the new DHKeyValue child element
-
getDSAKeyValue
Get the DSAKeyValue child element.- Specified by:
getDSAKeyValue
in interfaceKeyValue
- Returns:
- DSAKeyValue child element
-
setDSAKeyValue
Set the DSAKeyValue child element.- Specified by:
setDSAKeyValue
in interfaceKeyValue
- Parameters:
newDSAKeyValue
- the new DSAKeyValue child element
-
getRSAKeyValue
Get the RSAKeyValue child element.- Specified by:
getRSAKeyValue
in interfaceKeyValue
- Returns:
- the RSAKeyValue child element
-
setRSAKeyValue
Set the RSAKeyValue child element.- Specified by:
setRSAKeyValue
in interfaceKeyValue
- Parameters:
newRSAKeyValue
- the new RSAKeyValue child element
-
getECKeyValue
Get the ECKeyValue child element.- Specified by:
getECKeyValue
in interfaceKeyValue
- Returns:
- the ECKeyValue child element
-
setECKeyValue
Set the ECKeyValue child element.- Specified by:
setECKeyValue
in interfaceKeyValue
- Parameters:
newECKeyValue
- the new ECKeyValue child element
-
getUnknownXMLObject
Get the wildcard <any> XMLObject child element.- Specified by:
getUnknownXMLObject
in interfaceKeyValue
- Returns:
- the wildcard XMLObject child element
-
setUnknownXMLObject
Set the wildcard <any> XMLObject child element.- Specified by:
setUnknownXMLObject
in interfaceKeyValue
- Parameters:
newXMLObject
- the wildcard XMLObject child element
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildren
in interfaceXMLObject
- Returns:
- ordered list of child elements
-