Class XsdValidator
- java.lang.Object
-
- org.apache.hop.workflow.action.ActionBase
-
- org.apache.hop.workflow.actions.xml.xsdvalidator.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.IActionThis defines a 'xsdvalidator' job entry.
-
-
Field Summary
Fields Modifier and Type Field Description static StringALLOW_EXTERNAL_ENTITIES_FOR_XSD_VALIDATIONstatic StringALLOW_EXTERNAL_ENTITIES_FOR_XSD_VALIDATION_DEFAULTstatic StringNO_NEEDstatic StringSPECIFY_FILENAME
-
Constructor Summary
Constructors Constructor Description XsdValidator()XsdValidator(String n)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheck(List<ICheckResult> remarks, org.apache.hop.workflow.WorkflowMeta jobMeta, IVariables variables, IHopMetadataProvider metadataProvider)Objectclone()Resultexecute(Result previousResult, int nr)StringgetRealxmlfilename()StringgetRealxsdfilename()List<org.apache.hop.resource.ResourceReference>getResourceDependencies(IVariables variables, org.apache.hop.workflow.WorkflowMeta workflowMeta)StringgetXml()StringgetxmlFilename()StringgetxsdFilename()StringgetXsdSource()booleanisAllowExternalEntities()booleanisEvaluation()voidloadXml(Node entrynode, IHopMetadataProvider metadataProvider, IVariables variables)voidsetAllowExternalEntities(boolean allowExternalEntities)voidsetxmlFilename(String filename)voidsetxsdFilename(String filename)voidsetXsdSource(String xsdSource)-
Methods inherited from class org.apache.hop.workflow.action.ActionBase
clear, copyFrom, equals, exportResources, getAttribute, getAttributes, getAttributesMap, getContainerId, getDescription, getDialogClassName, getEntryTransformSetVariable, getEntryTransformSetVariablesMap, getExtensionDataMap, getFilename, getLogChannel, getLogChannelId, getLogLevel, getMetadataProvider, getName, getObjectCopy, getObjectName, getObjectType, getParent, getParentVariables, getParentWorkflow, getParentWorkflowMeta, getPluginId, getRealFilename, getReferencedObjectDescriptions, getRegistrationDate, getSqlStatements, getTypeDesc, getTypeId, getUsedDatabaseConnections, getVariable, getVariable, getVariableBoolean, getVariableNames, getVariables, hasChanged, hashCode, initializeFrom, isBasic, isDebug, isDetailed, isForcingSeparateLogging, isGatheringMetrics, isPipeline, isReferencedObjectEnabled, isRowlevel, isStart, isUnconditional, isWorkflow, loadReferencedObject, loadXml, logBasic, logBasic, logDebug, logDebug, logDetailed, logDetailed, logError, logError, logError, logMinimal, logMinimal, logRowlevel, logRowlevel, resetErrorsBeforeExecution, resolve, resolve, resolve, setAttribute, setAttributes, setAttributesMap, setChanged, setChanged, setContainerObjectId, setDescription, setEntryTransformSetVariable, setForcingSeparateLogging, setGatheringMetrics, setLogLevel, setMetadataProvider, setName, setParentVariables, setParentWorkflow, setParentWorkflowMeta, setPluginId, setVariable, setVariables, shareWith, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.hop.workflow.action.IAction
clear, exportResources, getDescription, getDialogClassName, getFilename, getLogChannel, getName, getParentWorkflow, getParentWorkflowMeta, getPluginId, getRealFilename, getReferencedObjectDescriptions, getSqlStatements, hasChanged, isPipeline, isReferencedObjectEnabled, isStart, isUnconditional, isWorkflow, loadReferencedObject, resetErrorsBeforeExecution, setChanged, setChanged, setDescription, setMetadataProvider, setName, setParentWorkflow, setParentWorkflowMeta, setPluginId
-
Methods inherited from interface org.apache.hop.core.IExtensionData
getExtensionDataMap
-
Methods inherited from interface org.apache.hop.core.variables.IVariables
copyFrom, getParentVariables, getVariable, getVariable, getVariableBoolean, getVariableNames, initializeFrom, resolve, resolve, resolve, setParentVariables, setVariable, setVariables, shareWith
-
-
-
-
Field Detail
-
ALLOW_EXTERNAL_ENTITIES_FOR_XSD_VALIDATION
public static final String ALLOW_EXTERNAL_ENTITIES_FOR_XSD_VALIDATION
- See Also:
- Constant Field Values
-
ALLOW_EXTERNAL_ENTITIES_FOR_XSD_VALIDATION_DEFAULT
public static final String ALLOW_EXTERNAL_ENTITIES_FOR_XSD_VALIDATION_DEFAULT
- See Also:
- Constant Field Values
-
SPECIFY_FILENAME
public static final String SPECIFY_FILENAME
- See Also:
- Constant Field Values
-
NO_NEED
public static final String NO_NEED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
XsdValidator
public XsdValidator(String n)
-
XsdValidator
public XsdValidator()
-
-
Method Detail
-
clone
public Object clone()
- Specified by:
clonein interfaceorg.apache.hop.workflow.action.IAction- Overrides:
clonein classorg.apache.hop.workflow.action.ActionBase
-
getXml
public String getXml()
- Specified by:
getXmlin interfaceorg.apache.hop.workflow.action.IAction- Overrides:
getXmlin classorg.apache.hop.workflow.action.ActionBase
-
loadXml
public void loadXml(Node entrynode, IHopMetadataProvider metadataProvider, IVariables variables) throws HopXmlException
- Specified by:
loadXmlin interfaceorg.apache.hop.workflow.action.IAction- Overrides:
loadXmlin classorg.apache.hop.workflow.action.ActionBase- Throws:
HopXmlException
-
getRealxmlfilename
public String getRealxmlfilename()
-
getRealxsdfilename
public String getRealxsdfilename()
-
execute
public Result execute(Result previousResult, int nr)
- Specified by:
executein interfaceorg.apache.hop.workflow.action.IAction
-
isEvaluation
public boolean isEvaluation()
- Specified by:
isEvaluationin interfaceorg.apache.hop.workflow.action.IAction- Overrides:
isEvaluationin classorg.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:
getResourceDependenciesin interfaceorg.apache.hop.workflow.action.IAction- Overrides:
getResourceDependenciesin classorg.apache.hop.workflow.action.ActionBase
-
check
public void check(List<ICheckResult> remarks, org.apache.hop.workflow.WorkflowMeta jobMeta, IVariables variables, IHopMetadataProvider metadataProvider)
- Specified by:
checkin interfaceorg.apache.hop.workflow.action.IAction- Overrides:
checkin classorg.apache.hop.workflow.action.ActionBase
-
-