Class NameIDPolicyImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.saml.saml2.core.impl.NameIDPolicyImpl
-
- All Implemented Interfaces:
XMLObject,SAMLObject,NameIDPolicy
public class NameIDPolicyImpl extends AbstractXMLObject implements NameIDPolicy
Concrete implementation ofNameIDPolicy.
-
-
Field Summary
Fields Modifier and Type Field Description private XSBooleanValueallowCreateNameID Format URI.private StringformatNameID Format URI.private StringspNameQualifierNameID 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
Constructors Modifier Constructor Description protectedNameIDPolicyImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetAllowCreate()XSBooleanValuegetAllowCreateXSBoolean()StringgetFormat()List<XMLObject>getOrderedChildren()StringgetSPNameQualifier()voidsetAllowCreate(Boolean newAllowCreate)voidsetAllowCreate(XSBooleanValue newAllowCreate)voidsetFormat(String newFormat)voidsetSPNameQualifier(String newSPNameQualifier)-
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
-
format
private String format
NameID Format URI.
-
spNameQualifier
private String spNameQualifier
NameID Format URI.
-
allowCreate
private XSBooleanValue allowCreate
NameID Format URI.
-
-
Constructor Detail
-
NameIDPolicyImpl
protected NameIDPolicyImpl(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
-
getFormat
public String getFormat()
- Specified by:
getFormatin interfaceNameIDPolicy
-
setFormat
public void setFormat(String newFormat)
- Specified by:
setFormatin interfaceNameIDPolicy
-
getSPNameQualifier
public String getSPNameQualifier()
- Specified by:
getSPNameQualifierin interfaceNameIDPolicy
-
setSPNameQualifier
public void setSPNameQualifier(String newSPNameQualifier)
- Specified by:
setSPNameQualifierin interfaceNameIDPolicy
-
getAllowCreate
public Boolean getAllowCreate()
- Specified by:
getAllowCreatein interfaceNameIDPolicy
-
getAllowCreateXSBoolean
public XSBooleanValue getAllowCreateXSBoolean()
- Specified by:
getAllowCreateXSBooleanin interfaceNameIDPolicy
-
setAllowCreate
public void setAllowCreate(Boolean newAllowCreate)
- Specified by:
setAllowCreatein interfaceNameIDPolicy
-
setAllowCreate
public void setAllowCreate(XSBooleanValue newAllowCreate)
- Specified by:
setAllowCreatein interfaceNameIDPolicy
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
-