Package org.opensaml.saml.saml2.metadata
Interface RequestedAttribute
- All Superinterfaces:
Attribute,AttributeExtensibleXMLObject,SAMLObject,XMLObject
- All Known Implementing Classes:
RequestedAttributeImpl
SAML 2.0 Metadata RequestedAttribute.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringLocal name, no namespace.static final QNameDefault element name.static final String"isRequired" attribute's local name.static final StringLocal name of the XSI type.static final QNameQName of the XSI type.Fields inherited from interface org.opensaml.saml.saml2.core.Attribute
BASIC, FRIENDLY_NAME_ATTRIB_NAME, NAME_ATTTRIB_NAME, NAME_FORMAT_ATTRIB_NAME, UNSPECIFIED, URI_REFERENCE -
Method Summary
Modifier and TypeMethodDescriptionChecks to see if this requested attribute is also required.Checks to see if this requested attribute is also required.voidsetIsRequired(Boolean newIsRequire) Sets if this requested attribute is also required.voidsetIsRequired(XSBooleanValue newIsRequire) Sets if this requested attribute is also required.Methods inherited from interface org.opensaml.saml.saml2.core.Attribute
getAttributeValues, getFriendlyName, getName, getNameFormat, setFriendlyName, setName, setNameFormatMethods inherited from interface org.opensaml.core.xml.AttributeExtensibleXMLObject
getUnknownAttributesMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
DEFAULT_ELEMENT_LOCAL_NAME
Local name, no namespace.- See Also:
-
DEFAULT_ELEMENT_NAME
Default element name. -
TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
-
TYPE_NAME
QName of the XSI type. -
IS_REQUIRED_ATTRIB_NAME
"isRequired" attribute's local name.- See Also:
-
-
Method Details
-
isRequired
Checks to see if this requested attribute is also required.- Returns:
- true if this attribute is required
-
isRequiredXSBoolean
Checks to see if this requested attribute is also required.- Returns:
- true if this attribute is required
-
setIsRequired
Sets if this requested attribute is also required. Boolean values will be marshalled to either "true" or "false".- Parameters:
newIsRequire- true if this attribute is required
-
setIsRequired
Sets if this requested attribute is also required.- Parameters:
newIsRequire- true if this attribute is required
-