Class DelegateImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.ext.saml2delrestrict.impl.DelegateImpl
- All Implemented Interfaces:
XMLObject,SAMLObject,Delegate
Implementation of
Delegate.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BaseIDBaseID child element.private StringConfirmationMethod attribute.private InstantDelegationInstant attribute.private EncryptedIDEncryptedID child element.private NameIDNameID child element.Fields inherited from interface org.opensaml.saml.ext.saml2delrestrict.Delegate
CONFIRMATION_METHOD_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, DELEGATION_INSTANT_ATTRIB_NAME, DELEGATION_INSTANT_ATTRIB_QNAME, TYPE_LOCAL_NAME, TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDelegateImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the BaseID child element of the delegate.Get the confirmation method attribute value.Get the delegation instant attribute value.Gets the EncryptedID child element of the delegate.Gets the NameID child element of the delegate.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.voidSets the BaseID child element of the delegate.voidsetConfirmationMethod(String newMethod) Set the confirmation method attribute value.voidsetDelegationInstant(Instant newInstant) Set the delegation instant attribute value.voidsetEncryptedID(EncryptedID newEncryptedID) Sets the EncryptedID child element of the delegate.voidSets the NameID child element of the delegate.Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, 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, setSchemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, 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
-
baseID
BaseID child element. -
nameID
NameID child element. -
encryptedID
EncryptedID child element. -
delegationInstant
DelegationInstant attribute. -
confirmationMethod
ConfirmationMethod attribute.
-
-
Constructor Details
-
DelegateImpl
protected DelegateImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable 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 Details
-
getBaseID
Gets the BaseID child element of the delegate. -
getConfirmationMethod
Get the confirmation method attribute value.- Specified by:
getConfirmationMethodin interfaceDelegate- Returns:
- the confirmation method
-
getDelegationInstant
Get the delegation instant attribute value.- Specified by:
getDelegationInstantin interfaceDelegate- Returns:
- the delegation instant
-
getEncryptedID
Gets the EncryptedID child element of the delegate.- Specified by:
getEncryptedIDin interfaceDelegate- Returns:
- the encrypted name identifier of the delegate
-
getNameID
Gets the NameID child element of the delegate. -
setBaseID
Sets the BaseID child element of the delegate. -
setConfirmationMethod
Set the confirmation method attribute value.- Specified by:
setConfirmationMethodin interfaceDelegate- Parameters:
newMethod- the new confirmation method
-
setDelegationInstant
Set the delegation instant attribute value.- Specified by:
setDelegationInstantin interfaceDelegate- Parameters:
newInstant- the new delegation instant
-
setEncryptedID
Sets the EncryptedID child element of the delegate.- Specified by:
setEncryptedIDin interfaceDelegate- Parameters:
newEncryptedID- the new encrypted name identifier of the delegate
-
setNameID
Sets the NameID child element of the delegate. -
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
-