public abstract class AbstractElementVisitingStage extends AbstractDOMTraversalStage
AbstractDOMTraversalStage.TraversalContext| Modifier and Type | Field and Description |
|---|---|
private Set<QName> |
elementNames
Collection of element names for those elements we will be visiting.
|
| Constructor and Description |
|---|
AbstractElementVisitingStage() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
applicable(Element e)
Indicates whether the visitor should be applied to a particular
Element. |
protected void |
doDestroy() |
Collection<QName> |
getElementNames()
Gets the collection of element names to visit.
|
void |
setElementName(QName name)
Sets a single element name to be visited.
|
void |
setElementNames(Collection<QName> names)
Sets the collection of element names to visit.
|
addError, ancestorEntity, doExecute, visitexecute, getCollectionPredicate, setCollectionPredicatesetIddoInitialize, getIddestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, isDestroyedprotected void doDestroy()
doDestroy in class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent@Nonnull public Collection<QName> getElementNames()
public void setElementNames(@Nonnull Collection<QName> names)
names - collection of element names to visit.public void setElementName(@Nonnull QName name)
setElementNames(java.util.Collection<javax.xml.namespace.QName>) with a singleton set.name - QName for the element to be visited.protected boolean applicable(@Nonnull Element e)
AbstractDOMTraversalStageElement.applicable in class AbstractDOMTraversalStagee - Element to which we may wish to apply the visitortrue if the visitor should be applied to this Element.Copyright © 1999–2016. All rights reserved.