org.milyn.cdres.assemble
Class RemoveElementAU

java.lang.Object
  extended by org.milyn.cdres.assemble.RemoveElementAU
All Implemented Interfaces:
ContentHandler, DOMElementVisitor, DOMVisitAfter, DOMVisitBefore, DOMVisitor, Visitor

@Phase(value=ASSEMBLY)
public class RemoveElementAU
extends Object
implements DOMElementVisitor

Removes a DOM element during the assembly phase.

The element is visited by this Assembly Unit before it's child content has been iterated over.

.cdrl Configuration

 <smooks-resource    useragent="device/profile" selector="target-element-name" 
        path="org.milyn.cdres.assemble.RemoveElementAU" />
See SmooksResourceConfiguration.

Author:
tfennelly

Constructor Summary
RemoveElementAU()
           
 
Method Summary
 void visitAfter(Element element, ExecutionContext request)
           
 void visitBefore(Element element, ExecutionContext executionContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveElementAU

public RemoveElementAU()
Method Detail

visitBefore

public void visitBefore(Element element,
                        ExecutionContext executionContext)
Specified by:
visitBefore in interface DOMVisitBefore

visitAfter

public void visitAfter(Element element,
                       ExecutionContext request)
Specified by:
visitAfter in interface DOMVisitAfter


Copyright © 2011. All Rights Reserved.