public class ConditionsImpl extends AbstractSAMLObject implements Conditions
Conditions interface.DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, NOTBEFORE_ATTRIB_NAME, NOTONORAFTER_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME| Modifier | Constructor and Description |
|---|---|
protected |
ConditionsImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<AudienceRestrictionCondition> |
getAudienceRestrictionConditions()
Return the List representing all the
AudienceRestrictionCondition sub elements. |
List<Condition> |
getConditions()
Return the List representing all the
Condition sub elements. |
List<Condition> |
getConditions(QName typeOrName)
Return the List representing all the
Conditions with the given schema type or element name. |
List<DoNotCacheCondition> |
getDoNotCacheConditions()
Return the List representing all the
DoNotCacheCondition sub elements. |
org.joda.time.DateTime |
getNotBefore()
Return the value of the NotBefore attribute.
|
org.joda.time.DateTime |
getNotOnOrAfter()
Return the value of the NotOnOrAfter attribute.
|
List<XMLObject> |
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
void |
setNotBefore(org.joda.time.DateTime dt)
List the value of the NotBefore attribute.
|
void |
setNotOnOrAfter(org.joda.time.DateTime dt)
List the value of the NotOnOrAfter attribute.
|
equals, hashCode, prepareForAssignmentdetach, 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, setSchemaTypeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitdetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocationprotected 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 namespacepublic org.joda.time.DateTime getNotBefore()
getNotBefore in interface Conditionspublic void setNotBefore(org.joda.time.DateTime dt)
setNotBefore in interface Conditionspublic org.joda.time.DateTime getNotOnOrAfter()
getNotOnOrAfter in interface Conditionspublic void setNotOnOrAfter(org.joda.time.DateTime dt)
setNotOnOrAfter in interface Conditionspublic List<Condition> getConditions()
Condition sub elements.getConditions in interface Conditionspublic List<Condition> getConditions(QName typeOrName)
Conditions with the given schema type or element name.getConditions in interface ConditionstypeOrName - the schema type or element namepublic List<AudienceRestrictionCondition> getAudienceRestrictionConditions()
AudienceRestrictionCondition sub elements.getAudienceRestrictionConditions in interface Conditionspublic List<DoNotCacheCondition> getDoNotCacheConditions()
DoNotCacheCondition sub elements.getDoNotCacheConditions in interface Conditionspublic List<XMLObject> getOrderedChildren()
getOrderedChildren in interface XMLObjectCopyright © 2021. All rights reserved.