Code example for URI

Methods: toString

0
   private static void outputInteger(String key, Integer value) {
      System.out.println(key + " = " + ((value == null) ? "null" : value.toString()));
   } 
 
   private static void outputURI(String key, URI value) {
      System.out.println(key + " = " + ((value == null) ? "null" : value.toString()));
   } 
 
   private static void outputQName(String key, QName value) {
      System.out.println(key + " = " + ((value == null) ? "null" : value.toString()));
   } 
 
   private static void outputArrayList(String key, ArrayList<Element> list) {
      System.out.println(key + ":" + ((list == null) ? "(null)" : ""));
      if (list != null) { 
         for (Element e : list) { 
            System.out.println("   " + e.toString());
         } 
      } 
   }