Package org.opensaml.saml.saml1.core
Interface Conditions
-
- All Superinterfaces:
SAMLObject
,org.opensaml.core.xml.XMLObject
public interface Conditions extends SAMLObject
This interface defines how the object representing a SAML1Conditions
element behaves.
-
-
Field Summary
Fields Modifier and Type Field Description 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 QName
NOTBEFORE_ATTRIB_QNAME
QName for the NotBefore attribute.static String
NOTONORAFTER_ATTRIB_NAME
Name for the NotOnOrAfter attribute.static QName
NOTONORAFTER_ATTRIB_QNAME
QName for the NotOnOrAfter attribute.static String
TYPE_LOCAL_NAME
Local name of the XSI type.static QName
TYPE_NAME
QName 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.Instant
getNotBefore()
Get the "not before" condition.Instant
getNotOnOrAfter()
Get the "not on or after" condition.void
setNotBefore(Instant notBefore)
Set the "not before" condition.void
setNotOnOrAfter(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
-
-