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 ofKeyValue.
-
-
Field Summary
Fields Modifier and Type Field Description private DHKeyValuedhKeyValueDHKeyValue child element.private DSAKeyValuedsaKeyValueDSAKeyValue child element.private ECKeyValueecKeyValueECKeyValue child element.private RSAKeyValuersaKeyValueRSAKeyValue child element.private XMLObjectunknownXMLObjectWildcard <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 protectedKeyValueImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DHKeyValuegetDHKeyValue()Get the DHKeyValue child element.DSAKeyValuegetDSAKeyValue()Get the DSAKeyValue child element.ECKeyValuegetECKeyValue()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.RSAKeyValuegetRSAKeyValue()Get the RSAKeyValue child element.XMLObjectgetUnknownXMLObject()Get the wildcard <any> XMLObject child element.voidsetDHKeyValue(DHKeyValue newDHKeyValue)Set the DHKeyValue child element.voidsetDSAKeyValue(DSAKeyValue newDSAKeyValue)Set the DSAKeyValue child element.voidsetECKeyValue(ECKeyValue newECKeyValue)Set the ECKeyValue child element.voidsetRSAKeyValue(RSAKeyValue newRSAKeyValue)Set the RSAKeyValue child element.voidsetUnknownXMLObject(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 Detail
-
dhKeyValue
private DHKeyValue dhKeyValue
DHKeyValue child element.
-
dsaKeyValue
private DSAKeyValue dsaKeyValue
DSAKeyValue child element.
-
rsaKeyValue
private RSAKeyValue rsaKeyValue
RSAKeyValue child element.
-
ecKeyValue
private ECKeyValue ecKeyValue
ECKeyValue child element.
-
unknownXMLObject
private XMLObject unknownXMLObject
Wildcard <any> XMLObject child element.
-
-
Constructor Detail
-
KeyValueImpl
protected KeyValueImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
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 Detail
-
getDHKeyValue
public DHKeyValue getDHKeyValue()
Get the DHKeyValue child element.- Specified by:
getDHKeyValuein interfaceKeyValue- Returns:
- DHKeyValue child element
-
setDHKeyValue
public void setDHKeyValue(DHKeyValue newDHKeyValue)
Set the DHKeyValue child element.- Specified by:
setDHKeyValuein interfaceKeyValue- Parameters:
newDHKeyValue- the new DHKeyValue child element
-
getDSAKeyValue
public DSAKeyValue getDSAKeyValue()
Get the DSAKeyValue child element.- Specified by:
getDSAKeyValuein interfaceKeyValue- Returns:
- DSAKeyValue child element
-
setDSAKeyValue
public void setDSAKeyValue(DSAKeyValue newDSAKeyValue)
Set the DSAKeyValue child element.- Specified by:
setDSAKeyValuein interfaceKeyValue- Parameters:
newDSAKeyValue- the new DSAKeyValue child element
-
getRSAKeyValue
public RSAKeyValue getRSAKeyValue()
Get the RSAKeyValue child element.- Specified by:
getRSAKeyValuein interfaceKeyValue- Returns:
- the RSAKeyValue child element
-
setRSAKeyValue
public void setRSAKeyValue(RSAKeyValue newRSAKeyValue)
Set the RSAKeyValue child element.- Specified by:
setRSAKeyValuein interfaceKeyValue- Parameters:
newRSAKeyValue- the new RSAKeyValue child element
-
getECKeyValue
public ECKeyValue getECKeyValue()
Get the ECKeyValue child element.- Specified by:
getECKeyValuein interfaceKeyValue- Returns:
- the ECKeyValue child element
-
setECKeyValue
public void setECKeyValue(ECKeyValue newECKeyValue)
Set the ECKeyValue child element.- Specified by:
setECKeyValuein interfaceKeyValue- Parameters:
newECKeyValue- the new ECKeyValue child element
-
getUnknownXMLObject
public XMLObject getUnknownXMLObject()
Get the wildcard <any> XMLObject child element.- Specified by:
getUnknownXMLObjectin interfaceKeyValue- Returns:
- the wildcard XMLObject child element
-
setUnknownXMLObject
public void setUnknownXMLObject(XMLObject newXMLObject)
Set the wildcard <any> XMLObject child element.- Specified by:
setUnknownXMLObjectin interfaceKeyValue- Parameters:
newXMLObject- the wildcard XMLObject child element
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildrenin interfaceXMLObject- Returns:
- ordered list of child elements
-
-