Class EndpointImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
se.swedenconnect.opensaml.eidas.metadata.impl.EndpointImpl
- All Implemented Interfaces:
AttributeExtensibleXMLObject,XMLObject,SAMLObject,Endpoint
Implementation class for
Endpoint.- Author:
- Martin Lindström
-
Field Summary
Fields inherited from interface se.swedenconnect.opensaml.eidas.metadata.Endpoint
CONNECTOR_ENDPOINT_TYPE, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ENDPOINT_TYPE_ATTR_NAME, ENTITY_ID_ATTR_NAME, PROXY_SERVICE_ENDPOINT_TYPE, TYPE_LOCAL_NAME, TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEndpointImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the endpoint type URI.Returns the entityID for the endpoint.booleanFor the Swedish eIDAS configuration, theHideFromDiscoveryattribute is used to indicate whether the proxy service within an endpoint should be hidden from the connector "select country view".booleanFor the Swedish eIDAS configuration, theSuspendattribute is used to indicate whether an endpoint has been suspended.voidsetEndpointType(String endpointType) Assigns the endpoint type URI.voidsetEntityID(String entityID) Assigns the entityID for the endpoint.voidsetHideFromDiscovery(boolean hideFlag) Assigns theHideFromDiscoveryattribute.voidsetSuspend(boolean suspendFlag) Assigns theSuspendattribute.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
-
Constructor Details
-
EndpointImpl
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
-
getOrderedChildren
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
getEndpointType
Returns the endpoint type URI.- Specified by:
getEndpointTypein interfaceEndpoint- Returns:
- the endpoint type
-
setEndpointType
Assigns the endpoint type URI.- Specified by:
setEndpointTypein interfaceEndpoint- Parameters:
endpointType- the endpoint type
-
getEntityID
Returns the entityID for the endpoint.- Specified by:
getEntityIDin interfaceEndpoint- Returns:
- the entityID
-
setEntityID
Assigns the entityID for the endpoint.- Specified by:
setEntityIDin interfaceEndpoint- Parameters:
entityID- the entityID
-
getSuspend
public boolean getSuspend()For the Swedish eIDAS configuration, theSuspendattribute is used to indicate whether an endpoint has been suspended. This method is just a shortcut instead of usingAttributeExtensibleXMLObject.getUnknownAttributes().- Specified by:
getSuspendin interfaceEndpoint- Returns:
- if the
Suspendattribute has been set totruethis method returnstrue, otherwisefalse
-
setSuspend
public void setSuspend(boolean suspendFlag) Assigns theSuspendattribute. SeeEndpoint.getSuspend().- Specified by:
setSuspendin interfaceEndpoint- Parameters:
suspendFlag- the suspend flag
-
getHideFromDiscovery
public boolean getHideFromDiscovery()For the Swedish eIDAS configuration, theHideFromDiscoveryattribute is used to indicate whether the proxy service within an endpoint should be hidden from the connector "select country view". This method is just a shortcut instead of usingAttributeExtensibleXMLObject.getUnknownAttributes().- Specified by:
getHideFromDiscoveryin interfaceEndpoint- Returns:
- if the
HideFromDiscoveryattribute has been set totruethis method returnstrue, otherwisefalse
-
setHideFromDiscovery
public void setHideFromDiscovery(boolean hideFlag) Assigns theHideFromDiscoveryattribute. SeeEndpoint.getHideFromDiscovery().- Specified by:
setHideFromDiscoveryin interfaceEndpoint- Parameters:
hideFlag- the "HideFromDiscovery" flag
-
getUnknownAttributes
- Specified by:
getUnknownAttributesin interfaceAttributeExtensibleXMLObject
-