org.benow.web.path.page
Class DOMTagProcessor

java.lang.Object
  extended by org.benow.web.path.page.TagProcessor
      extended by org.benow.web.path.page.DOMTagProcessor
All Implemented Interfaces:
PostProcessor
Direct Known Subclasses:
IncludeTagProcessor, ObjectTagProcessor, ServiceTagProcessor

public abstract class DOMTagProcessor
extends TagProcessor
implements PostProcessor


Field Summary
 
Fields inherited from class org.benow.web.path.page.TagProcessor
RES_TAG, tag
 
Constructor Summary
DOMTagProcessor(java.lang.String tag)
           
 
Method Summary
abstract  void postProcess(org.w3c.dom.Element toPP, org.benow.xml.xsl.XSL sourceXSL, java.util.Map<java.lang.String,java.lang.Object> templateParams, java.lang.String inputXML)
          Post process the given element.
 
Methods inherited from class org.benow.web.path.page.TagProcessor
getTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMTagProcessor

public DOMTagProcessor(java.lang.String tag)
Method Detail

postProcess

public abstract void postProcess(org.w3c.dom.Element toPP,
                                 org.benow.xml.xsl.XSL sourceXSL,
                                 java.util.Map<java.lang.String,java.lang.Object> templateParams,
                                 java.lang.String inputXML)
                          throws java.lang.Exception,
                                 java.lang.Throwable
Post process the given element. Post processed elements should be imported into the owner document of the toPP element and processing should replace the given element (in place).

Parameters:
toPP - nodes within document that match namespace for this processor
sourceXSL - xsl which generated the including page
inputXML - original XML input that was used for including page
templateParams - original params that were passed to including xsl
Throws:
java.lang.Throwable
java.lang.Exception