org.opensaml.saml1.core
Interface Conditions

All Superinterfaces:
SAMLObject, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject
All Known Implementing Classes:
ConditionsImpl

public interface Conditions
extends SAMLObject

This interface defines how the object representing a SAML1 Conditions element behaves.


Field Summary
static String DEFAULT_ELEMENT_LOCAL_NAME
          Element name, no namespace.
static QName DEFAULT_ELEMENT_NAME
          Default element name
static String NOTBEFORE_ATTRIB_NAME
          Name for the NotBefore attribute.
static String NOTONORAFTER_ATTRIB_NAME
          Name for the NotBefore attribute.
static String TYPE_LOCAL_NAME
          Local name of the XSI type
static QName TYPE_NAME
          QName of the XSI type
 
Method Summary
 List<AudienceRestrictionCondition> getAudienceRestrictionConditions()
          Return the List representing all the AudienceRestrictionCondition sub elements.
 List<Condition> getConditions()
          Return the List representing all the Condition sub elements.
 List<Condition> getConditions(QName typeOrName)
          Return the List representing all the Conditions with the given schema type or element name.
 List<DoNotCacheCondition> getDoNotCacheConditions()
          Return the List representing all the DoNotCacheCondition sub elements.
 org.joda.time.DateTime getNotBefore()
          Return the value of the NotBefore attribute.
 org.joda.time.DateTime getNotOnOrAfter()
          Return the value of the NotOnOrAfter attribute.
 void setNotBefore(org.joda.time.DateTime notBefore)
          List the value of the NotBefore attribute.
 void setNotOnOrAfter(org.joda.time.DateTime notOnOrAfter)
          List the value of the NotOnOrAfter attribute.
 
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
 

Field Detail

DEFAULT_ELEMENT_LOCAL_NAME

static final String DEFAULT_ELEMENT_LOCAL_NAME
Element 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


NOTBEFORE_ATTRIB_NAME

static final String NOTBEFORE_ATTRIB_NAME
Name for the NotBefore attribute.

See Also:
Constant Field Values

NOTONORAFTER_ATTRIB_NAME

static final String NOTONORAFTER_ATTRIB_NAME
Name for the NotBefore attribute.

See Also:
Constant Field Values
Method Detail

getNotBefore

org.joda.time.DateTime getNotBefore()
Return the value of the NotBefore attribute.


setNotBefore

void setNotBefore(org.joda.time.DateTime notBefore)
List the value of the NotBefore attribute.


getNotOnOrAfter

org.joda.time.DateTime getNotOnOrAfter()
Return the value of the NotOnOrAfter attribute.


setNotOnOrAfter

void setNotOnOrAfter(org.joda.time.DateTime notOnOrAfter)
List the value of the NotOnOrAfter attribute.


getConditions

List<Condition> getConditions()
Return the List representing all the Condition sub elements.


getConditions

List<Condition> getConditions(QName typeOrName)
Return the List representing all the Conditions with the given schema type or element name.

Parameters:
typeOrName - the schema type or element name

getAudienceRestrictionConditions

List<AudienceRestrictionCondition> getAudienceRestrictionConditions()
Return the List representing all the AudienceRestrictionCondition sub elements.


getDoNotCacheConditions

List<DoNotCacheCondition> getDoNotCacheConditions()
Return the List representing all the DoNotCacheCondition sub elements.



Copyright © 2006-2011 Internet2. All Rights Reserved.