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()
ValidationConfigTypepublic ExecutableValidationType createExecutableValidationType()
ExecutableValidationTypepublic DefaultValidatedExecutableTypesType createDefaultValidatedExecutableTypesType()
DefaultValidatedExecutableTypesTypepublic PropertyType createPropertyType()
PropertyTypepublic ConstraintMappingsType createConstraintMappingsType()
ConstraintMappingsTypepublic PayloadType createPayloadType()
PayloadTypepublic GroupsType createGroupsType()
GroupsTypepublic GroupSequenceType createGroupSequenceType()
GroupSequenceTypepublic GroupConversionType createGroupConversionType()
GroupConversionTypepublic ValidatedByType createValidatedByType()
ValidatedByTypepublic ConstraintType createConstraintType()
ConstraintTypepublic ElementType createElementType()
ElementTypepublic ContainerElementTypeType createContainerElementTypeType()
ContainerElementTypeTypepublic AnnotationType createAnnotationType()
AnnotationTypepublic GetterType createGetterType()
GetterTypepublic MethodType createMethodType()
MethodTypepublic ConstructorType createConstructorType()
ConstructorTypepublic ParameterType createParameterType()
ParameterTypepublic ReturnValueType createReturnValueType()
ReturnValueTypepublic CrossParameterType createCrossParameterType()
CrossParameterTypepublic ConstraintDefinitionType createConstraintDefinitionType()
ConstraintDefinitionTypepublic 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.