org.opensaml.saml2.metadata
Interface AttributeConsumingService

All Superinterfaces:
SAMLObject, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject
All Known Implementing Classes:
AttributeConsumingServiceImpl

public interface AttributeConsumingService
extends SAMLObject

SAML 2.0 Metadata AttributeAuthorityDescriptor


Field Summary
static java.lang.String DEFAULT_ELEMENT_LOCAL_NAME
          Element name, no namespace
static javax.xml.namespace.QName DEFAULT_ELEMENT_NAME
          Default element name
static java.lang.String INDEX_ATTRIB_NAME
          "index" attribute's local name
static java.lang.String IS_DEFAULT_ATTRIB_NAME
          "isDefault" attribute's local name
static java.lang.String TYPE_LOCAL_NAME
          Local name of the XSI type
static javax.xml.namespace.QName TYPE_NAME
          QName of the XSI type
 
Method Summary
 java.util.List<ServiceDescription> getDescriptions()
          Gets the descriptions for this service.
 int getIndex()
          Gets the index for this service.
 java.util.List<ServiceName> getNames()
          Gets the list of names this service has.
 java.util.List<RequestedAttribute> getRequestAttributes()
          Gets the attributes this service requests.
 java.lang.Boolean isDefault()
          Checks if this is the default service for the service provider.
 org.opensaml.xml.schema.XSBooleanValue isDefaultXSBoolean()
          Checks if this is the default service for the service provider.
 void setIndex(int index)
          Sets the index for this service.
 void setIsDefault(java.lang.Boolean newIsDefault)
          Sets if this is the default service for the service provider.
 void setIsDefault(org.opensaml.xml.schema.XSBooleanValue newIsDefault)
          Sets if this is the default service for the service provider.
 
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, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

DEFAULT_ELEMENT_LOCAL_NAME

static final java.lang.String DEFAULT_ELEMENT_LOCAL_NAME
Element name, no namespace

See Also:
Constant Field Values

DEFAULT_ELEMENT_NAME

static final javax.xml.namespace.QName DEFAULT_ELEMENT_NAME
Default element name


TYPE_LOCAL_NAME

static final java.lang.String TYPE_LOCAL_NAME
Local name of the XSI type

See Also:
Constant Field Values

TYPE_NAME

static final javax.xml.namespace.QName TYPE_NAME
QName of the XSI type


INDEX_ATTRIB_NAME

static final java.lang.String INDEX_ATTRIB_NAME
"index" attribute's local name

See Also:
Constant Field Values

IS_DEFAULT_ATTRIB_NAME

static final java.lang.String IS_DEFAULT_ATTRIB_NAME
"isDefault" attribute's local name

See Also:
Constant Field Values
Method Detail

getIndex

int getIndex()
Gets the index for this service.

Returns:
the index for this service

setIndex

void setIndex(int index)
Sets the index for this service.

Parameters:
index - the index for this service

isDefault

java.lang.Boolean isDefault()
Checks if this is the default service for the service provider.

Returns:
true if this is the default service, false if not

isDefaultXSBoolean

org.opensaml.xml.schema.XSBooleanValue isDefaultXSBoolean()
Checks if this is the default service for the service provider.

Returns:
true if this is the default service, false if not

setIsDefault

void setIsDefault(java.lang.Boolean newIsDefault)
Sets if this is the default service for the service provider. Boolean values will be marshalled to either "true" or "false".

Parameters:
newIsDefault - true if this is the default service, false if not

setIsDefault

void setIsDefault(org.opensaml.xml.schema.XSBooleanValue newIsDefault)
Sets if this is the default service for the service provider.

Parameters:
newIsDefault - true if this is the default service, false if not

getNames

java.util.List<ServiceName> getNames()
Gets the list of names this service has.

Returns:
list of names this service has

getDescriptions

java.util.List<ServiceDescription> getDescriptions()
Gets the descriptions for this service.

Returns:
descriptions for this service

getRequestAttributes

java.util.List<RequestedAttribute> getRequestAttributes()
Gets the attributes this service requests.

Returns:
attributes this service requests


Copyright © 2006-2009 Internet2. All Rights Reserved.