Class ParserUtils


  • public class ParserUtils
    extends Object
    This class contains Utility methods to parse XML documents.
    Since:
    3.0
    Author:
    Laurent Jourdren
    • Method Detail

      • nullToUnknownSource

        public static String nullToUnknownSource​(String s)
        Return an unknown source string if the argument is null.
        Parameters:
        s - string argument
        Returns:
        the original string if null or an unknown message string