|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.thalesgroup.dtkit.metrics.model.InputMetric
com.thalesgroup.dtkit.metrics.model.InputMetricXSL
public abstract class InputMetricXSL
| Constructor Summary | |
|---|---|
InputMetricXSL()
|
|
| Method Summary | |
|---|---|
void |
convert(java.io.File inputFile,
java.io.File outFile)
Convert an input file to an output file Give your conversion process Input and Output files are relatives to the filesystem where the process is executed on (like Hudson agent) |
void |
convert(java.io.File inputFile,
java.io.File outFile,
java.io.File externalXsl,
java.util.Map<java.lang.String,java.lang.Object> params)
Convert an input file to an output file Give your conversion process Input and Output files are relatives to the filesystem where the process is executed on (like Hudson agent) |
void |
convert(java.io.File inputFile,
java.io.File outFile,
java.util.Map<java.lang.String,java.lang.Object> params)
Convert an input file to an output file Give your conversion process Input and Output files are relatives to the filesystem where the process is executed on (like Hudson agent) |
void |
convert(java.io.File inputFile,
java.io.File outFile,
java.lang.String externalXslContent,
java.util.Map<java.lang.String,java.lang.Object> params)
Convert an input file to an output file Give your conversion process Input and Output files are relatives to the filesystem where the process is executed on (like Hudson agent) |
boolean |
equals(java.lang.Object o)
-------------------------------------------------------- HASHCODE() AND EQUALS() for comparaison -------------------------------------------------------- |
InputMetricType |
getInputMetricType()
All the subclasses will be of XSL |
java.lang.Class |
getInputXsdClass()
Gets the Class (namespace) of the xsd file resource |
java.io.File[] |
getInputXsdFileList()
|
java.lang.String[] |
getInputXsdNameList()
the XSD file associated to this tool result file |
java.io.InputStream[] |
getListXsdInputStream()
|
java.lang.String[] |
getOutputXsdNameList()
the XSD file associated to this output format |
java.lang.String |
getUserContentXSLDirRelativePath()
|
java.io.File |
getXslFile()
Overrides this method if you want to provide your own xsl (independent of its location) Used for custom type where the user specifies its own xsl |
java.io.InputStream |
getXslInputStream()
|
java.lang.String |
getXslName()
the XSL file associated to this tool |
java.lang.Class |
getXslResourceClass()
Gets the Class (namespace) of the xsl file resource |
int |
hashCode()
|
boolean |
validateInputFile(java.io.File inputXMLFile)
|
boolean |
validateOutputFile(java.io.File inputXMLFile)
|
| Methods inherited from class com.thalesgroup.dtkit.metrics.model.InputMetric |
|---|
getInputValidationErrors, getLabel, getOutputFormatType, getOutputValidationErrors, getToolName, getToolType, getToolVersion, isDefault, setInputMetricType, setInputValidationErrors, setLabel, setOutputFormatType, setOutputValidationErrors, setToolName, setToolType, setToolVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InputMetricXSL()
| Method Detail |
|---|
public java.lang.Class getXslResourceClass()
public java.lang.Class getInputXsdClass()
public java.lang.String getXslName()
public java.io.File getXslFile()
public java.io.InputStream getXslInputStream()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String[] getInputXsdNameList()
public java.io.File[] getInputXsdFileList()
public java.io.InputStream[] getListXsdInputStream()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String[] getOutputXsdNameList()
public InputMetricType getInputMetricType()
getInputMetricType in class InputMetricpublic java.lang.String getUserContentXSLDirRelativePath()
public void convert(java.io.File inputFile,
java.io.File outFile,
java.util.Map<java.lang.String,java.lang.Object> params)
throws ConversionException
InputMetric
convert in class InputMetricinputFile - the input file to convertoutFile - the output file to convertparams - the conversion parameters
ConversionException - an application Exception to throw when there is an error of conversion
The exception is catched by the API client (as Hudson plugin)
public void convert(java.io.File inputFile,
java.io.File outFile)
throws ConversionException
InputMetric
convert in class InputMetricinputFile - the input file to convertoutFile - the output file to convert
ConversionException - an application Exception to throw when there is an error of conversion
The exception is catched by the API client (as Hudson plugin)
public void convert(java.io.File inputFile,
java.io.File outFile,
java.io.File externalXsl,
java.util.Map<java.lang.String,java.lang.Object> params)
throws ConversionException
inputFile - the input file to convertoutFile - the output file to convertexternalXsl - an external xsl file such as a user xslparams - the conversion parameters
ConversionException - an application Exception to throw when there is an error of conversion
The exception is catched by the API client (as Hudson plugin)
public void convert(java.io.File inputFile,
java.io.File outFile,
java.lang.String externalXslContent,
java.util.Map<java.lang.String,java.lang.Object> params)
throws ConversionException
inputFile - the input file to convertoutFile - the output file to convertexternalXslContent - an external xsl content such as a user xslparams - the conversion parameters
ConversionException - an application Exception to throw when there is an error of conversion
The exception is catched by the API client (as Hudson plugin)
public boolean validateInputFile(java.io.File inputXMLFile)
throws ValidationException
validateInputFile in class InputMetricValidationException
public boolean validateOutputFile(java.io.File inputXMLFile)
throws ValidationException
validateOutputFile in class InputMetricValidationExceptionpublic boolean equals(java.lang.Object o)
equals in class InputMetricpublic int hashCode()
hashCode in class InputMetric
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||