Class ObjectToXmlConverterStrategy

  • All Implemented Interfaces:
    io.github.astrapi69.design.pattern.strategy.Strategy<java.lang.String,​java.lang.Object>

    public class ObjectToXmlConverterStrategy
    extends java.lang.Object
    implements io.github.astrapi69.design.pattern.strategy.Strategy<java.lang.String,​java.lang.Object>
    The class ObjectToXmlConverterStrategy provides methods for read an encrypted file and decrypt xml data.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String execute​(java.lang.Object model)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ObjectToXmlConverterStrategy

        public ObjectToXmlConverterStrategy​(io.github.astrapi69.xml.api.ObjectToXml objectToXml)
        Creates a new instance of ObjectToXmlConverterStrategy object
        Parameters:
        objectToXml - The object that converts the objects to xml String objects
    • Method Detail

      • execute

        public java.lang.String execute​(java.lang.Object model)
        Specified by:
        execute in interface io.github.astrapi69.design.pattern.strategy.Strategy<java.lang.String,​java.lang.Object>