Package org.apache.bval.jsr.xml
Class ObjectFactory
- java.lang.Object
-
- org.apache.bval.jsr.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.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.
-
-
Constructor Summary
Constructors Constructor Description ObjectFactory()
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.bval.jsr.xml
-
Method Summary
-
-
-
Method Detail
-
createValidationConfigType
public ValidationConfigType createValidationConfigType()
Create an instance ofValidationConfigType
- Returns:
- the new instance of
ValidationConfigType
-
createExecutableValidationType
public ExecutableValidationType createExecutableValidationType()
Create an instance ofExecutableValidationType
- Returns:
- the new instance of
ExecutableValidationType
-
createDefaultValidatedExecutableTypesType
public DefaultValidatedExecutableTypesType createDefaultValidatedExecutableTypesType()
Create an instance ofDefaultValidatedExecutableTypesType
- Returns:
- the new instance of
DefaultValidatedExecutableTypesType
-
createPropertyType
public PropertyType createPropertyType()
Create an instance ofPropertyType
- Returns:
- the new instance of
PropertyType
-
createConstraintMappingsType
public ConstraintMappingsType createConstraintMappingsType()
Create an instance ofConstraintMappingsType
- Returns:
- the new instance of
ConstraintMappingsType
-
createPayloadType
public PayloadType createPayloadType()
Create an instance ofPayloadType
- Returns:
- the new instance of
PayloadType
-
createGroupsType
public GroupsType createGroupsType()
Create an instance ofGroupsType
- Returns:
- the new instance of
GroupsType
-
createGroupSequenceType
public GroupSequenceType createGroupSequenceType()
Create an instance ofGroupSequenceType
- Returns:
- the new instance of
GroupSequenceType
-
createGroupConversionType
public GroupConversionType createGroupConversionType()
Create an instance ofGroupConversionType
- Returns:
- the new instance of
GroupConversionType
-
createValidatedByType
public ValidatedByType createValidatedByType()
Create an instance ofValidatedByType
- Returns:
- the new instance of
ValidatedByType
-
createConstraintType
public ConstraintType createConstraintType()
Create an instance ofConstraintType
- Returns:
- the new instance of
ConstraintType
-
createElementType
public ElementType createElementType()
Create an instance ofElementType
- Returns:
- the new instance of
ElementType
-
createContainerElementTypeType
public ContainerElementTypeType createContainerElementTypeType()
Create an instance ofContainerElementTypeType
- Returns:
- the new instance of
ContainerElementTypeType
-
createClassType
public ClassType createClassType()
Create an instance ofClassType
- Returns:
- the new instance of
ClassType
-
createBeanType
public BeanType createBeanType()
Create an instance ofBeanType
- Returns:
- the new instance of
BeanType
-
createAnnotationType
public AnnotationType createAnnotationType()
Create an instance ofAnnotationType
- Returns:
- the new instance of
AnnotationType
-
createGetterType
public GetterType createGetterType()
Create an instance ofGetterType
- Returns:
- the new instance of
GetterType
-
createMethodType
public MethodType createMethodType()
Create an instance ofMethodType
- Returns:
- the new instance of
MethodType
-
createConstructorType
public ConstructorType createConstructorType()
Create an instance ofConstructorType
- Returns:
- the new instance of
ConstructorType
-
createParameterType
public ParameterType createParameterType()
Create an instance ofParameterType
- Returns:
- the new instance of
ParameterType
-
createReturnValueType
public ReturnValueType createReturnValueType()
Create an instance ofReturnValueType
- Returns:
- the new instance of
ReturnValueType
-
createCrossParameterType
public CrossParameterType createCrossParameterType()
Create an instance ofCrossParameterType
- Returns:
- the new instance of
CrossParameterType
-
createConstraintDefinitionType
public ConstraintDefinitionType createConstraintDefinitionType()
Create an instance ofConstraintDefinitionType
- Returns:
- the new instance of
ConstraintDefinitionType
-
createFieldType
public FieldType createFieldType()
Create an instance ofFieldType
- Returns:
- the new instance of
FieldType
-
createValidationConfig
public jakarta.xml.bind.JAXBElement<ValidationConfigType> createValidationConfig(ValidationConfigType value)
- Parameters:
value
- Java instance representing xml element's value.- Returns:
- the new instance of
JAXBElement
<
ValidationConfigType
>
-
createConstraintMappings
public jakarta.xml.bind.JAXBElement<ConstraintMappingsType> createConstraintMappings(ConstraintMappingsType value)
- Parameters:
value
- Java instance representing xml element's value.- Returns:
- the new instance of
JAXBElement
<
ConstraintMappingsType
>
-
createElementTypeValue
public jakarta.xml.bind.JAXBElement<String> createElementTypeValue(String value)
- Parameters:
value
- Java instance representing xml element's value.- Returns:
- the new instance of
JAXBElement
<
String
>
-
createElementTypeAnnotation
public jakarta.xml.bind.JAXBElement<AnnotationType> createElementTypeAnnotation(AnnotationType value)
- Parameters:
value
- Java instance representing xml element's value.- Returns:
- the new instance of
JAXBElement
<
AnnotationType
>
-
-