|
||||||||||
| 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(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.String namespacePrefix)
Constructor. |
| Method Summary | |
|---|---|
java.util.List<AudienceRestriction> |
getAudienceRestrictions()
Gets the audience restriction conditions for the assertion. |
java.util.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. |
java.util.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(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.String namespacePrefix)
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 |
|---|
public java.util.List<Condition> getConditions()
getConditions in interface Conditionspublic java.util.List<AudienceRestriction> getAudienceRestrictions()
getAudienceRestrictions in interface Conditionspublic OneTimeUse getOneTimeUse()
getOneTimeUse in interface Conditionspublic ProxyRestriction getProxyRestriction()
getProxyRestriction in interface Conditionspublic org.joda.time.DateTime getNotBefore()
getNotBefore in interface Conditionspublic void setNotBefore(org.joda.time.DateTime newNotBefore)
setNotBefore in interface ConditionsnewNotBefore - the date/time before which the assertion is invalidpublic org.joda.time.DateTime getNotOnOrAfter()
getNotOnOrAfter in interface Conditionspublic void setNotOnOrAfter(org.joda.time.DateTime newNotOnOrAfter)
setNotOnOrAfter in interface ConditionsnewNotOnOrAfter - the date/time on, or after, which the assertion is invalidpublic java.util.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 | |||||||||