org.opensaml.saml1.core.impl
Class RequestAbstractTypeImpl

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.saml1.core.impl.RequestAbstractTypeImpl
All Implemented Interfaces:
SAMLObject, SignableSAMLObject, RequestAbstractType, SignableXMLObject, ValidatingXMLObject, XMLObject
Direct Known Subclasses:
RequestImpl

public abstract class RequestAbstractTypeImpl
extends AbstractSignableSAMLObject
implements RequestAbstractType

Implementation of RequestAbstractType.


Field Summary
private  String id
          Contains the ID
private  org.joda.time.DateTime issueInstant
          Containt the IssueInstant
 XMLObjectChildrenList<RespondWith> respondWiths
          Contains the respondWiths
private  SAMLVersion version
          Version of this SAML message
 
Fields inherited from interface org.opensaml.saml1.core.RequestAbstractType
ID_ATTRIB_NAME, ISSUEINSTANT_ATTRIB_NAME, MAJORVERSION_ATTRIB_NAME, MINORVERSION_ATTRIB_NAME
 
Constructor Summary
protected RequestAbstractTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor
 
Method Summary
 String getID()
          Get the ID
 org.joda.time.DateTime getIssueInstant()
          Get the issue instant
 int getMajorVersion()
          Gets the major version of this SAML message.
 int getMinorVersion()
          Gets the minor version of this SAML message.
 List<XMLObject> getOrderedChildren()
          
 List<RespondWith> getRespondWiths()
          Return the list of RespondWith elements
 String getSignatureReferenceID()
          Gets the value of the ID attribute for this SAML object which will be used as its signature reference.
 void setID(String id)
          Set the ID
 void setIssueInstant(org.joda.time.DateTime instant)
          Set the issue instant
 void setVersion(SAMLVersion newVersion)
          
 
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.xml.signature.SignableXMLObject
getSignature, isSigned, setSignature
 
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
 

Field Detail

id

private String id
Contains the ID


issueInstant

private org.joda.time.DateTime issueInstant
Containt the IssueInstant


version

private SAMLVersion version
Version of this SAML message


respondWiths

public final XMLObjectChildrenList<RespondWith> respondWiths
Contains the respondWiths

Constructor Detail

RequestAbstractTypeImpl

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

getID

public String getID()
Get the ID

Specified by:
getID in interface RequestAbstractType

setID

public void setID(String id)
Set the ID

Specified by:
setID in interface RequestAbstractType

getMajorVersion

public int getMajorVersion()
Gets the major version of this SAML message.

Specified by:
getMajorVersion in interface RequestAbstractType
Returns:
the major version of this SAML message

getMinorVersion

public int getMinorVersion()
Gets the minor version of this SAML message.

Specified by:
getMinorVersion in interface RequestAbstractType
Returns:
the minor version of this SAML message

setVersion

public void setVersion(SAMLVersion newVersion)

Specified by:
setVersion in interface RequestAbstractType

getIssueInstant

public org.joda.time.DateTime getIssueInstant()
Get the issue instant

Specified by:
getIssueInstant in interface RequestAbstractType

setIssueInstant

public void setIssueInstant(org.joda.time.DateTime instant)
Set the issue instant

Specified by:
setIssueInstant in interface RequestAbstractType

getRespondWiths

public List<RespondWith> getRespondWiths()
Return the list of RespondWith elements

Specified by:
getRespondWiths in interface RequestAbstractType

getSignatureReferenceID

public String getSignatureReferenceID()
Gets the value of the ID attribute for this SAML object which will be used as its signature reference.

Specified by:
getSignatureReferenceID in interface SignableSAMLObject
Returns:
the value of this SAMLObject ID attribute

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject


Copyright © 1999-2012. All Rights Reserved.