org.opensaml.saml2.metadata.impl
Class RequestedAttributeImpl

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.core.impl.AttributeImpl
                  extended by org.opensaml.saml2.metadata.impl.RequestedAttributeImpl
All Implemented Interfaces:
SAMLObject, Attribute, RequestedAttribute, org.opensaml.xml.AttributeExtensibleXMLObject, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject

public class RequestedAttributeImpl
extends AttributeImpl
implements RequestedAttribute

Concrete implementation of RequestedAttribute


Field Summary
 
Fields inherited from interface org.opensaml.saml2.metadata.RequestedAttribute
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, IS_REQUIRED_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Fields inherited from interface org.opensaml.saml2.core.Attribute
BASIC, FRIENDLY_NAME_ATTRIB_NAME, NAME_ATTTRIB_NAME, NAME_FORMAT_ATTRIB_NAME, UNSPECIFIED, URI_REFERENCE
 
Constructor Summary
protected RequestedAttributeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor
 
Method Summary
 List<org.opensaml.xml.XMLObject> getOrderedChildren()
          
 Boolean isRequired()
          Checks to see if this requested attribute is also required.
 org.opensaml.xml.schema.XSBooleanValue isRequiredXSBoolean()
          Checks to see if this requested attribute is also required.
 void setIsRequired(Boolean newIsRequired)
          Sets if this requested attribute is also required.
 void setIsRequired(org.opensaml.xml.schema.XSBooleanValue newIsRequired)
          Sets if this requested attribute is also required.
 
Methods inherited from class org.opensaml.saml2.core.impl.AttributeImpl
getAttributeValues, getFriendlyName, getName, getNameFormat, getUnknownAttributes, setFriendlyName, setName, setNameFormat
 
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.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, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 
Methods inherited from interface org.opensaml.xml.AttributeExtensibleXMLObject
getUnknownAttributes
 

Constructor Detail

RequestedAttributeImpl

protected RequestedAttributeImpl(String namespaceURI,
                                 String elementLocalName,
                                 String namespacePrefix)
Constructor

Parameters:
namespaceURI -
elementLocalName -
namespacePrefix -
Method Detail

isRequired

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

Specified by:
isRequired in interface RequestedAttribute
Returns:
true if this attribute is required

isRequiredXSBoolean

public org.opensaml.xml.schema.XSBooleanValue isRequiredXSBoolean()
Checks to see if this requested attribute is also required.

Specified by:
isRequiredXSBoolean in interface RequestedAttribute
Returns:
true if this attribute is required

setIsRequired

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

Specified by:
setIsRequired in interface RequestedAttribute
Parameters:
newIsRequired - true if this attribute is required

setIsRequired

public void setIsRequired(org.opensaml.xml.schema.XSBooleanValue newIsRequired)
Sets if this requested attribute is also required.

Specified by:
setIsRequired in interface RequestedAttribute
Parameters:
newIsRequired - true if this attribute is required

getOrderedChildren

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

Specified by:
getOrderedChildren in interface org.opensaml.xml.XMLObject
Overrides:
getOrderedChildren in class AttributeImpl


Copyright © 2006-2010 Internet2. All Rights Reserved.