public class ObjectFactory extends Object
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 and 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
|
public ObjectFactory()
public ValidationConfigType createValidationConfigType()
ValidationConfigType
public ExecutableValidationType createExecutableValidationType()
ExecutableValidationType
public DefaultValidatedExecutableTypesType createDefaultValidatedExecutableTypesType()
DefaultValidatedExecutableTypesType
public PropertyType createPropertyType()
PropertyType
public ConstraintMappingsType createConstraintMappingsType()
ConstraintMappingsType
public PayloadType createPayloadType()
PayloadType
public GroupsType createGroupsType()
GroupsType
public GroupSequenceType createGroupSequenceType()
GroupSequenceType
public GroupConversionType createGroupConversionType()
GroupConversionType
public ValidatedByType createValidatedByType()
ValidatedByType
public ConstraintType createConstraintType()
ConstraintType
public ElementType createElementType()
ElementType
public ContainerElementTypeType createContainerElementTypeType()
ContainerElementTypeType
public AnnotationType createAnnotationType()
AnnotationType
public GetterType createGetterType()
GetterType
public MethodType createMethodType()
MethodType
public ConstructorType createConstructorType()
ConstructorType
public ParameterType createParameterType()
ParameterType
public ReturnValueType createReturnValueType()
ReturnValueType
public CrossParameterType createCrossParameterType()
CrossParameterType
public ConstraintDefinitionType createConstraintDefinitionType()
ConstraintDefinitionType
public JAXBElement<ValidationConfigType> createValidationConfig(ValidationConfigType value)
value
- Java instance representing xml element's value.JAXBElement
<
ValidationConfigType
>
public JAXBElement<ConstraintMappingsType> createConstraintMappings(ConstraintMappingsType value)
value
- Java instance representing xml element's value.JAXBElement
<
ConstraintMappingsType
>
public JAXBElement<String> createElementTypeValue(String value)
value
- Java instance representing xml element's value.JAXBElement
<
String
>
public JAXBElement<AnnotationType> createElementTypeAnnotation(AnnotationType value)
value
- Java instance representing xml element's value.JAXBElement
<
AnnotationType
>
Copyright © 2010–2020 The Apache Software Foundation. All rights reserved.