
ru.yandex.qatools.allure.ObjectFactory Maven / Gradle / Ivy
package ru.yandex.qatools.allure;
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 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 _AllureTestCase_QNAME = new QName("urn:allure.qatools.yandex.ru", "allure-test-case");
private final static QName _ListWidgetData_QNAME = new QName("urn:allure.qatools.yandex.ru", "list-widget-data");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: ru.yandex.qatools.allure
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link ListWidgetData }
*
*/
public ListWidgetData createListWidgetData() {
return new ListWidgetData();
}
/**
* Create an instance of {@link AllureTestCase }
*
*/
public AllureTestCase createAllureTestCase() {
return new AllureTestCase();
}
/**
* Create an instance of {@link AttachmentInfo }
*
*/
public AttachmentInfo createAttachmentInfo() {
return new AttachmentInfo();
}
/**
* Create an instance of {@link AllureStep }
*
*/
public AllureStep createAllureStep() {
return new AllureStep();
}
/**
* Create an instance of {@link AllureTestCaseInfo }
*
*/
public AllureTestCaseInfo createAllureTestCaseInfo() {
return new AllureTestCaseInfo();
}
/**
* Create an instance of {@link Summary }
*
*/
public Summary createSummary() {
return new Summary();
}
/**
* Create an instance of {@link Statistic }
*
*/
public Statistic createStatistic() {
return new Statistic();
}
/**
* Create an instance of {@link Issue }
*
*/
public Issue createIssue() {
return new Issue();
}
/**
* Create an instance of {@link KeyValueWidgetItem }
*
*/
public KeyValueWidgetItem createKeyValueWidgetItem() {
return new KeyValueWidgetItem();
}
/**
* Create an instance of {@link AllureAttachment }
*
*/
public AllureAttachment createAllureAttachment() {
return new AllureAttachment();
}
/**
* Create an instance of {@link AllureTestSuiteInfo }
*
*/
public AllureTestSuiteInfo createAllureTestSuiteInfo() {
return new AllureTestSuiteInfo();
}
/**
* Create an instance of {@link TestId }
*
*/
public TestId createTestId() {
return new TestId();
}
/**
* Create an instance of {@link Time }
*
*/
public Time createTime() {
return new Time();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link AllureTestCase }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:allure.qatools.yandex.ru", name = "allure-test-case")
public JAXBElement createAllureTestCase(AllureTestCase value) {
return new JAXBElement(_AllureTestCase_QNAME, AllureTestCase.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ListWidgetData }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:allure.qatools.yandex.ru", name = "list-widget-data")
public JAXBElement createListWidgetData(ListWidgetData value) {
return new JAXBElement(_ListWidgetData_QNAME, ListWidgetData.class, null, value);
}
}