Class MidPointSchemaDefinitionFactory
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.schema.SchemaDefinitionFactory
-
- com.evolveum.midpoint.schema.processor.MidPointSchemaDefinitionFactory
-
public class MidPointSchemaDefinitionFactory extends com.evolveum.midpoint.prism.impl.schema.SchemaDefinitionFactory
- Author:
- semancik
-
-
Constructor Summary
Constructors Constructor Description MidPointSchemaDefinitionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addExtraComplexTypeAnnotations(ComplexTypeDefinition definition, Element appinfo, com.evolveum.midpoint.prism.impl.schema.SchemaToDomProcessor schemaToDomProcessor)
void
addExtraPropertyAnnotations(PrismPropertyDefinition definition, Element appinfo, com.evolveum.midpoint.prism.impl.schema.SchemaToDomProcessor schemaToDomProcessor)
MutableComplexTypeDefinition
createComplexTypeDefinition(com.sun.xml.xsom.XSComplexType complexType, PrismContext prismContext, com.sun.xml.xsom.XSAnnotation annotation)
<C extends Containerable>
PrismContainerDefinition<C>createExtraDefinitionFromComplexType(com.sun.xml.xsom.XSComplexType complexType, ComplexTypeDefinition complexTypeDefinition, PrismContext prismContext, com.sun.xml.xsom.XSAnnotation annotation)
<T> PrismPropertyDefinition<T>
createPropertyDefinition(QName elementName, QName typeName, ComplexTypeDefinition complexTypeDefinition, PrismContext prismContext, com.sun.xml.xsom.XSAnnotation annotation, com.sun.xml.xsom.XSParticle elementParticle)
<T> MutablePrismPropertyDefinition<T>
createPropertyDefinition(QName elementName, QName typeName, ComplexTypeDefinition complexTypeDefinition, PrismContext prismContext, com.sun.xml.xsom.XSAnnotation annotation, com.sun.xml.xsom.XSParticle elementParticle, Collection<? extends DisplayableValue<T>> allowedValues, T defaultValue)
void
finishComplexTypeDefinition(ComplexTypeDefinition complexTypeDefinition, com.sun.xml.xsom.XSComplexType complexType, PrismContext prismContext, com.sun.xml.xsom.XSAnnotation annotation)
-
-
-
Method Detail
-
createComplexTypeDefinition
public MutableComplexTypeDefinition createComplexTypeDefinition(com.sun.xml.xsom.XSComplexType complexType, PrismContext prismContext, com.sun.xml.xsom.XSAnnotation annotation) throws SchemaException
- Overrides:
createComplexTypeDefinition
in classcom.evolveum.midpoint.prism.impl.schema.SchemaDefinitionFactory
- Throws:
SchemaException
-
finishComplexTypeDefinition
public void finishComplexTypeDefinition(ComplexTypeDefinition complexTypeDefinition, com.sun.xml.xsom.XSComplexType complexType, PrismContext prismContext, com.sun.xml.xsom.XSAnnotation annotation) throws SchemaException
- Overrides:
finishComplexTypeDefinition
in classcom.evolveum.midpoint.prism.impl.schema.SchemaDefinitionFactory
- Throws:
SchemaException
-
addExtraComplexTypeAnnotations
public void addExtraComplexTypeAnnotations(ComplexTypeDefinition definition, Element appinfo, com.evolveum.midpoint.prism.impl.schema.SchemaToDomProcessor schemaToDomProcessor)
- Overrides:
addExtraComplexTypeAnnotations
in classcom.evolveum.midpoint.prism.impl.schema.SchemaDefinitionFactory
-
createExtraDefinitionFromComplexType
public <C extends Containerable> PrismContainerDefinition<C> createExtraDefinitionFromComplexType(com.sun.xml.xsom.XSComplexType complexType, ComplexTypeDefinition complexTypeDefinition, PrismContext prismContext, com.sun.xml.xsom.XSAnnotation annotation) throws SchemaException
- Overrides:
createExtraDefinitionFromComplexType
in classcom.evolveum.midpoint.prism.impl.schema.SchemaDefinitionFactory
- Throws:
SchemaException
-
createPropertyDefinition
public <T> PrismPropertyDefinition<T> createPropertyDefinition(QName elementName, QName typeName, ComplexTypeDefinition complexTypeDefinition, PrismContext prismContext, com.sun.xml.xsom.XSAnnotation annotation, com.sun.xml.xsom.XSParticle elementParticle) throws SchemaException
- Overrides:
createPropertyDefinition
in classcom.evolveum.midpoint.prism.impl.schema.SchemaDefinitionFactory
- Throws:
SchemaException
-
createPropertyDefinition
public <T> MutablePrismPropertyDefinition<T> createPropertyDefinition(QName elementName, QName typeName, ComplexTypeDefinition complexTypeDefinition, PrismContext prismContext, com.sun.xml.xsom.XSAnnotation annotation, com.sun.xml.xsom.XSParticle elementParticle, Collection<? extends DisplayableValue<T>> allowedValues, T defaultValue) throws SchemaException
- Overrides:
createPropertyDefinition
in classcom.evolveum.midpoint.prism.impl.schema.SchemaDefinitionFactory
- Throws:
SchemaException
-
addExtraPropertyAnnotations
public void addExtraPropertyAnnotations(PrismPropertyDefinition definition, Element appinfo, com.evolveum.midpoint.prism.impl.schema.SchemaToDomProcessor schemaToDomProcessor)
- Overrides:
addExtraPropertyAnnotations
in classcom.evolveum.midpoint.prism.impl.schema.SchemaDefinitionFactory
-
-