本文整理汇总了Java中com.rapidminer.io.process.XMLImporter.parseOperator方法的典型用法代码示例。如果您正苦于以下问题:Java XMLImporter.parseOperator方法的具体用法?Java XMLImporter.parseOperator怎么用?Java XMLImporter.parseOperator使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.rapidminer.io.process.XMLImporter
的用法示例。
在下文中一共展示了XMLImporter.parseOperator方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createFromXML
import com.rapidminer.io.process.XMLImporter; //导入方法依赖的package包/类
/**
* This will create an operator from a XML element describing this operator. The given version
* will be passed to the XMLImporter to enable the handling of this element as if it would have
* been created from this version. See {@link XMLImporter#VERSION_RM_5} for details.
*/
public static Operator createFromXML(Element element, Process process,
List<UnknownParameterInformation> unknownParameterInformation, ProgressListener progressListener,
VersionNumber originatingVersion) throws XMLException {
XMLImporter importer = new XMLImporter(progressListener);
return importer.parseOperator(element, originatingVersion, process, unknownParameterInformation);
}
示例2: createFromXML
import com.rapidminer.io.process.XMLImporter; //导入方法依赖的package包/类
/**
* This will create an operator by interpreting the given XML element as being generated from the current RapidMiner version. No Import
* Rules will be applied to adapt it to version changes.
*/
public static Operator createFromXML(Element element, Process process, List<UnknownParameterInformation> unknownParameterInformation, ProgressListener l) throws XMLException {
XMLImporter importer = new XMLImporter(l);
return importer.parseOperator(element, XMLImporter.CURRENT_VERSION, process, unknownParameterInformation);
}