Package org.opensaml.saml.saml2.metadata
Interface AttributeConsumingService
- All Superinterfaces:
SAMLObject,XMLObject
- All Known Implementing Classes:
AttributeConsumingServiceImpl
SAML 2.0 Metadata AttributeAuthorityDescriptor.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringElement name, no namespace.static final QNameDefault element name.static final String"index" attribute's local name.static final String"isDefault" attribute's local name.static final StringLocal name of the XSI type.static final QNameQName of the XSI type. -
Method Summary
Modifier and TypeMethodDescriptionGets the descriptions for this service.getIndex()Gets the index for this service.getNames()Gets the list of names this service has.Gets the attributes this service requests.Checks if this is the default service for the service provider.Checks if this is the default service for the service provider.voidSets the index for this service.voidsetIsDefault(Boolean newIsDefault) Sets if this is the default service for the service provider.voidsetIsDefault(XSBooleanValue newIsDefault) Sets if this is the default service for the service provider.Methods 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
Element 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. -
INDEX_ATTRIB_NAME
"index" attribute's local name.- See Also:
-
IS_DEFAULT_ATTRIB_NAME
"isDefault" attribute's local name.- See Also:
-
-
Method Details
-
getIndex
Gets the index for this service.- Returns:
- the index for this service
-
setIndex
Sets the index for this service.- Parameters:
index- the index for this service
-
isDefault
Checks if this is the default service for the service provider.- Returns:
- true if this is the default service, false if not
-
isDefaultXSBoolean
Checks if this is the default service for the service provider.- Returns:
- true if this is the default service, false if not
-
setIsDefault
Sets if this is the default service for the service provider. Boolean values will be marshalled to either "true" or "false".- Parameters:
newIsDefault- true if this is the default service, false if not
-
setIsDefault
Sets if this is the default service for the service provider.- Parameters:
newIsDefault- true if this is the default service, false if not
-
getNames
Gets the list of names this service has.- Returns:
- list of names this service has
-
getDescriptions
Gets the descriptions for this service.- Returns:
- descriptions for this service
-
getRequestedAttributes
Gets the attributes this service requests.- Returns:
- attributes this service requests
-