Class SigningMethodImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.ext.saml2alg.impl.SigningMethodImpl
- All Implemented Interfaces:
ElementExtensibleXMLObject
,XMLObject
,SAMLObject
,SigningMethod
Implementation of
SigningMethod
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
Algorithm attribute value.private Integer
MaxKeySize attribute value.private Integer
MinKeySize attribute value.private final IndexedXMLObjectChildrenList<XMLObject>
Wildcard child elements.Fields inherited from interface org.opensaml.saml.ext.saml2alg.SigningMethod
ALGORITHM_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, MAX_KEY_SIZE_ATTRIB_NAME, MIN_KEY_SIZE_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
Constructor Summary
ConstructorsConstructorDescriptionSigningMethodImpl
(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the value of the Algorithm URI attribute.Get the value of the MaxKeySize attribute.Get the value of the MinKeySize attribute.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.Gets the list of XMLObjects added to this XMLObject as part of the "any" content model.getUnknownXMLObjects
(QName typeOrName) Gets the list of XMLObjects added to this XMLObject as part of the "any" content model, and which match the specified QName.void
setAlgorithm
(String newValue) Get the value of the Algorithm URI attribute.void
setMaxKeySize
(Integer newValue) Set the value of the MaxKeySize attribute.void
setMinKeySize
(Integer newValue) Set the value of the MinKeySize attribute.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
-
unknownChildren
Wildcard child elements. -
algorithm
Algorithm attribute value. -
minKeySize
MinKeySize attribute value. -
maxKeySize
MaxKeySize attribute value.
-
-
Constructor Details
-
Method Details
-
getAlgorithm
Get the value of the Algorithm URI attribute.- Specified by:
getAlgorithm
in interfaceSigningMethod
- Returns:
- the algorithm URI
-
setAlgorithm
Get the value of the Algorithm URI attribute.- Specified by:
setAlgorithm
in interfaceSigningMethod
- Parameters:
newValue
- the algorithm URI
-
getMinKeySize
Get the value of the MinKeySize attribute.- Specified by:
getMinKeySize
in interfaceSigningMethod
- Returns:
- the MinKeySize value
-
setMinKeySize
Set the value of the MinKeySize attribute.- Specified by:
setMinKeySize
in interfaceSigningMethod
- Parameters:
newValue
- the MinKeySize value
-
getMaxKeySize
Get the value of the MaxKeySize attribute.- Specified by:
getMaxKeySize
in interfaceSigningMethod
- Returns:
- the MaxKeySize value
-
setMaxKeySize
Set the value of the MaxKeySize attribute.- Specified by:
setMaxKeySize
in interfaceSigningMethod
- Parameters:
newValue
- the MaxKeySize value
-
getUnknownXMLObjects
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model.- Specified by:
getUnknownXMLObjects
in interfaceElementExtensibleXMLObject
- Returns:
- list of XMLObjects added to this XMLObject as part of the "any" content model
-
getUnknownXMLObjects
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model, and which match the specified QName.- Specified by:
getUnknownXMLObjects
in interfaceElementExtensibleXMLObject
- Parameters:
typeOrName
- the QName of the statements to return- Returns:
- list of XMLObjects added to this XMLObject as part of the "any" content model TODO: think this should be typed List<? extends XMLObject>
-
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
-