Changeset 32063


Ignore:
Timestamp:
2017-11-14T13:45:49+13:00 (4 years ago)
Author:
kjdon
Message:

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

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.