net.shibboleth.metadata.dom.saml
Class EntitiesDescriptorDisassemblerStage
java.lang.Object
net.shibboleth.utilities.java.support.component.AbstractDestructableInitializableComponent
net.shibboleth.utilities.java.support.component.AbstractDestructableIdentifiableInitializableComponent
net.shibboleth.metadata.pipeline.BaseStage<DomElementItem>
net.shibboleth.metadata.dom.saml.EntitiesDescriptorDisassemblerStage
- All Implemented Interfaces:
- Stage<DomElementItem>, net.shibboleth.utilities.java.support.component.Component, net.shibboleth.utilities.java.support.component.DestructableComponent, net.shibboleth.utilities.java.support.component.IdentifiableComponent, net.shibboleth.utilities.java.support.component.InitializableComponent
@ThreadSafe
public class EntitiesDescriptorDisassemblerStage
- extends BaseStage<DomElementItem>
A pipeline stage that replaces any SAML EntitiesDescriptor found in the Item collection with the EntityDescriptor
elements contained therein.
|
Field Summary |
private Logger |
log
Class logger. |
| Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractDestructableIdentifiableInitializableComponent |
doInitialize, getId |
| Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractDestructableInitializableComponent |
destroy, doDestroy, initialize, isDestroyed, isInitialized |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.shibboleth.utilities.java.support.component.DestructableComponent |
destroy, isDestroyed |
| Methods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiableComponent |
getId |
| Methods inherited from interface net.shibboleth.utilities.java.support.component.InitializableComponent |
initialize, isInitialized |
log
private final Logger log
- Class logger.
EntitiesDescriptorDisassemblerStage
public EntitiesDescriptorDisassemblerStage()
doExecute
protected void doExecute(@Nonnull@NonnullElements
Collection<DomElementItem> itemCollection)
- Performs the stage processing on the given Item collection.
The stage is guaranteed to be have been initialized and not destroyed when this is invoked.
- Specified by:
doExecute in class BaseStage<DomElementItem>
- Parameters:
itemCollection - collection to be processed
processEntitiesDescriptor
protected void processEntitiesDescriptor(@Nonnull@NonnullElements
Collection<DomElementItem> itemCollection,
@Nonnull
Element entitiesDescriptor)
- Processes an EntitiesDescriptor element. All child EntityDescriptor elements are processed and
EntitiesDescriptors are run back through this method.
- Parameters:
itemCollection - collection to which EntityDescriptor metadata elements are addedentitiesDescriptor - the EntitiesDescriptor to break down
processEntityDescriptor
protected void processEntityDescriptor(@Nonnull@NonnullElements
Collection<DomElementItem> itemCollection,
@Nonnull
Element entityDescriptor)
- Processes an EntityDescriptor element. Creates a
DomElementItem element and adds it to the item
collections.
- Parameters:
itemCollection - collection to which metadata is addedentityDescriptor - entity descriptor to add to the item collection
Copyright © 1999-2012. All Rights Reserved.