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 Integer
Index of this endpoint.private XSBooleanValue
isDefault 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_NAME
Fields 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
ConstructorsModifierConstructorDescriptionprotected
IndexedEndpointImpl
(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.void
Sets the index of the endpoint.void
setIsDefault
(Boolean newIsDefault) Sets whether this is the default endpoint in a list.void
setIsDefault
(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, setResponseLocation
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.AttributeExtensibleXMLObject
getUnknownAttributes
Methods inherited from interface org.opensaml.core.xml.ElementExtensibleXMLObject
getUnknownXMLObjects, getUnknownXMLObjects
Methods inherited from interface org.opensaml.saml.saml2.metadata.Endpoint
getBinding, getLocation, getResponseLocation, setBinding, setLocation, setResponseLocation
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, 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
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:
getIndex
in interfaceIndexedEndpoint
- Returns:
- index of the endpoint
-
setIndex
Sets the index of the endpoint.- Specified by:
setIndex
in interfaceIndexedEndpoint
- Parameters:
theIndex
- index of the endpoint
-
isDefault
Gets whether this is the default endpoint in a list.- Specified by:
isDefault
in interfaceIndexedEndpoint
- Returns:
- whether this is the default endpoint in a list
-
isDefaultXSBoolean
Gets whether this is the default endpoint in a list.- Specified by:
isDefaultXSBoolean
in 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:
setIsDefault
in 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:
setIsDefault
in interfaceIndexedEndpoint
- Parameters:
theIsDefault
- whether this is the default endpoint in a list
-