public class DSSParseTransformer extends java.lang.Object implements IParseTransformer
Method that parses the XML response from the DSS web wervices of @Firma.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
| Constructor and Description |
|---|
DSSParseTransformer(java.lang.String req,
java.lang.String methodParam,
java.lang.String msgVersion)
Constructor method for the class DSSParseTransformer.java.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessageVersion()
Method that obtains the version of the message used to configure the parser.
|
java.lang.String |
getMethod()
Method that obtains the name of the method of the web service used to configure the parser.
|
java.lang.String |
getRequest()
Method that obtains the name of the service used to configure the parser.
|
java.lang.Object |
transform(java.lang.String xmlResponse)
Method that transforms the response to a java object.
|
public DSSParseTransformer(java.lang.String req,
java.lang.String methodParam,
java.lang.String msgVersion)
req - Parameter that represents the request.methodParam - Parameter that represents method name.msgVersion - Parameter that represents the version of the message.public final java.lang.String getRequest()
getRequest in interface IParseTransformerIParseTransformer.getRequest()public final java.lang.String getMessageVersion()
getMessageVersion in interface IParseTransformerIParseTransformer.getMessageVersion()public final java.lang.Object transform(java.lang.String xmlResponse)
throws TransformersException
transform in interface IParseTransformerxmlResponse - Parameter that represents the XML response.TransformersException - If the method fails.IParseTransformer.transform(java.lang.String)public final java.lang.String getMethod()
getMethod in interface IParseTransformerIParseTransformer.getMethod()