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

org.apache.bval.jsr.xml.ObjectFactory Maven / Gradle / Ivy

//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.5 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
//


package org.apache.bval.jsr.xml;

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


/**
 * This object contains factory methods for each 
 * Java content interface and Java element interface 
 * generated in the org.apache.bval.jsr.xml package. 
 * 

An ObjectFactory allows you to programmatically * 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 static final QName _ValidationConfig_QNAME = new QName("https://jakarta.ee/xml/ns/validation/configuration", "validation-config"); private static final QName _ConstraintMappings_QNAME = new QName("https://jakarta.ee/xml/ns/validation/mapping", "constraint-mappings"); private static final QName _ElementTypeValue_QNAME = new QName("https://jakarta.ee/xml/ns/validation/mapping", "value"); private static final QName _ElementTypeAnnotation_QNAME = new QName("https://jakarta.ee/xml/ns/validation/mapping", "annotation"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.bval.jsr.xml * */ public ObjectFactory() { } /** * Create an instance of {@link ValidationConfigType } * * @return * the new instance of {@link ValidationConfigType } */ public ValidationConfigType createValidationConfigType() { return new ValidationConfigType(); } /** * Create an instance of {@link ExecutableValidationType } * * @return * the new instance of {@link ExecutableValidationType } */ public ExecutableValidationType createExecutableValidationType() { return new ExecutableValidationType(); } /** * Create an instance of {@link DefaultValidatedExecutableTypesType } * * @return * the new instance of {@link DefaultValidatedExecutableTypesType } */ public DefaultValidatedExecutableTypesType createDefaultValidatedExecutableTypesType() { return new DefaultValidatedExecutableTypesType(); } /** * Create an instance of {@link PropertyType } * * @return * the new instance of {@link PropertyType } */ public PropertyType createPropertyType() { return new PropertyType(); } /** * Create an instance of {@link ConstraintMappingsType } * * @return * the new instance of {@link ConstraintMappingsType } */ public ConstraintMappingsType createConstraintMappingsType() { return new ConstraintMappingsType(); } /** * Create an instance of {@link PayloadType } * * @return * the new instance of {@link PayloadType } */ public PayloadType createPayloadType() { return new PayloadType(); } /** * Create an instance of {@link GroupsType } * * @return * the new instance of {@link GroupsType } */ public GroupsType createGroupsType() { return new GroupsType(); } /** * Create an instance of {@link GroupSequenceType } * * @return * the new instance of {@link GroupSequenceType } */ public GroupSequenceType createGroupSequenceType() { return new GroupSequenceType(); } /** * Create an instance of {@link GroupConversionType } * * @return * the new instance of {@link GroupConversionType } */ public GroupConversionType createGroupConversionType() { return new GroupConversionType(); } /** * Create an instance of {@link ValidatedByType } * * @return * the new instance of {@link ValidatedByType } */ public ValidatedByType createValidatedByType() { return new ValidatedByType(); } /** * Create an instance of {@link ConstraintType } * * @return * the new instance of {@link ConstraintType } */ public ConstraintType createConstraintType() { return new ConstraintType(); } /** * Create an instance of {@link ElementType } * * @return * the new instance of {@link ElementType } */ public ElementType createElementType() { return new ElementType(); } /** * Create an instance of {@link ContainerElementTypeType } * * @return * the new instance of {@link ContainerElementTypeType } */ public ContainerElementTypeType createContainerElementTypeType() { return new ContainerElementTypeType(); } /** * Create an instance of {@link ClassType } * * @return * the new instance of {@link ClassType } */ public ClassType createClassType() { return new ClassType(); } /** * Create an instance of {@link BeanType } * * @return * the new instance of {@link BeanType } */ public BeanType createBeanType() { return new BeanType(); } /** * Create an instance of {@link AnnotationType } * * @return * the new instance of {@link AnnotationType } */ public AnnotationType createAnnotationType() { return new AnnotationType(); } /** * Create an instance of {@link GetterType } * * @return * the new instance of {@link GetterType } */ public GetterType createGetterType() { return new GetterType(); } /** * Create an instance of {@link MethodType } * * @return * the new instance of {@link MethodType } */ public MethodType createMethodType() { return new MethodType(); } /** * Create an instance of {@link ConstructorType } * * @return * the new instance of {@link ConstructorType } */ public ConstructorType createConstructorType() { return new ConstructorType(); } /** * Create an instance of {@link ParameterType } * * @return * the new instance of {@link ParameterType } */ public ParameterType createParameterType() { return new ParameterType(); } /** * Create an instance of {@link ReturnValueType } * * @return * the new instance of {@link ReturnValueType } */ public ReturnValueType createReturnValueType() { return new ReturnValueType(); } /** * Create an instance of {@link CrossParameterType } * * @return * the new instance of {@link CrossParameterType } */ public CrossParameterType createCrossParameterType() { return new CrossParameterType(); } /** * Create an instance of {@link ConstraintDefinitionType } * * @return * the new instance of {@link ConstraintDefinitionType } */ public ConstraintDefinitionType createConstraintDefinitionType() { return new ConstraintDefinitionType(); } /** * Create an instance of {@link FieldType } * * @return * the new instance of {@link FieldType } */ public FieldType createFieldType() { return new FieldType(); } /** * Create an instance of {@link JAXBElement }{@code <}{@link ValidationConfigType }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link ValidationConfigType }{@code >} */ @XmlElementDecl(namespace = "https://jakarta.ee/xml/ns/validation/configuration", name = "validation-config") public JAXBElement createValidationConfig(ValidationConfigType value) { return new JAXBElement<>(_ValidationConfig_QNAME, ValidationConfigType.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link ConstraintMappingsType }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link ConstraintMappingsType }{@code >} */ @XmlElementDecl(namespace = "https://jakarta.ee/xml/ns/validation/mapping", name = "constraint-mappings") public JAXBElement createConstraintMappings(ConstraintMappingsType value) { return new JAXBElement<>(_ConstraintMappings_QNAME, ConstraintMappingsType.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} */ @XmlElementDecl(namespace = "https://jakarta.ee/xml/ns/validation/mapping", name = "value", scope = ElementType.class) public JAXBElement createElementTypeValue(String value) { return new JAXBElement<>(_ElementTypeValue_QNAME, String.class, ElementType.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link AnnotationType }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link AnnotationType }{@code >} */ @XmlElementDecl(namespace = "https://jakarta.ee/xml/ns/validation/mapping", name = "annotation", scope = ElementType.class) public JAXBElement createElementTypeAnnotation(AnnotationType value) { return new JAXBElement<>(_ElementTypeAnnotation_QNAME, AnnotationType.class, ElementType.class, value); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy