Class AbstractMetadataProvider.EntityDescriptorIterator
java.lang.Object
se.swedenconnect.opensaml.saml2.metadata.provider.AbstractMetadataProvider.EntityDescriptorIterator
- All Implemented Interfaces:
Iterable<org.opensaml.saml.saml2.metadata.EntityDescriptor>
,Iterator<org.opensaml.saml.saml2.metadata.EntityDescriptor>
- Enclosing class:
AbstractMetadataProvider
protected static class AbstractMetadataProvider.EntityDescriptorIterator
extends Object
implements Iterator<org.opensaml.saml.saml2.metadata.EntityDescriptor>, Iterable<org.opensaml.saml.saml2.metadata.EntityDescriptor>
Iterates over EntitiesDescriptor or EntityDescriptor.
-
Constructor Summary
ConstructorDescriptionEntityDescriptorIterator
(org.opensaml.core.xml.XMLObject metadata) Constructor.EntityDescriptorIterator
(org.opensaml.core.xml.XMLObject metadata, QName role) Constructor. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
EntityDescriptorIterator
public EntityDescriptorIterator(org.opensaml.core.xml.XMLObject metadata) Constructor.- Parameters:
metadata
- the metadata to iterate
-
EntityDescriptorIterator
Constructor.- Parameters:
metadata
- the metadata to iteraterole
- role requirements
-
-
Method Details
-
filterRole
-
hasNext
public boolean hasNext() -
next
public org.opensaml.saml.saml2.metadata.EntityDescriptor next() -
iterator
-