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
Condition s 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 notBefore)
List the value of the NotBefore attribute.
|
void |
setNotOnOrAfter(org.joda.time.DateTime notOnOrAfter)
List the value of the NotOnOrAfter attribute.
|
equals, prepareForAssignment
deregisterValidator, getValidators, registerValidator, validate, validateChildren
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
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deregisterValidator, getValidators, registerValidator, validate
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
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 namespacepublic org.joda.time.DateTime getNotBefore()
getNotBefore
in interface Conditions
public void setNotBefore(org.joda.time.DateTime notBefore)
setNotBefore
in interface Conditions
public org.joda.time.DateTime getNotOnOrAfter()
getNotOnOrAfter
in interface Conditions
public void setNotOnOrAfter(org.joda.time.DateTime notOnOrAfter)
setNotOnOrAfter
in interface Conditions
public List<Condition> getConditions()
Condition
sub elements.getConditions
in interface Conditions
public List<Condition> getConditions(QName typeOrName)
Condition
s with the given schema type or element name.getConditions
in interface Conditions
typeOrName
- the schema type or element namepublic List<AudienceRestrictionCondition> getAudienceRestrictionConditions()
AudienceRestrictionCondition
sub elements.getAudienceRestrictionConditions
in interface Conditions
public List<DoNotCacheCondition> getDoNotCacheConditions()
DoNotCacheCondition
sub elements.getDoNotCacheConditions
in interface Conditions
public List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
Copyright © 2018 JBoss by Red Hat. All rights reserved.