|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 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()
|
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 namespaceMethod Detail |
---|
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |