org.hibernate.validator.xml
Class ObjectFactory

java.lang.Object
  extended by org.hibernate.validator.xml.ObjectFactory

public class ObjectFactory
extends Object

This object contains factory methods for each Java content interface and Java element interface generated in the org.hibernate.validator.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.


Constructor Summary
ObjectFactory()
          Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.hibernate.validator.xml
 
Method Summary
 AnnotationType createAnnotationType()
          Create an instance of AnnotationType
 BeanType createBeanType()
          Create an instance of BeanType
 ClassType createClassType()
          Create an instance of ClassType
 ConstraintDefinitionType createConstraintDefinitionType()
          Create an instance of ConstraintDefinitionType
 JAXBElement<ConstraintMappingsType> createConstraintMappings(ConstraintMappingsType value)
          Create an instance of JAXBElement<ConstraintMappingsType>}
 ConstraintMappingsType createConstraintMappingsType()
          Create an instance of ConstraintMappingsType
 ConstraintType createConstraintType()
          Create an instance of ConstraintType
 ElementType createElementType()
          Create an instance of ElementType
 JAXBElement<AnnotationType> createElementTypeAnnotation(AnnotationType value)
          Create an instance of JAXBElement<AnnotationType>}
 JAXBElement<String> createElementTypeValue(String value)
          Create an instance of JAXBElement<String>}
 FieldType createFieldType()
          Create an instance of FieldType
 GetterType createGetterType()
          Create an instance of GetterType
 GroupSequenceType createGroupSequenceType()
          Create an instance of GroupSequenceType
 GroupsType createGroupsType()
          Create an instance of GroupsType
 PayloadType createPayloadType()
          Create an instance of PayloadType
 PropertyType createPropertyType()
          Create an instance of PropertyType
 ValidatedByType createValidatedByType()
          Create an instance of ValidatedByType
 JAXBElement<ValidationConfigType> createValidationConfig(ValidationConfigType value)
          Create an instance of JAXBElement<ValidationConfigType>}
 ValidationConfigType createValidationConfigType()
          Create an instance of ValidationConfigType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectFactory

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

Method Detail

createClassType

public ClassType createClassType()
Create an instance of ClassType


createGroupSequenceType

public GroupSequenceType createGroupSequenceType()
Create an instance of GroupSequenceType


createBeanType

public BeanType createBeanType()
Create an instance of BeanType


createConstraintDefinitionType

public ConstraintDefinitionType createConstraintDefinitionType()
Create an instance of ConstraintDefinitionType


createFieldType

public FieldType createFieldType()
Create an instance of FieldType


createAnnotationType

public AnnotationType createAnnotationType()
Create an instance of AnnotationType


createElementType

public ElementType createElementType()
Create an instance of ElementType


createGetterType

public GetterType createGetterType()
Create an instance of GetterType


createGroupsType

public GroupsType createGroupsType()
Create an instance of GroupsType


createConstraintMappingsType

public ConstraintMappingsType createConstraintMappingsType()
Create an instance of ConstraintMappingsType


createPropertyType

public PropertyType createPropertyType()
Create an instance of PropertyType


createValidationConfigType

public ValidationConfigType createValidationConfigType()
Create an instance of ValidationConfigType


createPayloadType

public PayloadType createPayloadType()
Create an instance of PayloadType


createValidatedByType

public ValidatedByType createValidatedByType()
Create an instance of ValidatedByType


createConstraintType

public ConstraintType createConstraintType()
Create an instance of ConstraintType


createValidationConfig

public JAXBElement<ValidationConfigType> createValidationConfig(ValidationConfigType value)
Create an instance of JAXBElement<ValidationConfigType>}


createConstraintMappings

public JAXBElement<ConstraintMappingsType> createConstraintMappings(ConstraintMappingsType value)
Create an instance of JAXBElement<ConstraintMappingsType>}


createElementTypeAnnotation

public JAXBElement<AnnotationType> createElementTypeAnnotation(AnnotationType value)
Create an instance of JAXBElement<AnnotationType>}


createElementTypeValue

public JAXBElement<String> createElementTypeValue(String value)
Create an instance of JAXBElement<String>}



Copyright © 2007-2011 Red Hat Middleware, LLC. All Rights Reserved