Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  //
  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 
  // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
  // Any modifications to this file will be lost upon recompilation of the source schema. 
  // Generated on: 2012.11.28 at 06:08:16 PM CET 
  //
  
  
  package org.hibernate.validator.internal.xml;
 
This object contains factory methods for each Java content interface and Java element interface generated in the org.hibernate.validator.internal.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.

 
 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 _ElementTypeAnnotation_QNAME = new QName("http://jboss.org/xml/ns/javax/validation/mapping""annotation");
     private final static QName _ElementTypeValue_QNAME = new QName("http://jboss.org/xml/ns/javax/validation/mapping""value");

    
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.hibernate.validator.internal.xml
 
     public ObjectFactory() {
     }

    
Create an instance of
 
         return new ValidationConfigType();
     }

    
Create an instance of
 
     public PayloadType createPayloadType() {
         return new PayloadType();
     }

    
Create an instance of
 
         return new ConstraintMappingsType();
     }

    
Create an instance of
 
     public ClassType createClassType() {
         return new ClassType();
     }

    
Create an instance of
 
     public AnnotationType createAnnotationType() {
         return new AnnotationType();
     }

    
Create an instance of
 
     public ElementType createElementType() {
         return new ElementType();
     }

    
Create an instance of
 
        return new ConstraintType();
    }

    
Create an instance of
    public FieldType createFieldType() {
        return new FieldType();
    }

    
Create an instance of
        return new ConstraintDefinitionType();
    }

    
Create an instance of
        return new ValidatedByType();
    }

    
Create an instance of
        return new GroupSequenceType();
    }

    
Create an instance of
    public BeanType createBeanType() {
        return new BeanType();
    }

    
Create an instance of
    public GroupsType createGroupsType() {
        return new GroupsType();
    }

    
Create an instance of
    public PropertyType createPropertyType() {
        return new PropertyType();
    }

    
Create an instance of
    public GetterType createGetterType() {
        return new GetterType();
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://jboss.org/xml/ns/javax/validation/configuration", name = "validation-config")
        return new JAXBElement<ValidationConfigType>(ValidationConfigType.classnullvalue);
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://jboss.org/xml/ns/javax/validation/mapping", name = "constraint-mappings")
        return new JAXBElement<ConstraintMappingsType>(ConstraintMappingsType.classnullvalue);
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://jboss.org/xml/ns/javax/validation/mapping", name = "annotation", scope = ElementType.class)
        return new JAXBElement<AnnotationType>(AnnotationType.classElementType.classvalue);
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://jboss.org/xml/ns/javax/validation/mapping", name = "value", scope = ElementType.class)
    public JAXBElement<StringcreateElementTypeValue(String value) {
        return new JAXBElement<String>(String.classElementType.classvalue);
    }
New to GrepCode? Check out our FAQ X