org.benow.web.path.page.inc
Class IncludeTagProcessor

java.lang.Object
  extended by org.benow.web.path.page.TagProcessor
      extended by org.benow.web.path.page.DOMTagProcessor
          extended by org.benow.web.path.page.inc.IncludeTagProcessor
All Implemented Interfaces:
PostProcessor

public class IncludeTagProcessor
extends DOMTagProcessor

Includes a result from an operation within a page.

  <include op="myOp" href="some/dir/somepage.page">
  <myParam>myValue</myParam>
  </include>
  

Author:
andy

Field Summary
 
Fields inherited from class org.benow.web.path.page.TagProcessor
RES_TAG, tag
 
Constructor Summary
IncludeTagProcessor()
           
 
Method Summary
 void postProcess(org.w3c.dom.Element curr, 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

IncludeTagProcessor

public IncludeTagProcessor()
Method Detail

postProcess

public void postProcess(org.w3c.dom.Element curr,
                        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
Description copied from class: DOMTagProcessor
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).

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