Package org.opensaml.saml.saml1.core
Interface Conditions
-
- All Superinterfaces:
SAMLObject,XMLObject
public interface Conditions extends SAMLObject
This interface defines how the object representing a SAML1Conditionselement behaves.
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_ELEMENT_LOCAL_NAMEElement name, no namespace.static QNameDEFAULT_ELEMENT_NAMEDefault element name.static StringNOTBEFORE_ATTRIB_NAMEName for the NotBefore attribute.static QNameNOTBEFORE_ATTRIB_QNAMEQName for the NotBefore attribute.static StringNOTONORAFTER_ATTRIB_NAMEName for the NotOnOrAfter attribute.static QNameNOTONORAFTER_ATTRIB_QNAMEQName for the NotOnOrAfter attribute.static StringTYPE_LOCAL_NAMELocal name of the XSI type.static QNameTYPE_NAMEQName of the XSI type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<AudienceRestrictionCondition>getAudienceRestrictionConditions()Get the audience restriction conditions.List<Condition>getConditions()Get the conditions.List<Condition>getConditions(QName typeOrName)Get the conditions with the given schema type or element name.List<DoNotCacheCondition>getDoNotCacheConditions()Get the "do not cache" conditions.InstantgetNotBefore()Get the "not before" condition.InstantgetNotOnOrAfter()Get the "not on or after" condition.voidsetNotBefore(Instant notBefore)Set the "not before" condition.voidsetNotOnOrAfter(Instant notOnOrAfter)Set the "not on or after" condition.-
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, 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
-
NOTBEFORE_ATTRIB_QNAME
static final QName NOTBEFORE_ATTRIB_QNAME
QName for the NotBefore attribute.
-
NOTONORAFTER_ATTRIB_NAME
static final String NOTONORAFTER_ATTRIB_NAME
Name for the NotOnOrAfter attribute.- See Also:
- Constant Field Values
-
NOTONORAFTER_ATTRIB_QNAME
static final QName NOTONORAFTER_ATTRIB_QNAME
QName for the NotOnOrAfter attribute.
-
-
Method Detail
-
getNotBefore
Instant getNotBefore()
Get the "not before" condition.- Returns:
- the "not before" condition
-
setNotBefore
void setNotBefore(Instant notBefore)
Set the "not before" condition.- Parameters:
notBefore- the "not before" condition
-
getNotOnOrAfter
Instant getNotOnOrAfter()
Get the "not on or after" condition.- Returns:
- the "not on or after" condition
-
setNotOnOrAfter
void setNotOnOrAfter(Instant notOnOrAfter)
Set the "not on or after" condition.- Parameters:
notOnOrAfter- the "not on or after" condition
-
getConditions
List<Condition> getConditions(QName typeOrName)
Get the conditions with the given schema type or element name.- Parameters:
typeOrName- the schema type or element name- Returns:
- the matching conditions
-
getAudienceRestrictionConditions
List<AudienceRestrictionCondition> getAudienceRestrictionConditions()
Get the audience restriction conditions.- Returns:
- the audience restriction conditions
-
getDoNotCacheConditions
List<DoNotCacheCondition> getDoNotCacheConditions()
Get the "do not cache" conditions.- Returns:
- the "do not cache" conditions
-
-