org.opensaml.saml2.metadata.impl
Class IndexedEndpointImpl
java.lang.Object
org.opensaml.xml.AbstractXMLObject
org.opensaml.xml.validation.AbstractValidatingXMLObject
org.opensaml.common.impl.AbstractSAMLObject
org.opensaml.saml2.metadata.impl.EndpointImpl
org.opensaml.saml2.metadata.impl.IndexedEndpointImpl
- All Implemented Interfaces:
- SAMLObject, Endpoint, IndexedEndpoint, AttributeExtensibleXMLObject, ElementExtensibleXMLObject, ValidatingXMLObject, XMLObject
- Direct Known Subclasses:
- ArtifactResolutionServiceImpl, AssertionConsumerServiceImpl
public abstract class IndexedEndpointImpl
- extends EndpointImpl
- implements IndexedEndpoint
Concrete implementation of IndexedEndpoint
Constructor Summary |
protected |
IndexedEndpointImpl(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.String namespacePrefix)
Constructor |
Method Summary |
java.lang.Integer |
getIndex()
Gets the index of the endpoint. |
java.lang.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(java.lang.Integer index)
Sets the index of the endpoint. |
void |
setIsDefault(java.lang.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.xml.AbstractXMLObject |
addNamespace, 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.XMLObject |
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation |
IndexedEndpointImpl
protected IndexedEndpointImpl(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.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
getIndex
public java.lang.Integer getIndex()
- Gets the index of the endpoint.
- Specified by:
getIndex
in interface IndexedEndpoint
- Returns:
- index of the endpoint
setIndex
public void setIndex(java.lang.Integer index)
- Sets the index of the endpoint.
- Specified by:
setIndex
in interface IndexedEndpoint
- Parameters:
index
- index of the endpoint
isDefault
public java.lang.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(java.lang.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