|
||||||||||
| 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.saml1.core.impl.ConditionsImpl
public class ConditionsImpl
This is a concrete implementation of the Conditions interface.
| Field Summary | |
|---|---|
private IndexedXMLObjectChildrenList<Condition> |
conditions
Set containing all the Conditions |
private org.joda.time.DateTime |
notBefore
Value saved in the NotBefore attribute |
private org.joda.time.DateTime |
notOnOrAfter
Value saved in the NotOnOrAfter attribute |
| Fields inherited from interface org.opensaml.saml1.core.Conditions |
|---|
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, NOTBEFORE_ATTRIB_NAME, NOTONORAFTER_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME |
| Constructor Summary | |
|---|---|
protected |
ConditionsImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor |
| Method Summary | |
|---|---|
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()
|
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. |
| Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject |
|---|
equals, hashCode, prepareForAssignment |
| Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject |
|---|
deregisterValidator, getValidators, registerValidator, validate, validateChildren |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, 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 |
| Field Detail |
|---|
private org.joda.time.DateTime notBefore
private org.joda.time.DateTime notOnOrAfter
private final IndexedXMLObjectChildrenList<Condition> conditions
| 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 namespace| Method Detail |
|---|
public org.joda.time.DateTime getNotBefore()
getNotBefore in interface Conditionspublic void setNotBefore(org.joda.time.DateTime notBefore)
setNotBefore in interface Conditionspublic org.joda.time.DateTime getNotOnOrAfter()
getNotOnOrAfter in interface Conditionspublic void setNotOnOrAfter(org.joda.time.DateTime notOnOrAfter)
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 XMLObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||