Class AttributeQueryImpl
- java.lang.Object
-
- com.sun.identity.saml2.protocol.impl.RequestAbstractImpl
-
- com.sun.identity.saml2.protocol.impl.SubjectQueryAbstractImpl
-
- com.sun.identity.saml2.protocol.impl.AttributeQueryImpl
-
- All Implemented Interfaces:
AttributeQuery,RequestAbstract,SubjectQueryAbstract
public class AttributeQueryImpl extends SubjectQueryAbstractImpl implements AttributeQuery
-
-
Field Summary
Fields Modifier and Type Field Description protected Listattributes-
Fields inherited from class com.sun.identity.saml2.protocol.impl.SubjectQueryAbstractImpl
subject
-
Fields inherited from class com.sun.identity.saml2.protocol.impl.RequestAbstractImpl
consent, destinationURI, elementName, extensions, isMutable, isSignatureValid, isSigned, issueInstant, nameID, publicKey, requestId, signatureString, signedXMLString, version
-
-
Constructor Summary
Constructors Constructor Description AttributeQueryImpl()Constructor to createAttributeQueryObject .AttributeQueryImpl(String xmlString)Constructor to createAttributeQueryObject.AttributeQueryImpl(Element element)Constructor to createAttributeQueryObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListgetAttributes()ReturnsAttributeobjects.protected voidgetXMLString(Set namespaces, StringBuffer attrs, StringBuffer childElements, boolean includeNSPrefix, boolean declareNS)protected voidparseDOMAttributes(Element element)Parses attributes of the Docuemnt Element for this object.protected voidparseDOMChileElements(ListIterator iter)Parses child elements of the Docuemnt Element for this object.voidsetAttributes(List attributes)Sets theAttributeobjects.-
Methods inherited from class com.sun.identity.saml2.protocol.impl.SubjectQueryAbstractImpl
getSubject, setSubject, validateData
-
Methods inherited from class com.sun.identity.saml2.protocol.impl.RequestAbstractImpl
getAttributesString, getConsent, getDestination, getElements, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, isMutable, isSignatureValid, isSigned, makeImmutable, parseDOMElement, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion, sign, toXMLString, toXMLString, validateID, validateIssueInstant, validateVersion
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sun.identity.saml2.protocol.RequestAbstract
getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, isMutable, isSignatureValid, isSigned, makeImmutable, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion, sign, toXMLString, toXMLString
-
Methods inherited from interface com.sun.identity.saml2.protocol.SubjectQueryAbstract
getSubject, setSubject
-
-
-
-
Field Detail
-
attributes
protected List attributes
-
-
Constructor Detail
-
AttributeQueryImpl
public AttributeQueryImpl()
Constructor to createAttributeQueryObject .
-
AttributeQueryImpl
public AttributeQueryImpl(Element element) throws SAML2Exception
Constructor to createAttributeQueryObject.- Parameters:
element- the Document Element Object.- Throws:
SAML2Exception- if error creatingAttributeQueryObject.
-
AttributeQueryImpl
public AttributeQueryImpl(String xmlString) throws SAML2Exception
Constructor to createAttributeQueryObject.- Parameters:
xmlString- the XML String.- Throws:
SAML2Exception- if error creatingAttributeQueryObject.
-
-
Method Detail
-
getAttributes
public List getAttributes()
ReturnsAttributeobjects.- Specified by:
getAttributesin interfaceAttributeQuery- Returns:
- the
Attributeobjects. - See Also:
setAttributes(List)
-
setAttributes
public void setAttributes(List attributes) throws SAML2Exception
Sets theAttributeobjects.- Specified by:
setAttributesin interfaceAttributeQuery- Parameters:
attributes- the newAttributeobjects.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getAttributes()
-
getXMLString
protected void getXMLString(Set namespaces, StringBuffer attrs, StringBuffer childElements, boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
- Overrides:
getXMLStringin classSubjectQueryAbstractImpl- Throws:
SAML2Exception
-
parseDOMAttributes
protected void parseDOMAttributes(Element element) throws SAML2Exception
Parses attributes of the Docuemnt Element for this object.- Overrides:
parseDOMAttributesin classSubjectQueryAbstractImpl- Parameters:
element- the Document Element of this object.- Throws:
SAML2Exception- if error parsing the Document Element.
-
parseDOMChileElements
protected void parseDOMChileElements(ListIterator iter) throws SAML2Exception
Parses child elements of the Docuemnt Element for this object.- Overrides:
parseDOMChileElementsin classSubjectQueryAbstractImpl- Parameters:
iter- the child elements iterator.- Throws:
SAML2Exception- if error parsing the Document Element.
-
-