Class NameIDPolicyImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.saml2.core.impl.NameIDPolicyImpl
- All Implemented Interfaces:
XMLObject
,SAMLObject
,NameIDPolicy
Concrete implementation of
NameIDPolicy
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate XSBooleanValue
NameID Format URI.private String
NameID Format URI.private String
NameID Format URI.Fields inherited from interface org.opensaml.saml.saml2.core.NameIDPolicy
ALLOW_CREATE_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, FORMAT_ATTRIB_NAME, SP_NAME_QUALIFIER_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
NameIDPolicyImpl
(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the AllowCreate value.Gets the AllowCreate value.Gets the format of the NameIDPolicy.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.Gets the SPNameQualifier value.void
setAllowCreate
(Boolean newAllowCreate) Sets the AllowCreate value.void
setAllowCreate
(XSBooleanValue newAllowCreate) Sets the AllowCreate value.void
Sets the format of the NameIDPolicy.void
setSPNameQualifier
(String newSPNameQualifier) Sets the SPNameQualifier value.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
-
format
NameID Format URI. -
spNameQualifier
NameID Format URI. -
allowCreate
NameID Format URI.
-
-
Constructor Details
-
NameIDPolicyImpl
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
-
getFormat
Gets the format of the NameIDPolicy.- Specified by:
getFormat
in interfaceNameIDPolicy
- Returns:
- the format of the NameIDPolicy
-
setFormat
Sets the format of the NameIDPolicy.- Specified by:
setFormat
in interfaceNameIDPolicy
- Parameters:
newFormat
- the format of the NameIDPolicy
-
getSPNameQualifier
Gets the SPNameQualifier value.- Specified by:
getSPNameQualifier
in interfaceNameIDPolicy
- Returns:
- the SPNameQualifier value
-
setSPNameQualifier
Sets the SPNameQualifier value.- Specified by:
setSPNameQualifier
in interfaceNameIDPolicy
- Parameters:
newSPNameQualifier
- the SPNameQualifier value
-
getAllowCreate
Gets the AllowCreate value.- Specified by:
getAllowCreate
in interfaceNameIDPolicy
- Returns:
- the AllowCreate value
-
getAllowCreateXSBoolean
Gets the AllowCreate value.- Specified by:
getAllowCreateXSBoolean
in interfaceNameIDPolicy
- Returns:
- the AllowCreate value
-
setAllowCreate
Sets the AllowCreate value. Boolean values will be marshalled to either "true" or "false".- Specified by:
setAllowCreate
in interfaceNameIDPolicy
- Parameters:
newAllowCreate
- the AllowCreate value
-
setAllowCreate
Sets the AllowCreate value.- Specified by:
setAllowCreate
in interfaceNameIDPolicy
- Parameters:
newAllowCreate
- the AllowCreate value
-
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
-