org.opensaml.saml2.metadata
Interface RequestedAttribute

All Superinterfaces:
Attribute, AttributeExtensibleXMLObject, SAMLObject, ValidatingXMLObject, XMLObject
All Known Implementing Classes:
RequestedAttributeImpl

public interface RequestedAttribute
extends Attribute

SAML 2.0 Metadata RequestedAttribute


Field Summary
static String DEFAULT_ELEMENT_LOCAL_NAME
          Local name, no namespace
static QName DEFAULT_ELEMENT_NAME
          Default element name
static String IS_REQUIRED_ATTRIB_NAME
          "isRequired" attribute's local name
static String TYPE_LOCAL_NAME
          Local name of the XSI type
static QName TYPE_NAME
          QName of the XSI type
 
Fields inherited from interface org.opensaml.saml2.core.Attribute
BASIC, FRIENDLY_NAME_ATTRIB_NAME, NAME_ATTTRIB_NAME, NAME_FORMAT_ATTRIB_NAME, UNSPECIFIED, URI_REFERENCE
 
Method Summary
 Boolean isRequired()
          Checks to see if this requested attribute is also required.
 XSBooleanValue isRequiredXSBoolean()
          Checks to see if this requested attribute is also required.
 void setIsRequired(Boolean newIsRequire)
          Sets if this requested attribute is also required.
 void setIsRequired(XSBooleanValue newIsRequire)
          Sets if this requested attribute is also required.
 
Methods inherited from interface org.opensaml.saml2.core.Attribute
getAttributeValues, getFriendlyName, getName, getNameFormat, setFriendlyName, setName, setNameFormat
 
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.AttributeExtensibleXMLObject
getUnknownAttributes
 

Field Detail

DEFAULT_ELEMENT_LOCAL_NAME

static final String DEFAULT_ELEMENT_LOCAL_NAME
Local name, no namespace

See Also:
Constant Field Values

DEFAULT_ELEMENT_NAME

static final QName DEFAULT_ELEMENT_NAME
Default element name


TYPE_LOCAL_NAME

static final String TYPE_LOCAL_NAME
Local name of the XSI type

See Also:
Constant Field Values

TYPE_NAME

static final QName TYPE_NAME
QName of the XSI type


IS_REQUIRED_ATTRIB_NAME

static final String IS_REQUIRED_ATTRIB_NAME
"isRequired" attribute's local name

See Also:
Constant Field Values
Method Detail

isRequired

Boolean isRequired()
Checks to see if this requested attribute is also required.

Returns:
true if this attribute is required

isRequiredXSBoolean

XSBooleanValue isRequiredXSBoolean()
Checks to see if this requested attribute is also required.

Returns:
true if this attribute is required

setIsRequired

void setIsRequired(Boolean newIsRequire)
Sets if this requested attribute is also required. Boolean values will be marshalled to either "true" or "false".

Parameters:
newIsRequire - true if this attribute is required

setIsRequired

void setIsRequired(XSBooleanValue newIsRequire)
Sets if this requested attribute is also required.

Parameters:
newIsRequire - true if this attribute is required


Copyright © 1999-2013. All Rights Reserved.