Class EndpointImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.saml2.metadata.impl.EndpointImpl
- All Implemented Interfaces:
AttributeExtensibleXMLObject,ElementExtensibleXMLObject,XMLObject,SAMLObject,Endpoint
- Direct Known Subclasses:
AssertionIDRequestServiceImpl,AttributeServiceImpl,AuthnQueryServiceImpl,AuthzServiceImpl,IndexedEndpointImpl,ManageNameIDServiceImpl,NameIDMappingServiceImpl,RequestInitiatorImpl,SingleLogoutServiceImpl,SingleSignOnServiceImpl
A concrete implementation of
Endpoint.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringBinding URI.private StringEndpoint location URI.private StringResponse location URI.private final AttributeMap"anyAttribute" attributes.private final IndexedXMLObjectChildrenList<XMLObject>child "any" elements.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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEndpointImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the URI identifier for the binding supported by this Endpoint.Gets the URI, usually a URL, for the location of this Endpoint.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.Gets the URI, usually a URL, responses should be sent to this for this Endpoint.Gets a mutable map of the attributes.Gets the list of XMLObjects added to this XMLObject as part of the "any" content model.getUnknownXMLObjects(QName typeOrName) Gets the list of XMLObjects added to this XMLObject as part of the "any" content model, and which match the specified QName.voidsetBinding(String binding) Sets the URI identifier for the binding supported by this Endpoint.voidsetLocation(String theLocation) Sets the URI, usually a URL, for the location of this Endpoint.voidsetResponseLocation(String theLocation) Sets the URI, usually a URL, responses should be sent to this for this Endpoint.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
-
bindingId
Binding URI. -
location
Endpoint location URI. -
responseLocation
Response location URI. -
unknownAttributes
"anyAttribute" attributes. -
unknownChildren
child "any" elements.
-
-
Constructor Details
-
EndpointImpl
protected EndpointImpl(@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
-
getBinding
Gets the URI identifier for the binding supported by this Endpoint.- Specified by:
getBindingin interfaceEndpoint- Returns:
- the URI identifier for the binding supported by this Endpoint
-
setBinding
Sets the URI identifier for the binding supported by this Endpoint.- Specified by:
setBindingin interfaceEndpoint- Parameters:
binding- the URI identifier for the binding supported by this Endpoint
-
getLocation
Gets the URI, usually a URL, for the location of this Endpoint.- Specified by:
getLocationin interfaceEndpoint- Returns:
- the location of this Endpoint
-
setLocation
Sets the URI, usually a URL, for the location of this Endpoint.- Specified by:
setLocationin interfaceEndpoint- Parameters:
theLocation- the location of this Endpoint
-
getResponseLocation
Gets the URI, usually a URL, responses should be sent to this for this Endpoint.- Specified by:
getResponseLocationin interfaceEndpoint- Returns:
- the URI responses should be sent to this for this Endpoint
-
setResponseLocation
Sets the URI, usually a URL, responses should be sent to this for this Endpoint.- Specified by:
setResponseLocationin interfaceEndpoint- Parameters:
theLocation- the URI responses should be sent to this for this Endpoint
-
getUnknownAttributes
Gets a mutable map of the attributes. The map key is the namespace qualified name of the attribute, the map value is the value of the attribute.- Specified by:
getUnknownAttributesin interfaceAttributeExtensibleXMLObject- Returns:
- a map of the attributes
-
getUnknownXMLObjects
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model.- Specified by:
getUnknownXMLObjectsin interfaceElementExtensibleXMLObject- Returns:
- list of XMLObjects added to this XMLObject as part of the "any" content model
-
getUnknownXMLObjects
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model, and which match the specified QName.- Specified by:
getUnknownXMLObjectsin interfaceElementExtensibleXMLObject- Parameters:
typeOrName- the QName of the statements to return- Returns:
- list of XMLObjects added to this XMLObject as part of the "any" content model TODO: think this should be typed List<? extends XMLObject>
-
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
-