org.opensaml.saml2.metadata.impl
Class EndpointImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.common.impl.AbstractSAMLObject
              extended by org.opensaml.saml2.metadata.impl.EndpointImpl
All Implemented Interfaces:
SAMLObject, Endpoint, AttributeExtensibleXMLObject, ElementExtensibleXMLObject, ValidatingXMLObject, XMLObject
Direct Known Subclasses:
AssertionIDRequestServiceImpl, AttributeServiceImpl, AuthnQueryServiceImpl, AuthzServiceImpl, IndexedEndpointImpl, ManageNameIDServiceImpl, NameIDMappingServiceImpl, SingleLogoutServiceImpl, SingleSignOnServiceImpl

public abstract class EndpointImpl
extends AbstractSAMLObject
implements Endpoint

A concrete implementation of Endpoint


Field Summary
private  String bindingId
          Binding URI
private  String location
          Endpoint location URI
private  String responseLocation
          Response location URI
private  AttributeMap unknownAttributes
          "anyAttribute" attributes
private  IndexedXMLObjectChildrenList<XMLObject> unknownChildren
          child "any" elements
 
Fields inherited from interface org.opensaml.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
protected EndpointImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor
 
Method Summary
 String getBinding()
          Gets the URI identifier for the binding supported by this Endpoint.
 String getLocation()
          Gets the URI, usually a URL, for the location of this Endpoint.
 List<XMLObject> getOrderedChildren()
          
 String getResponseLocation()
          Gets the URI, usually a URL, responses should be sent to this for this Endpoint.
 AttributeMap getUnknownAttributes()
          
 List<XMLObject> getUnknownXMLObjects()
          
 List<XMLObject> getUnknownXMLObjects(QName typeOrName)
          
 void setBinding(String binding)
          Sets the URI identifier for the binding supported by this Endpoint.
 void setLocation(String location)
          Sets the URI, usually a URL, for the location of this Endpoint.
 void setResponseLocation(String location)
          Sets the URI, usually a URL, responses should be sent to this for this Endpoint.
 
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject
equals, hashCode, prepareForAssignment
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

bindingId

private String bindingId
Binding URI


location

private String location
Endpoint location URI


responseLocation

private String responseLocation
Response location URI


unknownAttributes

private final AttributeMap unknownAttributes
"anyAttribute" attributes


unknownChildren

private final IndexedXMLObjectChildrenList<XMLObject> unknownChildren
child "any" elements

Constructor Detail

EndpointImpl

protected EndpointImpl(String namespaceURI,
                       String elementLocalName,
                       String namespacePrefix)
Constructor

Parameters:
namespaceURI - the namespace the element is in
elementLocalName - the local name of the XML element this Object represents
namespacePrefix - the prefix for the given namespace
Method Detail

getBinding

public String getBinding()
Gets the URI identifier for the binding supported by this Endpoint.

Specified by:
getBinding in interface Endpoint
Returns:
the URI identifier for the binding supported by this Endpoint

setBinding

public void setBinding(String binding)
Sets the URI identifier for the binding supported by this Endpoint.

Specified by:
setBinding in interface Endpoint
Parameters:
binding - the URI identifier for the binding supported by this Endpoint

getLocation

public String getLocation()
Gets the URI, usually a URL, for the location of this Endpoint.

Specified by:
getLocation in interface Endpoint
Returns:
the location of this Endpoint

setLocation

public void setLocation(String location)
Sets the URI, usually a URL, for the location of this Endpoint.

Specified by:
setLocation in interface Endpoint
Parameters:
location - the location of this Endpoint

getResponseLocation

public String getResponseLocation()
Gets the URI, usually a URL, responses should be sent to this for this Endpoint.

Specified by:
getResponseLocation in interface Endpoint
Returns:
the URI responses should be sent to this for this Endpoint

setResponseLocation

public void setResponseLocation(String location)
Sets the URI, usually a URL, responses should be sent to this for this Endpoint.

Specified by:
setResponseLocation in interface Endpoint
Parameters:
location - the URI responses should be sent to this for this Endpoint

getUnknownAttributes

public AttributeMap getUnknownAttributes()

Specified by:
getUnknownAttributes in interface AttributeExtensibleXMLObject

getUnknownXMLObjects

public List<XMLObject> getUnknownXMLObjects()

Specified by:
getUnknownXMLObjects in interface ElementExtensibleXMLObject

getUnknownXMLObjects

public List<XMLObject> getUnknownXMLObjects(QName typeOrName)

Specified by:
getUnknownXMLObjects in interface ElementExtensibleXMLObject

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject


Copyright © 1999-2013. All Rights Reserved.