Class AttributeConsumingServiceImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.saml2.metadata.impl.AttributeConsumingServiceImpl
- All Implemented Interfaces:
XMLObject,SAMLObject,AttributeConsumingService
public class AttributeConsumingServiceImpl
extends AbstractXMLObject
implements AttributeConsumingService
Concrete implementation of
AttributeConsumingService.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IntegerIndex of this service.private XSBooleanValueisDefault attribute of this service.private final XMLObjectChildrenList<RequestedAttribute>RequestedAttribute children.private final XMLObjectChildrenList<ServiceDescription>ServiceDescription children.private final XMLObjectChildrenList<ServiceName>ServiceName children.Fields inherited from interface org.opensaml.saml.saml2.metadata.AttributeConsumingService
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, INDEX_ATTRIB_NAME, IS_DEFAULT_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAttributeConsumingServiceImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
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 an unmodifiable list of child elements in the order that they will appear in the DOM.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 class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, 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, setSchemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, 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
-
index
Index of this service. -
isDefault
isDefault attribute of this service. -
serviceNames
ServiceName children. -
serviceDescriptions
ServiceDescription children. -
requestedAttributes
RequestedAttribute children.
-
-
Constructor Details
-
Method Details
-
getIndex
Gets the index for this service.- Specified by:
getIndexin interfaceAttributeConsumingService- Returns:
- the index for this service
-
setIndex
Sets the index for this service.- Specified by:
setIndexin interfaceAttributeConsumingService- Parameters:
theIndex- the index for this service
-
isDefault
Checks if this is the default service for the service provider.- Specified by:
isDefaultin interfaceAttributeConsumingService- Returns:
- true if this is the default service, false if not
-
isDefaultXSBoolean
Checks if this is the default service for the service provider.- Specified by:
isDefaultXSBooleanin interfaceAttributeConsumingService- 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".- Specified by:
setIsDefaultin interfaceAttributeConsumingService- Parameters:
newIsDefault- true if this is the default service, false if not
-
setIsDefault
Sets if this is the default service for the service provider.- Specified by:
setIsDefaultin interfaceAttributeConsumingService- Parameters:
newIsDefault- true if this is the default service, false if not
-
getNames
Gets the list of names this service has.- Specified by:
getNamesin interfaceAttributeConsumingService- Returns:
- list of names this service has
-
getDescriptions
Gets the descriptions for this service.- Specified by:
getDescriptionsin interfaceAttributeConsumingService- Returns:
- descriptions for this service
-
getRequestedAttributes
Gets the attributes this service requests.- Specified by:
getRequestedAttributesin interfaceAttributeConsumingService- Returns:
- attributes this service requests
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildrenin interfaceXMLObject- Returns:
- ordered list of child elements
-