Class IndexedEndpointImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.saml2.metadata.impl.EndpointImpl
org.opensaml.saml.saml2.metadata.impl.IndexedEndpointImpl
- All Implemented Interfaces:
AttributeExtensibleXMLObject,ElementExtensibleXMLObject,XMLObject,SAMLObject,Endpoint,IndexedEndpoint
- Direct Known Subclasses:
ArtifactResolutionServiceImpl,AssertionConsumerServiceImpl,DiscoveryResponseImpl
Concrete implementation of
IndexedEndpoint.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IntegerIndex of this endpoint.private XSBooleanValueisDefault attribute.Fields inherited from interface org.opensaml.saml.saml2.metadata.Endpoint
BINDING_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, LOCATION_ATTRIB_NAME, RESPONSE_LOCATION_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAMEFields inherited from interface org.opensaml.saml.saml2.metadata.IndexedEndpoint
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, INDEX_ATTRIB_NAME, IS_DEFAULT_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedIndexedEndpointImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetIndex()Gets the index of the endpoint.Gets whether this is the default endpoint in a list.Gets whether this is the default endpoint in a list.voidSets the index of the endpoint.voidsetIsDefault(Boolean newIsDefault) Sets whether this is the default endpoint in a list.voidsetIsDefault(XSBooleanValue theIsDefault) Sets whether this is the default endpoint in a list.Methods inherited from class org.opensaml.saml.saml2.metadata.impl.EndpointImpl
getBinding, getLocation, getOrderedChildren, getResponseLocation, getUnknownAttributes, getUnknownXMLObjects, getUnknownXMLObjects, setBinding, setLocation, setResponseLocationMethods 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.AttributeExtensibleXMLObject
getUnknownAttributesMethods inherited from interface org.opensaml.core.xml.ElementExtensibleXMLObject
getUnknownXMLObjects, getUnknownXMLObjectsMethods inherited from interface org.opensaml.saml.saml2.metadata.Endpoint
getBinding, getLocation, getResponseLocation, setBinding, setLocation, setResponseLocationMethods 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
-
index
Index of this endpoint. -
isDefault
isDefault attribute.
-
-
Constructor Details
-
IndexedEndpointImpl
protected IndexedEndpointImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable 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 Details
-
getIndex
Gets the index of the endpoint.- Specified by:
getIndexin interfaceIndexedEndpoint- Returns:
- index of the endpoint
-
setIndex
Sets the index of the endpoint.- Specified by:
setIndexin interfaceIndexedEndpoint- Parameters:
theIndex- index of the endpoint
-
isDefault
Gets whether this is the default endpoint in a list.- Specified by:
isDefaultin interfaceIndexedEndpoint- Returns:
- whether this is the default endpoint in a list
-
isDefaultXSBoolean
Gets whether this is the default endpoint in a list.- Specified by:
isDefaultXSBooleanin interfaceIndexedEndpoint- Returns:
- whether this is the default endpoint in a list
-
setIsDefault
Sets whether this is the default endpoint in a list. Boolean values will be marshalled to either "true" or "false".- Specified by:
setIsDefaultin interfaceIndexedEndpoint- Parameters:
newIsDefault- whether this is the default endpoint in a list
-
setIsDefault
Sets whether this is the default endpoint in a list.- Specified by:
setIsDefaultin interfaceIndexedEndpoint- Parameters:
theIsDefault- whether this is the default endpoint in a list
-