Class XmlRestMessageDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.communication.ds.xml.parsing.XmlRestMessageDS
- All Implemented Interfaces:
IRestMessageDS
,IReportingDS
- Direct Known Subclasses:
XmlRestRequestMessageDS
Xml datasource implementation.
- Since:
- 9.0
- Author:
- Arjan Pragt
-
Field Summary
Fields inherited from interface com.aquima.interactions.communication.ds.IRestMessageDS
CATEGORY
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
XmlRestMessageDS
(IInitializationReport report, IXmlNode node) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the attribute storing the xmlelement using as body, may be null.This methods returns the qualified name of the element using as body of the message, may be null.This method returns the name of the domain schema.This method returns the entity connected to the message.void
This method iterates about the validations of the body attribute.void
iterateHeaders
(IRestHeaderVisitor visitor) This method iterates about the headers of the message.Methods inherited from class com.aquima.interactions.foundation.report.ReportingDS
addError, addMessage, getCategory, getReport
-
Constructor Details
-
XmlRestMessageDS
-
-
Method Details
-
getEntityName
Description copied from interface:IRestMessageDS
This method returns the entity connected to the message.- Specified by:
getEntityName
in interfaceIRestMessageDS
- Returns:
- The name of the entity connected to the message, may be null
-
getBodyElement
Description copied from interface:IRestMessageDS
This methods returns the qualified name of the element using as body of the message, may be null. Must be null when using domain schemas.- Specified by:
getBodyElement
in interfaceIRestMessageDS
- Returns:
- The qualified name of the xml element.
-
getBodySchema
Description copied from interface:IRestMessageDS
This method returns the name of the domain schema. Must be null when using schemasets.- Specified by:
getBodySchema
in interfaceIRestMessageDS
- Returns:
- The name of the domain schema, or null in case of no body.
-
getBodyAttributeName
Description copied from interface:IRestMessageDS
This method returns the attribute storing the xmlelement using as body, may be null.- Specified by:
getBodyAttributeName
in interfaceIRestMessageDS
- Returns:
- The name of the attribute storing the xmlelement.
-
iterateHeaders
Description copied from interface:IRestMessageDS
This method iterates about the headers of the message.- Specified by:
iterateHeaders
in interfaceIRestMessageDS
- Parameters:
visitor
- The visitor accepting the headers.- Throws:
InitializationException
- This exception is thrown when the validation could not be initialized with the provided data source.
-
iterateBodyValidations
Description copied from interface:IRestMessageDS
This method iterates about the validations of the body attribute.- Specified by:
iterateBodyValidations
in interfaceIRestMessageDS
- Parameters:
visitor
- The visitor accepting the validations.- Throws:
InitializationException
- This exception is thrown when the validation could not be initialized with the provided data source.
-