org.apache.bval.jsr303.xml.ObjectFactory Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.3-b01-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.09.18 at 08:34:46 AM CDT
//
package org.apache.bval.jsr303.xml;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the org.apache.bval.jsr303.xml 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 _ValidationConfig_QNAME = new QName("http://jboss.org/xml/ns/javax/validation/configuration", "validation-config");
private final static QName _ConstraintMappings_QNAME = new QName("http://jboss.org/xml/ns/javax/validation/mapping", "constraint-mappings");
private final static QName _ValidationConfigTypeConstraintMapping_QNAME = new QName("http://jboss.org/xml/ns/javax/validation/configuration", "constraint-mapping");
private final static QName _GroupSequenceTypeValue_QNAME = new QName("http://jboss.org/xml/ns/javax/validation/mapping", "value");
private final static QName _ElementTypeAnnotation_QNAME = new QName("http://jboss.org/xml/ns/javax/validation/mapping", "annotation");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.bval.jsr303.xml
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link ConstraintType }
*
*/
public ConstraintType createConstraintType() {
return new ConstraintType();
}
/**
* Create an instance of {@link FieldType }
*
*/
public FieldType createFieldType() {
return new FieldType();
}
/**
* Create an instance of {@link ConstraintDefinitionType }
*
*/
public ConstraintDefinitionType createConstraintDefinitionType() {
return new ConstraintDefinitionType();
}
/**
* Create an instance of {@link ConstraintMappingsType }
*
*/
public ConstraintMappingsType createConstraintMappingsType() {
return new ConstraintMappingsType();
}
/**
* Create an instance of {@link BeanType }
*
*/
public BeanType createBeanType() {
return new BeanType();
}
/**
* Create an instance of {@link GetterType }
*
*/
public GetterType createGetterType() {
return new GetterType();
}
/**
* Create an instance of {@link GroupsType }
*
*/
public GroupsType createGroupsType() {
return new GroupsType();
}
/**
* Create an instance of {@link ValidatedByType }
*
*/
public ValidatedByType createValidatedByType() {
return new ValidatedByType();
}
/**
* Create an instance of {@link ElementType }
*
*/
public ElementType createElementType() {
return new ElementType();
}
/**
* Create an instance of {@link ValidationConfigType }
*
*/
public ValidationConfigType createValidationConfigType() {
return new ValidationConfigType();
}
/**
* Create an instance of {@link ClassType }
*
*/
public ClassType createClassType() {
return new ClassType();
}
/**
* Create an instance of {@link PropertyType }
*
*/
public PropertyType createPropertyType() {
return new PropertyType();
}
/**
* Create an instance of {@link AnnotationType }
*
*/
public AnnotationType createAnnotationType() {
return new AnnotationType();
}
/**
* Create an instance of {@link GroupSequenceType }
*
*/
public GroupSequenceType createGroupSequenceType() {
return new GroupSequenceType();
}
/**
* Create an instance of {@link PayloadType }
*
*/
public PayloadType createPayloadType() {
return new PayloadType();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ValidationConfigType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://jboss.org/xml/ns/javax/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 >}}
*
*/
@XmlElementDecl(namespace = "http://jboss.org/xml/ns/javax/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 >}}
*
*/
@XmlElementDecl(namespace = "http://jboss.org/xml/ns/javax/validation/configuration", name = "constraint-mapping", scope = ValidationConfigType.class)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
public JAXBElement createValidationConfigTypeConstraintMapping(String value) {
return new JAXBElement(_ValidationConfigTypeConstraintMapping_QNAME, String.class, ValidationConfigType.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://jboss.org/xml/ns/javax/validation/mapping", name = "value", scope = GroupSequenceType.class)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
public JAXBElement createGroupSequenceTypeValue(String value) {
return new JAXBElement(_GroupSequenceTypeValue_QNAME, String.class, GroupSequenceType.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://jboss.org/xml/ns/javax/validation/mapping", name = "value", scope = GroupsType.class)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
public JAXBElement createGroupsTypeValue(String value) {
return new JAXBElement(_GroupSequenceTypeValue_QNAME, String.class, GroupsType.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://jboss.org/xml/ns/javax/validation/mapping", name = "value", scope = PayloadType.class)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
public JAXBElement createPayloadTypeValue(String value) {
return new JAXBElement(_GroupSequenceTypeValue_QNAME, String.class, PayloadType.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://jboss.org/xml/ns/javax/validation/mapping", name = "value", scope = ValidatedByType.class)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
public JAXBElement createValidatedByTypeValue(String value) {
return new JAXBElement(_GroupSequenceTypeValue_QNAME, String.class, ValidatedByType.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link AnnotationType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://jboss.org/xml/ns/javax/validation/mapping", name = "annotation", scope = ElementType.class)
public JAXBElement createElementTypeAnnotation(AnnotationType value) {
return new JAXBElement(_ElementTypeAnnotation_QNAME, AnnotationType.class, ElementType.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://jboss.org/xml/ns/javax/validation/mapping", name = "value", scope = ElementType.class)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
public JAXBElement createElementTypeValue(String value) {
return new JAXBElement(_GroupSequenceTypeValue_QNAME, String.class, ElementType.class, value);
}
}