Class Xslt

  • All Implemented Interfaces:
    Cloneable, IAttributes, ICheckResultSource, IExtensionData, IHasLogChannel, ILoggingObject, IVariables, org.apache.hop.resource.IResourceHolder, org.apache.hop.workflow.action.IAction

    @Action(id="XSLT",
            name="i18n::XSLT.Name",
            description="i18n::XSLT.Description",
            image="XSLT.svg",
            categoryDescription="i18n::XSLT.Category",
            keywords="i18n::Xslt.keyword",
            documentationUrl="/workflow/actions/xslt.html")
    public class Xslt
    extends org.apache.hop.workflow.action.ActionBase
    implements Cloneable, org.apache.hop.workflow.action.IAction
    This defines a 'xslt' job entry.
    • Field Detail

      • FACTORY_JAXP

        public static String FACTORY_JAXP
      • FACTORY_SAXON

        public static String FACTORY_SAXON
      • ifFileExists

        public int ifFileExists
    • Constructor Detail

      • Xslt

        public Xslt​(String n)
      • Xslt

        public Xslt()
    • Method Detail

      • allocate

        public void allocate​(int nrParameters,
                             int outputProps)
      • clone

        public Object clone()
        Specified by:
        clone in interface org.apache.hop.workflow.action.IAction
        Overrides:
        clone in class org.apache.hop.workflow.action.ActionBase
      • getXml

        public String getXml()
        Specified by:
        getXml in interface org.apache.hop.workflow.action.IAction
        Overrides:
        getXml in class org.apache.hop.workflow.action.ActionBase
      • getXSLTFactory

        public String getXSLTFactory()
      • setXSLTFactory

        public void setXSLTFactory​(String xsltfactoryin)
      • getRealxmlfilename

        public String getRealxmlfilename()
      • getoutputfilename

        public String getoutputfilename()
      • isFilenamesFromPrevious

        public boolean isFilenamesFromPrevious()
      • setFilenamesFromPrevious

        public void setFilenamesFromPrevious​(boolean filenamesfromprevious)
      • getRealxslfilename

        public String getRealxslfilename()
      • execute

        public Result execute​(Result previousResult,
                              int nr)
                       throws HopException
        Specified by:
        execute in interface org.apache.hop.workflow.action.IAction
        Throws:
        HopException
      • isEvaluation

        public boolean isEvaluation()
        Specified by:
        isEvaluation in interface org.apache.hop.workflow.action.IAction
        Overrides:
        isEvaluation in class org.apache.hop.workflow.action.ActionBase
      • setxmlFilename

        public void setxmlFilename​(String filename)
      • getxmlFilename

        public String getxmlFilename()
      • getoutputFilename

        public String getoutputFilename()
      • setoutputFilename

        public void setoutputFilename​(String outputfilename)
      • setxslFilename

        public void setxslFilename​(String filename)
      • getxslFilename

        public String getxslFilename()
      • setAddFileToResult

        public void setAddFileToResult​(boolean addfiletoresultin)
      • isAddFileToResult

        public boolean isAddFileToResult()
      • getResourceDependencies

        public List<org.apache.hop.resource.ResourceReference> getResourceDependencies​(IVariables variables,
                                                                                       org.apache.hop.workflow.WorkflowMeta workflowMeta)
        Specified by:
        getResourceDependencies in interface org.apache.hop.workflow.action.IAction
        Overrides:
        getResourceDependencies in class org.apache.hop.workflow.action.ActionBase
      • check

        public void check​(List<ICheckResult> remarks,
                          org.apache.hop.workflow.WorkflowMeta jobMeta,
                          IVariables variables,
                          IHopMetadataProvider metadataProvider)
        Specified by:
        check in interface org.apache.hop.workflow.action.IAction
        Overrides:
        check in class org.apache.hop.workflow.action.ActionBase
      • getOutputPropertyName

        public String[] getOutputPropertyName()
        Returns:
        Returns the OutputPropertyName.
      • setOutputPropertyName

        public void setOutputPropertyName​(String[] argumentDirection)
        Parameters:
        argumentDirection - The OutputPropertyName to set.
      • getOutputPropertyValue

        public String[] getOutputPropertyValue()
        Returns:
        Returns the OutputPropertyField.
      • setOutputPropertyValue

        public void setOutputPropertyValue​(String[] argumentDirection)
        Parameters:
        argumentDirection - The outputPropertyValue to set.
      • getParameterName

        public String[] getParameterName()
        Returns:
        Returns the parameterName.
      • setParameterName

        public void setParameterName​(String[] argumentDirection)
        Parameters:
        argumentDirection - The parameterName to set.
      • getParameterField

        public String[] getParameterField()
        Returns:
        Returns the parameterField.