Changeset 32063 for main

Show
Ignore:
Timestamp:
14.11.2017 13:45:49 (22 months ago)
Author:
kjdon
Message:

added xmltransformer to base action for any actions that need it. will be used by documentaction.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/action/Action.java

    r31137 r32063  
    1414import org.greenstone.gsdl3.util.UserContext; 
    1515import org.greenstone.gsdl3.util.XMLConverter; 
     16import org.greenstone.gsdl3.util.XMLTransformer; 
    1617import org.w3c.dom.Document; 
    1718import org.w3c.dom.Element; 
     
    2930    /** a converter class to parse XML and create Docs */ 
    3031    protected XMLConverter converter = null; 
     32  /** a transformer class in case the action wants to run XSLT itself */ 
     33  protected XMLTransformer transformer = null; 
    3134    /** 
    3235     * a reference to the message router that it must talk to to get info. it 
     
    4043    { 
    4144        this.converter = new XMLConverter(); 
     45        this.transformer = new XMLTransformer(); 
    4246    } 
    4347