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 String
Binding URI.private String
Endpoint location URI.private String
Response 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
ConstructorsModifierConstructorDescriptionprotected
EndpointImpl
(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.void
setBinding
(String binding) Sets the URI identifier for the binding supported by this Endpoint.void
setLocation
(String theLocation) Sets the URI, usually a URL, for the location of this Endpoint.void
setResponseLocation
(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, 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.XMLObject
detach, 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
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:
getBinding
in 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:
setBinding
in 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:
getLocation
in interfaceEndpoint
- Returns:
- the location of this Endpoint
-
setLocation
Sets the URI, usually a URL, for the location of this Endpoint.- Specified by:
setLocation
in 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:
getResponseLocation
in 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:
setResponseLocation
in 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:
getUnknownAttributes
in 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:
getUnknownXMLObjects
in 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:
getUnknownXMLObjects
in 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:
getOrderedChildren
in interfaceXMLObject
- Returns:
- ordered list of child elements
-