All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.yandex.qatools.allure.model.ObjectFactory Maven / Gradle / Ivy

The newest version!

package ru.yandex.qatools.allure.model;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;


/**
 * This object contains factory methods for each 
 * Java content interface and Java element interface 
 * generated in the ru.yandex.qatools.allure.model package. 
 * 

An ObjectFactory allows you to programatically * construct new instances of the Java representation * for XML content. The Java representation of XML * content can consist of schema derived interfaces * and classes representing the binding of schema * type definitions, element declarations and model * groups. Factory methods for each of these are * provided in this class. * */ @XmlRegistry public class ObjectFactory { private final static QName _TestSuite_QNAME = new QName("urn:model.allure.qatools.yandex.ru", "test-suite"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: ru.yandex.qatools.allure.model * */ public ObjectFactory() { } /** * Create an instance of {@link TestSuiteResult } * */ public TestSuiteResult createTestSuiteResult() { return new TestSuiteResult(); } /** * Create an instance of {@link TestCaseResult } * */ public TestCaseResult createTestCaseResult() { return new TestCaseResult(); } /** * Create an instance of {@link Step } * */ public Step createStep() { return new Step(); } /** * Create an instance of {@link Failure } * */ public Failure createFailure() { return new Failure(); } /** * Create an instance of {@link Label } * */ public Label createLabel() { return new Label(); } /** * Create an instance of {@link Parameter } * */ public Parameter createParameter() { return new Parameter(); } /** * Create an instance of {@link Attachment } * */ public Attachment createAttachment() { return new Attachment(); } /** * Create an instance of {@link Description } * */ public Description createDescription() { return new Description(); } /** * Create an instance of {@link JAXBElement }{@code <}{@link TestSuiteResult }{@code >}} * */ @XmlElementDecl(namespace = "urn:model.allure.qatools.yandex.ru", name = "test-suite") public JAXBElement createTestSuite(TestSuiteResult value) { return new JAXBElement(_TestSuite_QNAME, TestSuiteResult.class, null, value); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy