|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.shibboleth.utilities.java.support.component.AbstractDestructableInitializableComponent
net.shibboleth.utilities.java.support.component.AbstractDestructableIdentifiableInitializableComponent
net.shibboleth.metadata.pipeline.BaseStage<DomElementItem>
net.shibboleth.metadata.dom.ElementStrippingStage
@ThreadSafe public class ElementStrippingStage
A stage which removes all instances of the specified element from DOM metadata.
| Field Summary | |
|---|---|
private String |
elementName
Name of the element to strip. |
private String |
elementNamespace
Namespace of the element to strip. |
| Constructor Summary | |
|---|---|
ElementStrippingStage()
|
|
| Method Summary | |
|---|---|
protected void |
doDestroy()
|
protected void |
doExecute(Collection<DomElementItem> 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. |
| Methods inherited from class net.shibboleth.metadata.pipeline.BaseStage |
|---|
execute, setId |
| Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractDestructableIdentifiableInitializableComponent |
|---|
getId |
| Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractDestructableInitializableComponent |
|---|
destroy, 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 |
| Field Detail |
|---|
private String elementNamespace
private String elementName
| Constructor Detail |
|---|
public ElementStrippingStage()
| Method Detail |
|---|
@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 strip
protected void doExecute(@Nonnull@NonnullElements
Collection<DomElementItem> items)
throws StageProcessingException
The stage is guaranteed to be have been initialized and not destroyed when this is invoked.
doExecute in class BaseStage<DomElementItem>items - collection to be processed
StageProcessingException - thrown if there is an unrecoverable problem when processing the stageprotected void doDestroy()
doDestroy in class net.shibboleth.utilities.java.support.component.AbstractDestructableInitializableComponent
protected void doInitialize()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize in class net.shibboleth.utilities.java.support.component.AbstractDestructableIdentifiableInitializableComponentnet.shibboleth.utilities.java.support.component.ComponentInitializationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||