Exemplo n.º 1
0
 public static boolean isEncoded(Model model) {
   if (model == null) return false;
   for (Service service : model.getServices()) {
     for (Port port : service.getPorts()) {
       for (Operation operation : port.getOperations()) {
         if (operation.getUse() != null && operation.getUse().equals(SOAPUse.LITERAL))
           return false;
       }
     }
   }
   return true;
 }
Exemplo n.º 2
0
 public void visit(Service service) throws Exception {
   for (Port port : service.getPorts()) {
     port.accept(this);
   }
 }
Exemplo n.º 3
0
 public void visit(Port port) throws Exception {
   for (Operation operation : port.getOperations()) {
     operation.accept(this);
   }
 }