Interface Translator


  • public interface Translator
    Contract to translate an object value to an string value for XML.
    Author:
    Daniel Sagenschneider
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String translate​(java.lang.Object object)
      Translates the object value into a string for XML.
    • Method Detail

      • translate

        java.lang.String translate​(java.lang.Object object)
                            throws XmlMarshallException
        Translates the object value into a string for XML.
        Parameters:
        object - Object to be translated.
        Returns:
        String for XML.
        Throws:
        XmlMarshallException - If fails to translate object.