org.opensaml.saml2.metadata.impl
Class IndexedEndpointImpl

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
                  extended by org.opensaml.saml2.metadata.impl.IndexedEndpointImpl
All Implemented Interfaces:
SAMLObject, Endpoint, IndexedEndpoint, AttributeExtensibleXMLObject, ElementExtensibleXMLObject, ValidatingXMLObject, XMLObject
Direct Known Subclasses:
ArtifactResolutionServiceImpl, AssertionConsumerServiceImpl, DiscoveryResponseImpl

public abstract class IndexedEndpointImpl
extends EndpointImpl
implements IndexedEndpoint

Concrete implementation of IndexedEndpoint


Field Summary
private  Integer index
          Index of this endpoint
private  XSBooleanValue isDefault
          isDefault attribute
 
Fields inherited from interface org.opensaml.saml2.metadata.IndexedEndpoint
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, INDEX_ATTRIB_NAME, IS_DEFAULT_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Fields inherited from interface org.opensaml.saml2.metadata.Endpoint
BINDING_ATTRIB_NAME, LOCATION_ATTRIB_NAME, RESPONSE_LOCATION_ATTRIB_NAME
 
Constructor Summary
protected IndexedEndpointImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor
 
Method Summary
 Integer getIndex()
          Gets the index of the endpoint.
 Boolean isDefault()
          Gets whether this is the default endpoint in a list.
 XSBooleanValue isDefaultXSBoolean()
          Gets whether this is the default endpoint in a list.
 void setIndex(Integer index)
          Sets the index of the endpoint.
 void setIsDefault(Boolean newIsDefault)
          Sets whether this is the default endpoint in a list.
 void setIsDefault(XSBooleanValue isDefault)
          Sets whether this is the default endpoint in a list.
 
Methods inherited from class org.opensaml.saml2.metadata.impl.EndpointImpl
getBinding, getLocation, getOrderedChildren, getResponseLocation, getUnknownAttributes, getUnknownXMLObjects, getUnknownXMLObjects, setBinding, setLocation, setResponseLocation
 
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.saml2.metadata.Endpoint
getBinding, getLocation, getResponseLocation, setBinding, setLocation, setResponseLocation
 
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, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 
Methods inherited from interface org.opensaml.xml.ElementExtensibleXMLObject
getUnknownXMLObjects, getUnknownXMLObjects
 
Methods inherited from interface org.opensaml.xml.AttributeExtensibleXMLObject
getUnknownAttributes
 

Field Detail

index

private Integer index
Index of this endpoint


isDefault

private XSBooleanValue isDefault
isDefault attribute

Constructor Detail

IndexedEndpointImpl

protected IndexedEndpointImpl(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

getIndex

public Integer getIndex()
Gets the index of the endpoint.

Specified by:
getIndex in interface IndexedEndpoint
Returns:
index of the endpoint

setIndex

public void setIndex(Integer index)
Sets the index of the endpoint.

Specified by:
setIndex in interface IndexedEndpoint
Parameters:
index - index of the endpoint

isDefault

public Boolean isDefault()
Gets whether this is the default endpoint in a list.

Specified by:
isDefault in interface IndexedEndpoint
Returns:
whether this is the default endpoint in a list

isDefaultXSBoolean

public XSBooleanValue isDefaultXSBoolean()
Gets whether this is the default endpoint in a list.

Specified by:
isDefaultXSBoolean in interface IndexedEndpoint
Returns:
whether this is the default endpoint in a list

setIsDefault

public void setIsDefault(Boolean newIsDefault)
Sets whether this is the default endpoint in a list. Boolean values will be marshalled to either "true" or "false".

Specified by:
setIsDefault in interface IndexedEndpoint
Parameters:
newIsDefault - whether this is the default endpoint in a list

setIsDefault

public void setIsDefault(XSBooleanValue isDefault)
Sets whether this is the default endpoint in a list.

Specified by:
setIsDefault in interface IndexedEndpoint
Parameters:
isDefault - whether this is the default endpoint in a list


Copyright © 1999-2013. All Rights Reserved.