org.opensaml.samlext.saml2mdquery.impl
Class QueryDescriptorTypeImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.signature.AbstractSignableXMLObject
          extended by org.opensaml.xml.AbstractValidatingSignableXMLObject
              extended by org.opensaml.common.impl.AbstractSignableSAMLObject
                  extended by org.opensaml.saml2.metadata.impl.RoleDescriptorImpl
                      extended by org.opensaml.samlext.saml2mdquery.impl.QueryDescriptorTypeImpl
All Implemented Interfaces:
SAMLObject, SignableSAMLObject, CacheableSAMLObject, TimeBoundSAMLObject, RoleDescriptor, QueryDescriptorType, AttributeExtensibleXMLObject, SignableXMLObject, ValidatingXMLObject, XMLObject
Direct Known Subclasses:
AttributeQueryDescriptorTypeImpl, AuthnQueryDescriptorTypeImpl, AuthzDecisionQueryDescriptorTypeImpl

public abstract class QueryDescriptorTypeImpl
extends RoleDescriptorImpl
implements QueryDescriptorType

Concrete implementation of QueryDescriptorType.


Field Summary
private  XMLObjectChildrenList<NameIDFormat> nameIDFormats
          Supported NameID formats.
private  XSBooleanValue wantAssertionsSigned
          WantAssertionSigned attribute value.
 
Fields inherited from interface org.opensaml.samlext.saml2mdquery.QueryDescriptorType
TYPE_LOCAL_NAME, TYPE_NAME, WANT_ASSERTIONS_SIGNED_ATTRIB_NAME
 
Fields inherited from interface org.opensaml.saml2.metadata.RoleDescriptor
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ERROR_URL_ATTRIB_NAME, ID_ATTRIB_NAME, PROTOCOL_ENUMERATION_ATTRIB_NAME
 
Fields inherited from interface org.opensaml.saml2.common.TimeBoundSAMLObject
VALID_UNTIL_ATTRIB_NAME, VALID_UNTIL_ATTRIB_QNAME
 
Fields inherited from interface org.opensaml.saml2.common.CacheableSAMLObject
CACHE_DURATION_ATTRIB_NAME, CACHE_DURATION_ATTRIB_QNAME
 
Constructor Summary
protected QueryDescriptorTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 List<NameIDFormat> getNameIDFormat()
          Gets the list of name ID formats supported by this query service.
 List<XMLObject> getOrderedChildren()
          
 Boolean getWantAssertionsSigned()
          Gets whether assertions to this endpoint should be signed.
 XSBooleanValue getWantAssertionsSignedXSBoolean()
          Gets whether assertions to this endpoint should be signed.
 void setWantAssertionsSigned(Boolean newWantAssertionsSigned)
          Sets whether assertions to this endpoint should be signed.
 void setWantAssertionsSigned(XSBooleanValue wantAssertionSigned)
          Sets whether assertions to this endpoint should be signed.
 
Methods inherited from class org.opensaml.saml2.metadata.impl.RoleDescriptorImpl
addSupportedProtocol, getCacheDuration, getContactPersons, getErrorURL, getExtensions, getID, getKeyDescriptors, getOrganization, getSignatureReferenceID, getSupportedProtocols, getUnknownAttributes, getValidUntil, isSupportedProtocol, isValid, removeAllSupportedProtocols, removeSupportedProtocol, removeSupportedProtocols, setCacheDuration, setErrorURL, setExtensions, setID, setOrganization, setValidUntil
 
Methods inherited from class org.opensaml.common.impl.AbstractSignableSAMLObject
equals, prepareForAssignment, setSignature
 
Methods inherited from class org.opensaml.xml.AbstractValidatingSignableXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.signature.AbstractSignableXMLObject
getSignature, isSigned
 
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, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.saml2.metadata.RoleDescriptor
addSupportedProtocol, getContactPersons, getEndpoints, getEndpoints, getErrorURL, getExtensions, getID, getKeyDescriptors, getOrganization, getSupportedProtocols, isSupportedProtocol, removeAllSupportedProtocols, removeSupportedProtocol, removeSupportedProtocols, setErrorURL, setExtensions, setID, setOrganization
 
Methods inherited from interface org.opensaml.common.SignableSAMLObject
getSignatureReferenceID
 
Methods inherited from interface org.opensaml.xml.signature.SignableXMLObject
getSignature, isSigned, setSignature
 
Methods inherited from interface org.opensaml.saml2.common.TimeBoundSAMLObject
getValidUntil, isValid, setValidUntil
 
Methods inherited from interface org.opensaml.saml2.common.CacheableSAMLObject
getCacheDuration, setCacheDuration
 
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, 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

wantAssertionsSigned

private XSBooleanValue wantAssertionsSigned
WantAssertionSigned attribute value.


nameIDFormats

private XMLObjectChildrenList<NameIDFormat> nameIDFormats
Supported NameID formats.

Constructor Detail

QueryDescriptorTypeImpl

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

getWantAssertionsSigned

public Boolean getWantAssertionsSigned()
Gets whether assertions to this endpoint should be signed.

Specified by:
getWantAssertionsSigned in interface QueryDescriptorType
Returns:
whether assertions to this endpoint should be signed

setWantAssertionsSigned

public void setWantAssertionsSigned(Boolean newWantAssertionsSigned)
Sets whether assertions to this endpoint should be signed.

Specified by:
setWantAssertionsSigned in interface QueryDescriptorType
Parameters:
newWantAssertionsSigned - whether assertions to this endpoint should be signed

getWantAssertionsSignedXSBoolean

public XSBooleanValue getWantAssertionsSignedXSBoolean()
Gets whether assertions to this endpoint should be signed.

Specified by:
getWantAssertionsSignedXSBoolean in interface QueryDescriptorType
Returns:
whether assertions to this endpoint should be signed

setWantAssertionsSigned

public void setWantAssertionsSigned(XSBooleanValue wantAssertionSigned)
Sets whether assertions to this endpoint should be signed.

Specified by:
setWantAssertionsSigned in interface QueryDescriptorType
Parameters:
wantAssertionSigned - whether assertions to this endpoint should be signed

getNameIDFormat

public List<NameIDFormat> getNameIDFormat()
Gets the list of name ID formats supported by this query service.

Specified by:
getNameIDFormat in interface QueryDescriptorType
Returns:
the list of name ID formats supported by this query service

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject
Overrides:
getOrderedChildren in class RoleDescriptorImpl


Copyright © 1999-2012. All Rights Reserved.