|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.xml.AbstractXMLObject
org.opensaml.xml.validation.AbstractValidatingXMLObject
org.opensaml.common.impl.AbstractSAMLObject
org.opensaml.saml2.core.impl.ConditionsImpl
public class ConditionsImpl
Concrete implementation of Conditions
.
Field Summary |
---|
Fields inherited from interface org.opensaml.saml2.core.Conditions |
---|
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, NOT_BEFORE_ATTRIB_NAME, NOT_ON_OR_AFTER_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME |
Constructor Summary | |
---|---|
protected |
ConditionsImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor. |
Method Summary | |
---|---|
List<AudienceRestriction> |
getAudienceRestrictions()
Gets the audience restriction conditions for the assertion. |
List<Condition> |
getConditions()
Gets all the conditions on the assertion. |
org.joda.time.DateTime |
getNotBefore()
Get the date/time before which the assertion is invalid. |
org.joda.time.DateTime |
getNotOnOrAfter()
Gets the date/time on, or after, which the assertion is invalid. |
OneTimeUse |
getOneTimeUse()
Gets the OneTimeUse condition for the assertion. |
List<org.opensaml.xml.XMLObject> |
getOrderedChildren()
|
ProxyRestriction |
getProxyRestriction()
Gets the ProxyRestriction condition for the assertion. |
void |
setNotBefore(org.joda.time.DateTime newNotBefore)
Sets the date/time before which the assertion is invalid. |
void |
setNotOnOrAfter(org.joda.time.DateTime newNotOnOrAfter)
Sets the date/time on, or after, which the assertion is invalid. |
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject |
---|
equals, prepareForAssignment |
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject |
---|
deregisterValidator, getValidators, registerValidator, validate, validateChildren |
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.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 |
Constructor Detail |
---|
protected ConditionsImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespaceMethod Detail |
---|
public List<Condition> getConditions()
getConditions
in interface Conditions
public List<AudienceRestriction> getAudienceRestrictions()
getAudienceRestrictions
in interface Conditions
public OneTimeUse getOneTimeUse()
getOneTimeUse
in interface Conditions
public ProxyRestriction getProxyRestriction()
getProxyRestriction
in interface Conditions
public org.joda.time.DateTime getNotBefore()
getNotBefore
in interface Conditions
public void setNotBefore(org.joda.time.DateTime newNotBefore)
setNotBefore
in interface Conditions
newNotBefore
- the date/time before which the assertion is invalidpublic org.joda.time.DateTime getNotOnOrAfter()
getNotOnOrAfter
in interface Conditions
public void setNotOnOrAfter(org.joda.time.DateTime newNotOnOrAfter)
setNotOnOrAfter
in interface Conditions
newNotOnOrAfter
- the date/time on, or after, which the assertion is invalidpublic List<org.opensaml.xml.XMLObject> getOrderedChildren()
getOrderedChildren
in interface org.opensaml.xml.XMLObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |