Class SchemaSetComposer
java.lang.Object
com.aquima.interactions.communication.impl.evaluator.composer.SchemaSetComposer
- Direct Known Subclasses:
SoapComposer
Abstract schema set composer to compose generic elements, for REST and Soap.
- Since:
- 9.0
- Author:
- Arjan Pragt
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSchemaSetComposer
(ISchemaSetDefinition schemaSet, ICommunicationEngineHandler handler, IValueFormatter valueFormatter) Construct a rest composer with a definition and a handler for custom elements. -
Method Summary
Modifier and TypeMethodDescriptionvoid
composeCustomElement
(String customSchemaElement, IParameters parameters, InferenceContext inferenceContext, IXmlElementContext parentElementContext) boolean
composeElementReference
(QualifiedName elementName, IPrimitiveValue value, InstanceContext instanceContext, IXmlElementContext parentElementContext) protected long
composeEmpty
(IElementParticleMappingDefinition elementDefinition, IXmlElementContext parentElementContext) protected long
composeEmpty
(IElementParticleMappingDefinition elementDefinition, IXmlElementContext parentElementContext, long minOccurs) boolean
composeNil
(QualifiedName elementName, long minOccurs, IXmlElementContext parentElementContext) protected long
composeTypeReference
(IXmlElementContext elementContext, ITypeReference typeReference, IPrimitiveValue value, InstanceContext context)
-
Field Details
-
schemaSet
-
-
Constructor Details
-
SchemaSetComposer
public SchemaSetComposer(ISchemaSetDefinition schemaSet, ICommunicationEngineHandler handler, IValueFormatter valueFormatter) Construct a rest composer with a definition and a handler for custom elements.- Parameters:
schemaSet
- The schema set definition, may not be null.handler
- The handler for custom elements, may not be null.valueFormatter
- The ValueFormatter to format the ISingleValue elements, may not be null
-
-
Method Details
-
composeCustomElement
public void composeCustomElement(String customSchemaElement, IParameters parameters, InferenceContext inferenceContext, IXmlElementContext parentElementContext) -
composeElementReference
public boolean composeElementReference(QualifiedName elementName, IPrimitiveValue value, InstanceContext instanceContext, IXmlElementContext parentElementContext) throws UnknownElementMappingException, UnknownTypeMappingException, MessageComposeException -
composeNil
public boolean composeNil(QualifiedName elementName, long minOccurs, IXmlElementContext parentElementContext) throws UnknownElementMappingException, UnknownTypeMappingException, MessageComposeException -
composeEmpty
protected long composeEmpty(IElementParticleMappingDefinition elementDefinition, IXmlElementContext parentElementContext, long minOccurs) throws UnknownElementMappingException, UnknownTypeMappingException, MessageComposeException -
composeEmpty
protected long composeEmpty(IElementParticleMappingDefinition elementDefinition, IXmlElementContext parentElementContext) throws UnknownElementMappingException, UnknownTypeMappingException, MessageComposeException -
composeTypeReference
protected long composeTypeReference(IXmlElementContext elementContext, ITypeReference typeReference, IPrimitiveValue value, InstanceContext context) throws UnknownTypeMappingException, UnknownElementMappingException, MessageComposeException
-