Interface Translator


  • public interface Translator
    Contract to translate the XML string value to specific typed object.
    Author:
    Daniel Sagenschneider
    • Method Summary

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

      • translate

        java.lang.Object translate​(java.lang.String value)
                            throws XmlMarshallException
        Translates the XML string value to specific typed object.
        Parameters:
        value - XML string value.
        Returns:
        Specific type object translated from the input XML string value.
        Throws:
        XmlMarshallException - Should there be a failure to translate the value.