| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final Set | visitedElements
set of visited ElementExps |
| Access | Constructor and Description |
|---|---|
| public | RefExpRemover(ExpressionPool pool, boolean
If true, this object behaves destructively. It recursively visits all the reachable expressions and removes ReferenceExps. In this process, this object changes the content model of ElementExps. If false, this object doesn't visit the content models of child elements, therefore, it behaves non-destructively. Nothing in the original expression will be touched.
|
| Modifier and Type | Method and Description |
|---|---|
| public Expression | |
| public Expression | |
| public Expression | |
| public Expression |
| recursive | back to summary |
|---|---|
| private final boolean recursive | |
| visitedElements | back to summary |
|---|---|
| private final Set<ElementExp> visitedElements set of visited ElementExps | |
| RefExpRemover | back to summary |
|---|---|
public RefExpRemover(ExpressionPool pool, boolean _recursive)
| |
| onAttribute | back to summary |
|---|---|
| public Expression onAttribute(AttributeExp exp) Implements com. | |
| onElement | back to summary |
|---|---|
| public Expression onElement(ElementExp exp) Implements com. | |
| onOther | back to summary |
|---|---|
| public Expression onOther(OtherExp exp) Implements com. | |
| onRef | back to summary |
|---|---|
| public Expression onRef(ReferenceExp exp) Implements com. | |