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, org.opensaml.xml.AttributeExtensibleXMLObject, org.opensaml.xml.ElementExtensibleXMLObject, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.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
 
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(java.lang.String namespaceURI, java.lang.String elementLocalName, java.lang.String namespacePrefix)
          Constructor
 
Method Summary
 java.lang.String getBinding()
          Gets the URI identifier for the binding supported by this Endpoint.
 java.lang.String getLocation()
          Gets the URI, usually a URL, for the location of this Endpoint.
 java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()
          
 java.lang.String getResponseLocation()
          Gets the URI, usually a URL, responses should be sent to this for this Endpoint.
 org.opensaml.xml.util.AttributeMap getUnknownAttributes()
          
 java.util.List<org.opensaml.xml.XMLObject> getUnknownXMLObjects()
          
 java.util.List<org.opensaml.xml.XMLObject> getUnknownXMLObjects(javax.xml.namespace.QName typeOrName)
          
 void setBinding(java.lang.String binding)
          Sets the URI identifier for the binding supported by this Endpoint.
 void setLocation(java.lang.String location)
          Sets the URI, usually a URL, for the location of this Endpoint.
 void setResponseLocation(java.lang.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, 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, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, 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, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Constructor Detail

EndpointImpl

protected EndpointImpl(java.lang.String namespaceURI,
                       java.lang.String elementLocalName,
                       java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 org.opensaml.xml.util.AttributeMap getUnknownAttributes()

Specified by:
getUnknownAttributes in interface org.opensaml.xml.AttributeExtensibleXMLObject

getUnknownXMLObjects

public java.util.List<org.opensaml.xml.XMLObject> getUnknownXMLObjects()

Specified by:
getUnknownXMLObjects in interface org.opensaml.xml.ElementExtensibleXMLObject

getUnknownXMLObjects

public java.util.List<org.opensaml.xml.XMLObject> getUnknownXMLObjects(javax.xml.namespace.QName typeOrName)

Specified by:
getUnknownXMLObjects in interface org.opensaml.xml.ElementExtensibleXMLObject

getOrderedChildren

public java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface org.opensaml.xml.XMLObject


Copyright © 2006-2011 Internet2. All Rights Reserved.