@ThreadSafe public class ElementStrippingStage extends BaseStage<Element>
| Modifier and Type | Field and Description |
|---|---|
private String |
elementName
Name of the element to strip.
|
private String |
elementNamespace
Namespace of the element to strip.
|
| Constructor and Description |
|---|
ElementStrippingStage() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDestroy() |
protected void |
doExecute(Collection<Item<Element>> items)
Performs the stage processing on the given Item collection.
|
protected void |
doInitialize() |
String |
getElementName()
Get the name of the element to strip.
|
String |
getElementNamespace()
Get the namespace of the element to strip.
|
void |
setElementName(String name)
Set the name of the element to strip.
|
void |
setElementNamespace(String namespace)
Set the namespace of the element to strip.
|
execute, getCollectionPredicate, setCollectionPredicatesetIdgetIddestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, isDestroyedprivate String elementNamespace
private String elementName
@Nullable public String getElementNamespace()
public void setElementNamespace(@Nonnull@NotEmpty String namespace)
namespace - namespace of the element to strip@Nullable public String getElementName()
public void setElementName(@Nonnull@NotEmpty String name)
name - the name of the element to stripprotected void doExecute(@Nonnull@NonnullElements Collection<Item<Element>> items) throws StageProcessingException
The stage is guaranteed to be have been initialized and not destroyed when this is invoked.
doExecute in class BaseStage<Element>items - collection to be processedStageProcessingException - thrown if there is an unrecoverable problem when processing the stageprotected void doDestroy()
doDestroy in class net.shibboleth.utilities.java.support.component.AbstractInitializableComponentprotected void doInitialize()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize in class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponentnet.shibboleth.utilities.java.support.component.ComponentInitializationExceptionCopyright © 1999–2016. All rights reserved.