Class ConditionsImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.saml.saml1.core.impl.ConditionsImpl
-
- All Implemented Interfaces:
org.opensaml.core.xml.XMLObject,org.opensaml.saml.common.SAMLObject,org.opensaml.saml.saml1.core.Conditions
public class ConditionsImpl extends org.opensaml.core.xml.AbstractXMLObject implements org.opensaml.saml.saml1.core.ConditionsThis is a concrete implementation of theConditionsinterface.
-
-
Field Summary
Fields Modifier and Type Field Description private org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.saml.saml1.core.Condition>conditionsSet containing all the Conditions.private InstantnotBeforeValue saved in the NotBefore attribute.private InstantnotOnOrAfterValue saved in the NotOnOrAfter attribute.
-
Constructor Summary
Constructors Modifier Constructor Description protectedConditionsImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.opensaml.saml.saml1.core.AudienceRestrictionCondition>getAudienceRestrictionConditions()List<org.opensaml.saml.saml1.core.Condition>getConditions()List<org.opensaml.saml.saml1.core.Condition>getConditions(QName typeOrName)List<org.opensaml.saml.saml1.core.DoNotCacheCondition>getDoNotCacheConditions()InstantgetNotBefore()InstantgetNotOnOrAfter()List<org.opensaml.core.xml.XMLObject>getOrderedChildren()voidsetNotBefore(Instant dt)voidsetNotOnOrAfter(Instant dt)-
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
-
-
-
Field Detail
-
notBefore
private Instant notBefore
Value saved in the NotBefore attribute.
-
notOnOrAfter
private Instant notOnOrAfter
Value saved in the NotOnOrAfter attribute.
-
conditions
private final org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.saml.saml1.core.Condition> conditions
Set containing all the Conditions.
-
-
Constructor Detail
-
ConditionsImpl
protected ConditionsImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
Constructor.- Parameters:
namespaceURI- the namespace the element is inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Detail
-
getNotBefore
public Instant getNotBefore()
- Specified by:
getNotBeforein interfaceorg.opensaml.saml.saml1.core.Conditions
-
setNotBefore
public void setNotBefore(Instant dt)
- Specified by:
setNotBeforein interfaceorg.opensaml.saml.saml1.core.Conditions
-
getNotOnOrAfter
public Instant getNotOnOrAfter()
- Specified by:
getNotOnOrAfterin interfaceorg.opensaml.saml.saml1.core.Conditions
-
setNotOnOrAfter
public void setNotOnOrAfter(Instant dt)
- Specified by:
setNotOnOrAfterin interfaceorg.opensaml.saml.saml1.core.Conditions
-
getConditions
public List<org.opensaml.saml.saml1.core.Condition> getConditions()
- Specified by:
getConditionsin interfaceorg.opensaml.saml.saml1.core.Conditions
-
getConditions
public List<org.opensaml.saml.saml1.core.Condition> getConditions(@Nonnull QName typeOrName)
- Specified by:
getConditionsin interfaceorg.opensaml.saml.saml1.core.Conditions
-
getAudienceRestrictionConditions
public List<org.opensaml.saml.saml1.core.AudienceRestrictionCondition> getAudienceRestrictionConditions()
- Specified by:
getAudienceRestrictionConditionsin interfaceorg.opensaml.saml.saml1.core.Conditions
-
getDoNotCacheConditions
public List<org.opensaml.saml.saml1.core.DoNotCacheCondition> getDoNotCacheConditions()
- Specified by:
getDoNotCacheConditionsin interfaceorg.opensaml.saml.saml1.core.Conditions
-
getOrderedChildren
public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceorg.opensaml.core.xml.XMLObject
-
-