1 55 package org.jboss.axis.wsdl.symbolTable; 56 57 import java.util.Map ; 58 import java.util.Vector ; 59 60 63 public class Parameters 64 { 65 66 public Vector list = new Vector (); 68 69 public Parameter returnParam = null; 71 72 public Map faults = null; 74 75 public String signature = null; 77 78 public int inputs = 0; 80 public int inouts = 0; 81 public int outputs = 0; 82 83 public Parameter getParameterByName(String name) 84 { 85 for (int i = 0; i < list.size(); i++) 86 { 87 Parameter parameter = (Parameter)list.get(i); 88 if (name.equals(parameter.getName())) 89 return parameter; 90 } 91 return null; 92 } 93 94 public String toString() 95 { 96 return "\nreturnParam = " + returnParam 97 + "\nfaults = " + faults 98 + "\nsignature = " + signature 99 + "\n(inputs, inouts, outputs) = (" + inputs + ", " + inouts + ", " + outputs + ")" 100 + "\nlist = " + list; 101 } } | Popular Tags |