Class XsdValidator

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

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

      • XsdValidator

        public XsdValidator​(String n)
      • XsdValidator

        public XsdValidator()
    • Method Detail

      • 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
      • getRealxmlfilename

        public String getRealxmlfilename()
      • getRealxsdfilename

        public String getRealxsdfilename()
      • execute

        public Result execute​(Result previousResult,
                              int nr)
        Specified by:
        execute in interface org.apache.hop.workflow.action.IAction
      • 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()
      • setxsdFilename

        public void setxsdFilename​(String filename)
      • getxsdFilename

        public String getxsdFilename()
      • isAllowExternalEntities

        public boolean isAllowExternalEntities()
      • getXsdSource

        public String getXsdSource()
      • setXsdSource

        public void setXsdSource​(String xsdSource)
      • setAllowExternalEntities

        public void setAllowExternalEntities​(boolean allowExternalEntities)
      • 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