net.shibboleth.metadata.dom.saml
Class EntityDescriptorItemIdPopulationStage

java.lang.Object
  extended by net.shibboleth.metadata.pipeline.AbstractComponent
      extended by net.shibboleth.metadata.pipeline.BaseStage<ItemType>
          extended by net.shibboleth.metadata.pipeline.BaseIteratingStage<DomElementItem>
              extended by net.shibboleth.metadata.dom.saml.EntityDescriptorItemIdPopulationStage
All Implemented Interfaces:
Component, Stage<DomElementItem>

public class EntityDescriptorItemIdPopulationStage
extends BaseIteratingStage<DomElementItem>

A stage which, for each EntityDescriptor collection element, adds an ItemId, with the entity's entity ID, to the metadata item.


Constructor Summary
EntityDescriptorItemIdPopulationStage()
           
 
Method Summary
protected  boolean doExecute(DomElementItem item)
          Processes a given Item.
 
Methods inherited from class net.shibboleth.metadata.pipeline.BaseIteratingStage
doExecute
 
Methods inherited from class net.shibboleth.metadata.pipeline.BaseStage
execute
 
Methods inherited from class net.shibboleth.metadata.pipeline.AbstractComponent
doInitialize, equals, getId, getInitializationInstant, hashCode, initialize, isInitialized, setId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.shibboleth.metadata.pipeline.Component
getId, getInitializationInstant, initialize, isInitialized
 

Constructor Detail

EntityDescriptorItemIdPopulationStage

public EntityDescriptorItemIdPopulationStage()
Method Detail

doExecute

protected boolean doExecute(DomElementItem item)
                     throws StageProcessingException
Processes a given Item.

Specified by:
doExecute in class BaseIteratingStage<DomElementItem>
Parameters:
item - Item on which to operate
Returns:
true if the Item should be retained in the collection, false if not
Throws:
StageProcessingException - thrown if there is a problem with the stage processing


Copyright © 2009-2011. All Rights Reserved.